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

@wanderview 
> I can't think of any valid use case for initiating a postMessage from the window to a service worker. Anything you can do in the service worker (Cache API, etc) you can do from the window.

Well, I have one. When I need to apply update, I send a message to SW to do `skipWaiting()`.  See this: https://github.com/NekR/offline-plugin/blob/master/tpls/runtime-template.js#L184

-- 
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-242351691

Received on Thursday, 25 August 2016 11:11:43 UTC