[Webkit-unassigned] [Bug 159066] New: sourceMappingURL tries to load relative to document instead of script (Safari 10 / macOS 10.12)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 23 12:08:01 PDT 2016


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

            Bug ID: 159066
           Summary: sourceMappingURL tries to load relative to document
                    instead of script (Safari 10 / macOS 10.12)
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: Macintosh
                OS: Other
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: eelco at motif.co
                CC: bburg at apple.com, joepeck at webkit.org,
                    mattbaker at apple.com, nvasilyev at apple.com,
                    timothy at apple.com, webkit-bug-importer at group.apple.com

Created attachment 281925
  --> https://bugs.webkit.org/attachment.cgi?id=281925&action=review
Example to reproduce the bug

Safari 10 / WebKit on macOS 10.12 tries to load the source map from an incorrect location.

To reproduce:
- Unzip the attachment.
- Host it by executing 'python -m SimpleHTTPServer 1234'
- Go to http://0.0.0.0:1234
- Open the Web Inspector Console (option-cmd-C)
- Look at the errors

Observed:
- A 404 error caused by the Inspector trying to load the source map from /script.js.map (should be /scripts/script.js.map)

Expected:
- No errors (only from trying to load favicon.ico, maybe)

Notes:
This only happens with Safari 10 / macOS 10.12. Because those are not listed in Version / OS, I selected ‘Other’. I also tested with Safari 9 and STP on OS X 10.11.

-- 
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/20160623/0eb551ee/attachment.html>


More information about the webkit-unassigned mailing list