Re: [w3c/ServiceWorker] consider allowing multiple worker thread instances for a single registration (#756)

For what it's worth, one of [the more prominent guides to the Push API](https://developer.mozilla.org/en-US/docs/Web/API/Push_API/Using_the_Push_API) depends on [global state being maintained in a service worker](https://github.com/chrisdavidmills/push-api-demo/blob/gh-pages/sw.js) (i.e. a `MessagePort`).

But that's probably bad already even without concurrency, right, since user agents can already shut a SW down at any time it doesn't have events to keep it alive?

-- 
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/756#issuecomment-269813888

Received on Friday, 30 December 2016 19:46:14 UTC