Bug 213873
Summary: | Web Inspector: Source map locations in minified files are incorrect | ||
---|---|---|---|
Product: | WebKit | Reporter: | evan.exe |
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | inspector-bugzilla-changes, webkit-bug-importer, ysuzuki |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 13 | ||
Hardware: | All | ||
OS: | All | ||
URL: | https://evanw.github.io/browser-source-map-bugs/#safari |
evan.exe
Repro:
1. Visit https://evanw.github.io/browser-source-map-bugs/#safari
2. Open the browser console
Expected:
Both the unminified and minified stack traces should match. The first stack frame should be "other.ts" on line 2 and the second stack frame should be "entry.ts" on line 6.
Observed:
The unminified stack trace is correct but the minified stack trace is incorrect. In the minified stack trace, both frames are "entry.ts" on line 7.
Apologies if this bug has already been fixed in WebKit Nightly. I can't test it because WebKit Nightly isn't supported on macOS Mojave 10.14.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
evan.exe
I believe these locations to be correct because these are the locations reported by Mozilla's source map library: https://github.com/mozilla/source-map. See https://github.com/evanw/browser-source-map-bugs/blob/gh-pages/verify.js for the verification script.
Radar WebKit Bug Importer
<rdar://problem/65058326>
Yusuke Suzuki
Thanks! Yeah, this is fixed in bug 235607
*** This bug has been marked as a duplicate of bug 235607 ***