Clear-Site-Data: "storage" has used Service Workers' unregister() as
Service Workers' had no external algorithm that allows immediate purging
of the service worker registrations. This change calls into Purging
Service Worker Reigstration algorithm defined in Service Workers with
the origin and intention to unclaim the controlled clients when
"storage" directive is specified.
@mikewest, I'm working on a change - the sited PR - to expose an algorithm that purge service worker registrations immediately. Please take a look at this change and the Service Workers PR.
Clear-Site-Data: "storage" has used Service Workers' unregister() as Service Workers' had no external algorithm that allows immediate purging of the service worker registrations. This change calls into Purging Service Worker Reigstration algorithm defined in Service Workers with the origin and intention to unclaim the controlled clients when "storage" directive is specified.
Issue: https://github.com/w3c/webappsec-clear-site-data/issues/54. Service Workers issue: https://github.com/w3c/ServiceWorker/issues/614. Service Workers PR: https://github.com/w3c/ServiceWorker/pull/1506.
Preview | Diff