Re: [ServiceWorker] ServiceWorkerClient to Client (#588)

For `openWindow` there are cases where the window may indeed open but the resulting window is not controlled - e.g. the initial URL passes all the validation checks but there's a server side redirect or some other reason that the SW making the call doesn't end up controlling it. When I prototyped the code I had those result in rejection as well.

It wasn't clear we wanted to do more there (e.g. try and abort the navigation once we realize it's not going to be controlled, etc). I erred on the side of thinking of it as just a `window.open()` call without the window; if the result ends up controlled, that's awesome!

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

Received on Thursday, 15 January 2015 17:53:43 UTC