| 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 there are more than one Sec-
WebSocket-Protocol header field in the response."); | 10 description("Test that WebSocket handshake fails if there are more than one Sec-
WebSocket-Protocol header field in the response."); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 { | 39 { |
| 40 debug("Timed out in state: " + ws.readyState); | 40 debug("Timed out in state: " + ws.readyState); |
| 41 endTest(); | 41 endTest(); |
| 42 } | 42 } |
| 43 | 43 |
| 44 var timeoutID = setTimeout(timeOutCallback, 3000); | 44 var timeoutID = setTimeout(timeOutCallback, 3000); |
| 45 | 45 |
| 46 </script> | 46 </script> |
| 47 </body> | 47 </body> |
| 48 </html> | 48 </html> |
| OLD | NEW |