Closed
Bug 1179244
Opened 10 years ago
Closed 5 years ago
Dispatch events for promises with unhandled rejections
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
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.
Assignee | ||
Comment 1•9 years ago
|
||
Looks like I'll do this in bug 911216.
Assignee: nobody → till
Depends on: 911216
Comment 2•8 years ago
|
||
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?
Updated•7 years ago
|
Priority: -- → P3
Comment 3•7 years ago
|
||
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.
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•5 years ago
|
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.
Description
•