JS Test Harness: Remove more link tags
[WebKit-https.git] / LayoutTests / http / tests / websocket / tests / hixie76 / frame-length-overflow.html
1 <html>
2 <head>
3 <script src="../../../../js-test-resources/js-test-pre.js"></script>
4 </head>
5 <body>
6 <div id="description"></div>
7 <div id="console"></div>
8 <script>
9 description("Make sure WebSocket does not crash and report error when it sees length overflow");
10
11 window.jsTestIsAsync = true;
12
13 var ws = new WebSocket("ws://127.0.0.1:8880/websocket/tests/hixie76/frame-length-overflow");
14 ws.onopen = function () {
15     debug("WebSocket is open");
16 };
17 ws.onmessage = function (evt) {
18     debug("WebSocket received:" + evt.data);
19 };
20 ws.onerror = function () {
21     debug("WebSocket received error frame");
22 };
23 ws.onclose = function () {
24     debug("WebSocket is closed");
25     finishJSTest();
26 };
27
28 var successfullyParsed = true;
29 </script>
30 <script src="../../../../js-test-resources/js-test-post.js"></script>
31 </body>
32 </html>