summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/bug998474_worker.js
blob: a14ed281052d5109e255c49e086f10fd6d62d70c (plain)
1
2
3
4
5
6
self.addEventListener("connect", function(e) {
  var port = e.ports[0];
  port.onmessage = function(e) {
    port.postMessage(eval(e.data));
  };
});