Re: [ServiceWorker] Add name param to Clients.openWindow() method (#711)

We would like to use a window as a way of calling WebApis that cannot run on workers, let's call it WindowWorker.
The sw could be in charge of opening this WindowWorker, if necessary that could be share across different documents (windows) related to the same web app.

A simple way of getting a reference to this WindowWorker could be something like:
`var handler = window.open('', 'window_worker');`

And from there we could `postMessage` or anything else.

This also makes `openWindow` closer to `window.open` as we could interact with windows opened via SW.

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

Received on Thursday, 18 June 2015 14:06:18 UTC