summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webmessaging/support/MessageEvent-trusted-worker.js
blob: 6e8c3a781bfbaceee72b2daa521c99c68e94724a (plain)
1
2
3
4
"use strict";

const channel = new BroadcastChannel("channel name");
channel.postMessage("ping");