Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / websocket / bad-handshake-crash.html
blobb488798622ac56a6f3fa4725549a8408c49eab30
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="/js-test-resources/js-test.js"></script>
5 </head>
6 <body>
7 <div id="description"></div>
8 <div id="console"></div>
9 <script type="text/javascript">
10 description("Make sure WebSocket doesn't crash with bad handshake message.");
12 window.jsTestIsAsync = true;
14 var ws = new WebSocket("ws://127.0.0.1:8880/bad-handshake-crash");
15 ws.onopen = function () {
16 debug("WebSocket is open");
18 ws.onclose = function () {
19 debug("WebSocket is closed");
20 finishJSTest();
23 </script>
24 </body>
25 </html>