WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 235607
Bug 213873
Web Inspector: Source map locations in minified files are incorrect
https://bugs.webkit.org/show_bug.cgi?id=213873
Summary
Web Inspector: Source map locations in minified files are incorrect
evan.exe
Reported
2020-07-01 23:48:22 PDT
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
Comment 1
2020-07-01 23:49:32 PDT
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
Comment 2
2020-07-02 17:57:44 PDT
<
rdar://problem/65058326
>
Yusuke Suzuki
Comment 3
2022-03-24 17:34:33 PDT
Thanks! Yeah, this is fixed in
bug 235607
*** This bug has been marked as a duplicate of
bug 235607
***
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