tenfourfox/dom/broadcastchannel/tests/broadcastchannel_worker_any.js
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

6 lines
128 B
JavaScript

(new BroadcastChannel('foobar')).onmessage = function(event) {
event.target.postMessage(event.data);
}
postMessage("READY");