diff options
Diffstat (limited to '')
-rw-r--r-- | testing/web-platform/tests/webmessaging/support/MessageEvent-trusted-worker.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/web-platform/tests/webmessaging/support/MessageEvent-trusted-worker.js b/testing/web-platform/tests/webmessaging/support/MessageEvent-trusted-worker.js new file mode 100644 index 0000000000..6e8c3a781b --- /dev/null +++ b/testing/web-platform/tests/webmessaging/support/MessageEvent-trusted-worker.js @@ -0,0 +1,4 @@ +"use strict"; + +const channel = new BroadcastChannel("channel name"); +channel.postMessage("ping"); |