summaryrefslogtreecommitdiffstats
path: root/dom/file/tests/worker_bug1742540.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/file/tests/worker_bug1742540.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/file/tests/worker_bug1742540.js b/dom/file/tests/worker_bug1742540.js
new file mode 100644
index 0000000000..c0330ccb56
--- /dev/null
+++ b/dom/file/tests/worker_bug1742540.js
@@ -0,0 +1,5 @@
+onmessage = e => {
+ let file = e.data.file;
+ let port = e.data.port;
+ port.postMessage(e.data.message);
+};