Closed Bug 1269371 Opened 9 years ago Closed 6 years ago

Promise rejection tracking events

Categories

(Core :: DOM: Core & HTML, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1362272

People

(Reporter: jryans, Unassigned)

References

()

Details

(Whiteboard: btpp-fixlater)

We should implement the events for tracking promise rejections, "unhandedrejection" and "rejectionhandled". Spec: https://html.spec.whatwg.org/multipage/webappapis.html#unhandled-promise-rejections Chrome has been shipping this feature since 49[1]. Mozilla has expressed support for the feature in the past[2]. [1]: https://www.chromestatus.com/features/4805872211460096 [2]: https://lists.w3.org/Archives/Public/public-whatwg-archive/2015May/0055.html
baku, are you interested in taking this (feel free to say no)?
Flags: needinfo?(amarchesini)
Whiteboard: btpp-fixlater
Yes, but I want to wait for bug 911216
Depends on: 911216
Flags: needinfo?(amarchesini)
What's the current status of this? MDN reports that this is implemented behind a pref, but setting the dom.promise_rejection_events.enabled pref to "true" has no effect for me; I still don't receive unhandledrejection events.
Priority: -- → P2
Component: DOM → DOM: Core & HTML
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.