summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/secure-contexts/support/shared-worker-script.js
blob: faed70a5c863fb31572f069d598caccab3a00a03 (plain)
1
2
3
4
5
addEventListener("connect", function (e) {
  var port = e.ports[0];
  port.start();
  port.postMessage(isSecureContext);
});