gecko/dom/workers/test/file_bug1010784_worker.js

10 lines
194 B
JavaScript

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");
}