blob: 13b02d7f1175995c0123bfaea79c34394caad8a9 [file] [log] [blame]
onmessage = () => {
var protocol = location.protocol.replace('http', 'ws');
var url = protocol + '//' + location.host + '/echo-with-no-extension';
var ws = new WebSocket(url);
ws.onopen = () => postMessage('PASS');
ws.onclose = () => postMessage('FAIL');
}