Service Worker: Do not resurrect uninstalled workers.

Previously, service workers were resurrected when they were updated or when the same script was registered while the service worker was still alive. Now, registering a service worker will always create a new instance, regardless whether there already is a running instance or not. This spec change was intended to address the confusion that a service worker could become 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-08