1 2 3 4 5
addEventListener("connect", function (e) { var port = e.ports[0]; port.start(); port.postMessage(isSecureContext); });