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

So @mounirlamouri had a great use-case. A news aggregation app may wish to show a notification about breaking news, which when clicked, opens the news website with the story. This would be another origin.

For other-origin URLs we can resolve with null, rather than a client object.

I don't think there's any problem opening a window outside the scope of the SW & same origin, we can return a client object for that.

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

Received on Thursday, 15 January 2015 18:03:32 UTC