diff options
Diffstat (limited to 'testing/web-platform/tests/workers/semantics/run-a-worker/002.js')
-rw-r--r-- | testing/web-platform/tests/workers/semantics/run-a-worker/002.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/web-platform/tests/workers/semantics/run-a-worker/002.js b/testing/web-platform/tests/workers/semantics/run-a-worker/002.js new file mode 100644 index 0000000000..627272aaef --- /dev/null +++ b/testing/web-platform/tests/workers/semantics/run-a-worker/002.js @@ -0,0 +1,4 @@ +var passed = this === self; +onconnect = function(e) { + e.ports[0].postMessage(passed); +}
\ No newline at end of file |