Search completed in 1.55 seconds.
WindowEventHandlers.onrejectionhandled - Web APIs
the
onrejectionhandled property of the windoweventhandlers mixin is the eventhandler for processing rejectionhandled events.
...}); window.
onrejectionhandled = function(event) { ...}; example window.
onrejectionhandled = function(e) { console.log(e.reason); } specifications specification status comment html living standardthe definition of '
onrejectionhandled' in that specification.
Index - Web APIs
5054 window: rejectionhandled event api, event, html dom, javascript, promise, promises, reference, window, worker, events, global,
onrejectionhandled, rejectionhandled the rejectionhandled event is sent to the script's global scope (usually window but also worker) whenever a javascript promise is rejected but after the promise rejection has been handled.
... 5089 windoweventhandlers.
onrejectionhandled api, event handler, html dom, javascript, promises, property, reference, windoweventhandlers, events,
onrejectionhandled the
onrejectionhandled property of the windoweventhandlers mixin is the eventhandler for processing rejectionhandled events.
Window: rejectionhandled event - Web APIs
bubbles no cancelable no interface promiserejectionevent event handler property
onrejectionhandled example you can use the rejectionhandled event to log promises that get rejected to the console, along with the reasons why they were rejected: window.addeventlistener("rejectionhandled", event => { console.log("promise rejected; reason: " + event.reason); }, false); specifications specification status comment html living standardthe definition of 'reject...