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

@jrburke's example (https://github.com/slightlyoff/ServiceWorker/issues/678#issuecomment-92992257) is exactly what I was thinking.

Sure, without `waitUntil`, the ServiceWorker may get killed and take the (Shared)Worker down with it if it's now out of refs, but that seems fine.

Of course, even with `waitUntil` the browser reserves the right to kill the SW if it suspects foul play, such as using push/sync to be performing bitcoin mining or the like.

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

Received on Wednesday, 22 April 2015 13:35:17 UTC