WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 157650
159066
sourceMappingURL tries to load relative to document instead of script (Safari 10 / macOS 10.12)
https://bugs.webkit.org/show_bug.cgi?id=159066
Summary
sourceMappingURL tries to load relative to document instead of script (Safari...
eelco
Reported
2016-06-23 12:08:01 PDT
Created
attachment 281925
[details]
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.
Attachments
Example to reproduce the bug
(6.17 KB, application/zip)
2016-06-23 12:08 PDT
,
eelco
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-06-23 12:08:28 PDT
<
rdar://problem/26979237
>
Joseph Pecoraro
Comment 2
2016-06-23 13:01:39 PDT
This is behaving as expected in the latest Safari Technology Preview and trunk (
r202384
) for me.
Joseph Pecoraro
Comment 3
2016-06-23 13:02:25 PDT
I believe this is a duplicate of:
bug 157650
02c2fe3 REGRESSION: Web Inspector: Fails to load sourceMappingURL with relative URL
https://bugs.webkit.org/show_bug.cgi?id=157650
<
rdar://problem/26133763
> Which indeed missed the cutoff for the first macOS Seed. *** This bug has been marked as a duplicate of
bug 157650
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug