[Webkit-unassigned] [Bug 146389] New: Web Inspector: reveal source from webView.evaluateJavaScript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 27 16:02:23 PDT 2015


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

            Bug ID: 146389
           Summary: Web Inspector: reveal source from
                    webView.evaluateJavaScript
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: koen at motif.co
                CC: graouts at webkit.org, joepeck at webkit.org,
                    jonowells at apple.com, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

Created attachment 255710
  --> https://bugs.webkit.org/attachment.cgi?id=255710&action=review
Image example

If you run javascript with webView.evaluateJavaScript the inspector does not know about the source.

For example, if you throw an error, it gets reported under "global code" or the html document if you run the javascript after a delay. In the latter case, if you want to reveal the source from the console it highlights the line in the html source, which is really confusing.

This also completely breaks the debugger or anything that wants to step through code, because the source code just is not available.

Example image and XCode project added.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150627/3272eb51/attachment-0001.html>


More information about the webkit-unassigned mailing list