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

postMessage("READY");