OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="/js-test-resources/js-test.js"></script> | 4 <script src="/js-test-resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <div id="description"></div> | 7 <div id="description"></div> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <script> | 9 <script> |
10 description("Test that WebSocket handshake fails if Connection header field isn'
t reflected by the server."); | 10 description("Test that WebSocket handshake fails if Connection header field isn'
t reflected by the server."); |
(...skipping 29 matching lines...) Expand all Loading... |
40 { | 40 { |
41 debug("Timed out in state: " + ws.readyState); | 41 debug("Timed out in state: " + ws.readyState); |
42 endTest(); | 42 endTest(); |
43 } | 43 } |
44 | 44 |
45 var timeoutID = setTimeout(timeOutCallback, 3000); | 45 var timeoutID = setTimeout(timeOutCallback, 3000); |
46 | 46 |
47 </script> | 47 </script> |
48 </body> | 48 </body> |
49 </html> | 49 </html> |
OLD | NEW |