- From: Marijn Kruisselbrink <notifications@github.com>
- Date: Mon, 12 Dec 2016 09:43:40 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Monday, 12 December 2016 17:44:15 UTC
> What protections will we have to prevent a SW from keeping itself alive infinitely via fetch events if it can generate its own fetch event? We must provide some keep-alive budget so that work can be done, but we don't want this to be a way to persist the SW in memory for long periods. Probably the same thing we do to prevent a SW from keeping itself alive indefinitely via message events (w3c/ServiceWorker#980)? What chrome currently implements is to limit the timeout of events that are triggered by a service worker to the remaining timeout of whatever event the worker was processing when triggering the new event. Note that if we allow service workers to start shared/dedicated workers, we'd need to apply the same logic to fetch events triggered by those workers. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/303#issuecomment-266498836
Received on Monday, 12 December 2016 17:44:15 UTC