aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/d8/d8-worker-script.txt
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/d8/d8-worker-script.txt')
-rw-r--r--deps/v8/test/mjsunit/d8/d8-worker-script.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/d8/d8-worker-script.txt b/deps/v8/test/mjsunit/d8/d8-worker-script.txt
new file mode 100644
index 0000000000..9254cea4f4
--- /dev/null
+++ b/deps/v8/test/mjsunit/d8/d8-worker-script.txt
@@ -0,0 +1,8 @@
+// Worker script used by d8-worker-script.js.
+// This file is named `.txt` to prevent it being treated as a test itself.
+
+onmessage = function(m) {
+ postMessage('DONE');
+}
+
+postMessage('Starting worker');