PromiseRejection

by 1 contributor:

This article is in need of a technical review.

This article is in need of an editorial review.

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.

The parameter passed into the ServiceWorkerGlobalScope.onfetch handler, FetchEvent represents 

Constructor

PromiseRejection.PromiseRejection()
TBD

Properties

Inherits properties from its ancestor, Event.

PromiseRejection.promise Read only
TBD
PromiseRejection.reason Read only
TBD

Specifications

Specification Status Comment
Unhandled Rejection Tracking Browser Events
The definition of 'PromiseRejectionEvent' in that specification.
Editor's Draft Initial definition.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 40.0 Not supported Not supported 24 Not supported
Feature Android Android Webview Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support Not supported ? Not supported Not supported Not supported ? Not supported 44.0

See also

Document Tags and Contributors

Contributors to this page: jpmedley
Last updated by: jpmedley,