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

> I don't disagree, but why's it better?

Is this in reference to firing two message events instead of "bubbling" the event?

This came out of talking with @smaug---- and @bzbarsky about it.  They suggested it was a safer way to spec it since it prevents an event listener on one target from blocking a listener on the other from getting it.  Firing separate message events for each target is just more predictable.

-- 
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-290591935

Received on Friday, 31 March 2017 01:38:34 UTC