[Webkit-unassigned] [Bug 115561] New: Web Inspector: WK1 implementation of InspectorFrontendHost.save() triggers script error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 3 11:39:17 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=115561

           Summary: Web Inspector: WK1 implementation of
                    InspectorFrontendHost.save() triggers script error
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.8
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: burg at cs.washington.edu
                CC: timothy at apple.com, joepeck at webkit.org,
                    graouts at apple.com


Running from Mac MiniBrowser's inspector console:

InspectorFrontendHost.save("file:///~/Desktop/foo.txt", "test", true)

will cause the following error:

TypeError: 'undefined' is not a function (evaluating 'InspectorFrontendAPI.savedURL("file://localhost/Users/burg/Desktop/foo.txt ")')

This is called from WebInspectorFrontendClient::save (in WebCoreSupport/WebInspectorClient.mm). It was introduced in https://bugs.webkit.org/show_bug.cgi?id=105547.

It seems like the InspectorFrontendAPI.savedURL function is not being exposed to script, or the savedURL callback is being executed in the wrong script context.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list