-
Notifications
You must be signed in to change notification settings - Fork 13
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
Friendly TAG review: Why not exposed to Service Worker #23
Comments
Current thinking on exposing lifecycle state to service worker:
|
Thanks for the comments, this reasoning resonates with me. How do you know that such sites need to update title or play sound? |
We determine if sites need to update title or play sound etc based on heuristics driven by a combination of local observation + global observation (i.e. historically did this site update title). |
in response to w3ctag/design-reviews#283 :
You told me you were going to kill this page on my document, but I probably want to hear that in my Service Worker where I have more context and access to all the tabs that are instance of my app.
The ServiceWorker manages state for the whole app, and might be a better spot for this, though you could expose it to both the service worker and the documents.
The text was updated successfully, but these errors were encountered: