[Webkit-unassigned] [Bug 142123] New: Web Inspector: Regression: sourceURL is broken

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 27 19:08:02 PST 2015


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

            Bug ID: 142123
           Summary: Web Inspector: Regression: sourceURL is broken
    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: nvasilyev at apple.com
                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 247582
  --> https://bugs.webkit.org/attachment.cgi?id=247582&action=review
Works in Chrome DevTools, broken in WebKit Inspector

I received a report from a person using http://gaearon.github.io/react-hot-loader/, which in turn uses Webpack, a popular module loader. All the error locations in the WebKit Inspector console were either missing or wrong.

The problems is in the broken sourceURL.


index.html:

<script src="main.js"></script>
<script>
eval("console.log('eval worked');\n\
//# sourceURL=inline.js")
</script>


main.js:
console.log("sourceURL.js loaded");
//# sourceURL=external.js

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150228/1f6f383d/attachment-0002.html>


More information about the webkit-unassigned mailing list