The Window.onrejectionhandled
property is an event handler for processing rejectionhandled
events, which are raised when Promise
s are rejected.
window.addEventListener("rejectionhandled", function(event) { ... }); window.onrejectionhandled = function(event) { ...};
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of 'onrejectionhandled' in that specification. | Living Standard | Initial definition. |
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 49 | ? | ? | ? | ? |
Feature | Android | Android Webview | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|---|
Basic support | No support | No support | ? | ? | ? | ? | ? | No support |
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onrejectionhandled