summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/worker_bug1278777.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/workers/test/worker_bug1278777.js')
-rw-r--r--dom/workers/test/worker_bug1278777.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/dom/workers/test/worker_bug1278777.js b/dom/workers/test/worker_bug1278777.js
new file mode 100644
index 000000000..c056d0254
--- /dev/null
+++ b/dom/workers/test/worker_bug1278777.js
@@ -0,0 +1,9 @@
+var xhr = new XMLHttpRequest();
+xhr.responseType = 'blob';
+xhr.open('GET', 'worker_bug1278777.js');
+
+xhr.onload = function() {
+ postMessage(xhr.response instanceof Blob);
+}
+
+xhr.send();