diff options
Diffstat (limited to 'testing/web-platform/tests/workers/semantics/multiple-workers/008-1.html')
-rw-r--r-- | testing/web-platform/tests/workers/semantics/multiple-workers/008-1.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/web-platform/tests/workers/semantics/multiple-workers/008-1.html b/testing/web-platform/tests/workers/semantics/multiple-workers/008-1.html new file mode 100644 index 0000000000..d19d7fa336 --- /dev/null +++ b/testing/web-platform/tests/workers/semantics/multiple-workers/008-1.html @@ -0,0 +1,8 @@ +<!doctype html> +<title>008-1</title> +<script> +var w1 = new SharedWorker('008.js'); +w1.port.onmessage = function(e) { + e.ports[0].postMessage(2); +} +</script>
\ No newline at end of file |