[w3c/ServiceWorker] Define Purge Service Worker Registrations (#1506)

This change adds an algorithm, Purge Service Worker Registrations, that
immediately unregister - by calling into Clear Registration - service
worker registrations for a given origin. It takes an origin and a
boolean argument for unclaiming controlled clients. This is designed for
Clear-Site-Data's "storage" directive. job's immediate unregister flag
added in this change can be used for unregister({immediate: true}) or
alternative designs as a TODO.

Issue: https://github.com/w3c/ServiceWorker/issues/614.
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/ServiceWorker/pull/1506

-- Commit Summary --

  * Define Purge Service Worker Registrations

-- File Changes --

    M docs/index.bs (37)

-- Patch Links --

https://github.com/w3c/ServiceWorker/pull/1506.patch
https://github.com/w3c/ServiceWorker/pull/1506.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1506

Received on Wednesday, 26 February 2020 00:24:05 UTC