summaryrefslogtreecommitdiffstats
path: root/dom/broadcastchannel/tests/broadcastchannel_worker_any.js
blob: da8625c4d8e9eff8cec964c3e0d065dfddab01f0 (plain)
1
2
3
4
5
(new BroadcastChannel('foobar')).onmessage = function(event) {
  event.target.postMessage(event.data);
}

postMessage("READY");