[Webkit-unassigned] [Bug 218284] New: Error event not captured when error originates in module
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 28 07:25:45 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=218284
Bug ID: 218284
Summary: Error event not captured when error originates in
module
Product: WebKit
Version: Safari 14
Hardware: Macintosh
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: andreas at ertdfgcvb.xyz
Created attachment 412527
--> https://bugs.webkit.org/attachment.cgi?id=412527&action=review
Not all errors (in module) are captured by the listener
Some syntax errors are not captured by the event listener when originated in a module.
Syntax errors inside a module in situations like:
function a() { // missing closing bracket
won’t get captured by the listener.
While other errors like:
const a = 1
a = 2
will get captured, even when generated inside the module.
This works as expected in FF and Chrome.
In the attachment a demo with 4 examples.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201028/4c9c8cdd/attachment.htm>
More information about the webkit-unassigned
mailing list