Re: [ServiceWorker] Workers & SharedWorkers within ServiceWorkers (#678)

You mean like despite an active waitUntil?  The SharedWorker can obviously spam the ServiceWorker with a heartbeat if needed, but I would hope that given the explicit triggering by the https://github.com/slightlyoff/BackgroundSync mechanism that the ServiceWorker could be blessed with a level of runtime goodwill.  (Like let's assume that there's a countdown-to-termination timer that gets bumped with events.  For BackgroundSync, it seems like it's reasonable to start with a pretty big value, or at least allow the API to make it an option.)

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/678#issuecomment-93051935

Received on Tuesday, 14 April 2015 20:38:17 UTC