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

Just had a chat with @mounirlamouri. To clarify, `.focus` and `.openWindow` should reject if they fail to complete, which would happen in cases such as:

* Window has already closed, so cannot focus
* Browser does not grant permission

When it comes to permission, it'll probably be a MAY in the spec. As in "If the call is not within the context of an interaction event, the browser MAY reject"

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

Received on Thursday, 15 January 2015 13:29:12 UTC