summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/chromeWorker_worker_submod.sys.mjs
blob: c2fc29175c04e007ca0053d9d682747c6379d5e5 (plain)
1
2
3
4
5
6
7
8
9
onmessage = function (event) {
  let worker = new ChromeWorker("chromeWorker_subworker.js");
  worker.onmessage = function (msg) {
    postMessage(msg.data);
  };
  worker.postMessage(event.data);
};

export default "go away linter";