summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/file_bug1010784_worker.js
blob: 3e88f5cc97f8e31ce893fd1a0233a792e9e25ad8 (plain)
1
2
3
4
5
6
7
8
9
onmessage = function (event) {
  var xhr = new XMLHttpRequest();

  xhr.open("GET", event.data, false);
  xhr.send();
  xhr.open("GET", event.data, false);
  xhr.send();
  postMessage("done");
};