Contact emails
m...@chromium.org, jsb...@chromium.org
Spec
https://html.spec.whatwg.org/multipage/comms.html#broadcasting-to-other-browsing-contexts
Summary
BroadcastChannel allows scripts from the same origin but other browsing contexts to send each other messages. Channels are scoped to an origin and have a name, messages posted to a channel will be delivered to all listeners of that channel in all documents.
SharedWorker and/or ServiceWorker allow same-origin messaging but with extra process/thread overhead and script plumbing.
Link to “Intent to Implement” blink-dev discussion
https://groups.google.com/a/chromium.org/d/msg/blink-dev/4LkI_rniKtI/RFRrRFpyZcQJ
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Demo link
No real demos, other than the layout tests.
Interoperability and Compatibility Risk
Firefox already shipped this API over a year in ago in 38. I found some inconsistencies between the spec and their implementation, but those were all minor and got addressed quickly. Currently firefox passes our layout tests, so I'm pretty confident about this.
Unfortunately there are still no signals from other browsers.
OWP launch tracking bug
http://crbug.com/161070 (well, not technically an OWP launch tracking bug. Happy to file another bug if that makes sense).
Entry on the feature dashboard
http://www.chromestatus.com/features/4585496197988352
LGTM.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.