Bug 218275 - Web Inspector: error line number missing when code is a module, making debugging difficult
Summary: Web Inspector: error line number missing when code is a module, making debugg...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Safari 14
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-10-28 00:41 PDT by Andreas
Modified: 2020-10-28 10:50 PDT (History)
5 users (show)

See Also:


Attachments
Test which demonstrates the error (504 bytes, text/html)
2020-10-28 00:41 PDT, Andreas
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas 2020-10-28 00:41:20 PDT
Created attachment 412510 [details]
Test which demonstrates the error

In the attached file the script tags contain the same syntax error. 
Both errors appear in the console but only one shows the correct line number. 
This is happens for a vast series of errors and in many situations, making it difficult to debug code in ES6 (and also promises).
Comment 1 Radar WebKit Bug Importer 2020-10-28 10:50:05 PDT
<rdar://problem/70770767>