Service Worker: Do not resurrect uninstalled workers.

Registering a service worker now creates a new instance regardless of whether there is already one running. Previously, service workers were resurrected when they were updated or when the same script was registered while the service worker was alive. This change is intended to remove the confusion caused by a service worker becoming active again with no corresponding activate event.

Documentation

Specification

Editor's draft

Status in Chromium

Blink>ServiceWorker


In development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Shipped
  • No public signals
  • Shipped
  • No signals

Owners

Last updated on 2019-10-22