Re: [w3c/ServiceWorker] consider exposing self.clients on window and other worker globals (#955)

> In regards to this item, perhaps we could make the message event fire at navigator.serviceWorker.onmessage first and then bubble to navigator.clients.onmessage. This would make the new clients.onmessage consistently useful while still allowing back-compat with the serviceWorker.onmessage.

A better solution is to fire two separate events `navigator.serviceWorker.onmessage` and `navigator.clients.onmessage`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/955#issuecomment-285187583

Received on Wednesday, 8 March 2017 22:17:09 UTC