summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/file_bug1010784_worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/workers/test/file_bug1010784_worker.js')
-rw-r--r--dom/workers/test/file_bug1010784_worker.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/dom/workers/test/file_bug1010784_worker.js b/dom/workers/test/file_bug1010784_worker.js
new file mode 100644
index 000000000..239968069
--- /dev/null
+++ b/dom/workers/test/file_bug1010784_worker.js
@@ -0,0 +1,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");
+}