Closed Bug 1179244 Opened 9 years ago Closed 5 years ago

Dispatch events for promises with unhandled rejections

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 1362272

People

(Reporter: annevk, Assigned: till)

References

()

Details

Specification is being implemented by Chrome and seems reasonable. Will hopefully be integrated into ECMAScript and HTML in due course.
Looks like I'll do this in bug 911216.
Assignee: nobody → till
Depends on: 911216
Chrome shipped "unhandledrejection" event support some time ago (v49 I think). Firefox currently does not allow consumers to catch such error (it only appears under dev tools) unless they toggle a config flag. 
Is there any reason why the event is not yet enabled by default?
Priority: -- → P3
This is very helpful in tandem with a error event, so in case of a bug, we can have a way of informing the user something went wrong in a user-friendly UI.

Without this, we risk bugs with no UI inform to the user, while some parts of the feature of the page turn dump and disfunctional caused by the unhandled exception, which confuses the user.
Component: DOM → DOM: Core & HTML
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.