[Webkit-unassigned] [Bug 150358] Support for promise rejection events (unhandledrejection)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 28 11:11:56 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=150358
--- Comment #6 from Joseph Pecoraro <joepeck at webkit.org> ---
Created attachment 295505
--> https://bugs.webkit.org/attachment.cgi?id=295505&action=review
[PATCH] Work in Progress
I haven't written tests or updated LayoutTests, but this was a preliminary attempt that looked good in my most basic tests. A few things that need to be handled:
- PromiseRejectionEvent
- when constructed with a value for "promise" that is not an instance of a Promise we should wrap it in a Promise (Blink does this)
- new PromiseRejectionEvent("event-name", {promise:1}) => should be as if {promise: Promise.resolve(1)}
- Layout Tests
- update existing
- write new tests covering the Event and event handlers
- Web Inspector support (probably a follow-up bug)
- pause on unhandled rejection
- if log errors for unhandled rejections then later suppress these errors when the promise does get handled ("revoke")
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161128/90134a16/attachment-0001.html>
More information about the webkit-unassigned
mailing list