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

@tresdin 

> IMHO, we should consider ServiceWorker as a replacement for SharedWorker instead of creating some more complex approaches.

If you're using SharedWorker to maintain a single websocket connection for multiple tabs, ServiceWorker is not a good replacement. ServiceWorker should be allowed to close when it isn't handling events, and the websocket use-case requires persistence.

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

Received on Wednesday, 22 April 2015 13:37:32 UTC