summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/workers/non-automated/infinite-nested.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/workers/non-automated/infinite-nested.js')
-rw-r--r--testing/web-platform/tests/workers/non-automated/infinite-nested.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/web-platform/tests/workers/non-automated/infinite-nested.js b/testing/web-platform/tests/workers/non-automated/infinite-nested.js
new file mode 100644
index 0000000000..137dd0a2e2
--- /dev/null
+++ b/testing/web-platform/tests/workers/non-automated/infinite-nested.js
@@ -0,0 +1,5 @@
+postMessage(1);
+var w = new Worker('infinite-nested.js');
+w.onmessage = function(e) {
+ postMessage(e.data);
+} \ No newline at end of file