Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Purge Service Worker Registrations for storage #63

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jungkees
Copy link

@jungkees jungkees commented Feb 26, 2020

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