Summary: | Web Inspector: error line number missing when code is a module, making debugging difficult | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas <andreas> | ||||
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | andreas, bburg, inspector-bugzilla-changes, keith_miller, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Safari 14 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
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).