2 <title>Testing HSTS with WebSockets
</title>
4 var ws_url
= window
.location
.hash
.substring(1);
5 var ws
= new WebSocket(ws_url
);
9 // The fact that the WebSocket connect opened successfully means that SSL was
11 document
.title
= 'PASS';
14 ws
.onclose = function(evt
)
17 document
.title
= 'FAIL';