blob: 349460b4ba0a20b2528bd8f1e6a8c6a2fd1f3267 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="connect-src ws://127.0.0.1:8880">
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body>
<pre id="console"></pre>
<script>
function log(msg)
{
document.getElementById("console").appendChild(document.createTextNode(msg + "\n"));
}
try {
var ws = new WebSocket("ws://127.0.0.1:8880/websocket/tests/hybi/echo");
log("Pass");
} catch(e) {
log("Fail");
}
</script>
</body>
</html>