chromium/third_party/blink/web_tests/http/tests/websocket/bad-handshake-crash.html

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="/js-test-resources/js-test.js"></script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<script type="text/javascript">
description("Make sure WebSocket doesn't crash with bad handshake message.");

window.jsTestIsAsync = true;

var ws = new WebSocket("ws://127.0.0.1:8880/bad-handshake-crash");
ws.onopen = function () {
    debug("WebSocket is open");
};
ws.onclose = function () {
    debug("WebSocket is closed");
    finishJSTest();
};

</script>
</body>
</html>