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

ServiceWorker: implement lifetime management and termination #26361

Open
gterzian opened this issue Apr 30, 2020 · 0 comments
Open

ServiceWorker: implement lifetime management and termination #26361

gterzian opened this issue Apr 30, 2020 · 0 comments

Comments

@gterzian
Copy link
Member

@gterzian gterzian commented Apr 30, 2020

#26317 removes some lifetime management code(see the removal of sending the ServiceWorkerMsg::Timeout message) because it didn't fit well into that refactoring, and didn't seem to match the spec.

We should re-implement it in a way that better matches the spec, especially the concept of "terminate a worker": https://w3c.github.io/ServiceWorker/#terminate-service-worker

and also https://w3c.github.io/ServiceWorker/#service-worker-lifetime (although that leaves a lot of leeway to the UA).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.