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