RESOLVED INVALID248159
An error in FinalizationRegistry's callback isn't reported properly
https://bugs.webkit.org/show_bug.cgi?id=248159
Summary An error in FinalizationRegistry's callback isn't reported properly
Alexey Shvayka
Reported 2022-11-20 16:43:34 PST
const fooError = new Error("foo"); const registry = new FinalizationRegistry(() => { throw fooError; }); window.addEventListener("error", event => { console.assert(event.error == fooError); // => fails });
Attachments
Alexey Shvayka
Comment 1 2022-11-21 12:27:19 PST
Note You need to log in before you can comment on or make changes to this bug.