Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

pushsubscriptionchange

The pushsubscriptionchange event is fired to indicate that A PushSubscription has expired.

General info

Specification
Push API
Interface
PushEvent
Bubbles
No
Cancelable
No
Target
Service worker
Default Action
None

Properties

None.

Examples

self.addEventListener('pushsubscriptionchange', function() {
  // do something, usually resubscribe to push and
  // send the new subscription details back to the
  // server via XHR or Fetch
});

push

See also

Document Tags and Contributors

Tags: 
 Contributors to this page: jrconlin, chrisdavidmills
 Last updated by: jrconlin,