[Webkit-unassigned] [Bug 248159] New: An error in FinalizationRegistry's callback isn't reported properly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Nov 20 16:43:34 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=248159
Bug ID: 248159
Summary: An error in FinalizationRegistry's callback isn't
reported properly
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Minor
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ashvayka at apple.com
const fooError = new Error("foo");
const registry = new FinalizationRegistry(() => {
throw fooError;
});
window.addEventListener("error", event => {
console.assert(event.error == fooError); // => fails
});
--
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/20221121/d14c466c/attachment.htm>
More information about the webkit-unassigned
mailing list