Re: [w3c/ServiceWorker] postMessage keeps service workers alive indefinitely (#980)

> @jakearchibald suggested to me these should have infinite lifetime as long as the client exists in order to support playing long videos, etc.

> The lifetime budget may also be dependent on the existence of a controlled client.

I think https://github.com/WICG/background-fetch#playing-a-podcast-as-its-background-fetching would solve the issue posed in https://bugs.chromium.org/p/chromium/issues/detail?id=678798. That considered, I think we better keep the hard `lifetime budget` to be in favor of battery usage and to not allow maliciously written service 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/w3c/ServiceWorker/issues/980#issuecomment-314632747

Received on Wednesday, 12 July 2017 03:15:09 UTC