[Webkit-unassigned] [Bug 134688] New: Web Inspector: clicking in console on user script error fails to jump to resource

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 7 13:00:52 PDT 2014


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

           Summary: Web Inspector: clicking in console on user script
                    error fails to jump to resource
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: graouts at webkit.org
                CC: timothy at apple.com, joepeck at webkit.org,
                    webkit-bug-importer at group.apple.com,
                    graouts at webkit.org


Created an attachment (id=234503)
 --> (https://bugs.webkit.org/attachment.cgi?id=234503&action=review)
screenshot of prompt to search App Store

I have a Cocoa app on Yosemite (14A283o) using the Modern WebKit API (WKWebView) to inject user scripts with the WKUserContentController.addUserScript() method. In the injected script source, I use a `//# sourceURL=foo.js` comment to customise the name of the resource in the Resource sidebar, which works fine.

However, when I inspect my WKWebView using Safari 8's OS X remote inspection feature, I can see errors in this user script, but the URL for the error is "user-script:1:90" instead of using the name "foo.js" and clicking on the error shows a dialog saying "There is no application set to open the URL user-script:1." offering to search the App Store for a compatible app.

-- 
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