Skip to content

Use Purge Service Worker Registrations for storage - #63

Open
jungkees wants to merge 1 commit into
w3c:mainfrom
jungkees:clear-site-data-purge-sw
Open

jungkees wants to merge 1 commit into
w3c:mainfrom
jungkees:clear-site-data-purge-sw

Conversation

@jungkees

@jungkees jungkees commented Feb 26, 2020 •

Copy link
Copy Markdown

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: #54.
Service Workers issue: w3c/ServiceWorker#614.
Service Workers PR: w3c/ServiceWorker#1506.


Preview | Diff

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: w3c#54.
Service Workers issue: w3c/ServiceWorker#614.
Service Workers PR: w3c/ServiceWorker#1506.
@jungkees

Copy link
Copy Markdown
Author

@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.

Base automatically changed from master to main February 16, 2021 23:20

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant