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

OpenWindow creates a new window which can be accessed through the postMessage of the resulting Client object. It would be nice to add a 'name' param, like window.openWindow in order to allow the caller to communicate with the new window of the same domain using the 'name' instead of having to send a postMessage to the service worker and to the new clientWindow. In that way, we can get a reference to the new window opened in the service worker.

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

Received on Monday, 15 June 2015 11:07:13 UTC