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 000000000..82a8a3835 --- /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.html#'); +w1.port.onmessage = function(e) { + e.ports[0].postMessage(2); +} +</script>
\ No newline at end of file |