summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/file_bug1010784_worker.js
blob: 239968069721f9fa4e298b322fbf7688b31bc89b (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");
}