summaryrefslogtreecommitdiffstats
path: root/dom/messagechannel/tests/worker_messageChannel_any.js
blob: bbb1d50f974eae2eb19ec3bed341a1fe13ebb872 (plain)
1
2
3
4
5
6
7
onmessage = function(evt) {
  evt.data.onmessage = function(event) {
    evt.data.postMessage(event.data);
  }
}

postMessage("READY");