| 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 type="text/javascript"> | 9 <script type="text/javascript"> |
| 10 description("WebSocket test to check if opening handshake contains User-Agent he
ader"); | 10 description("WebSocket test to check if opening handshake contains User-Agent he
ader"); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 { | 31 { |
| 32 testFailed("Timed out in state: " + ws.readyState); | 32 testFailed("Timed out in state: " + ws.readyState); |
| 33 endTest(); | 33 endTest(); |
| 34 } | 34 } |
| 35 | 35 |
| 36 var timeoutID = setTimeout(timeOutCallback, 3000); | 36 var timeoutID = setTimeout(timeOutCallback, 3000); |
| 37 | 37 |
| 38 </script> | 38 </script> |
| 39 </body> | 39 </body> |
| 40 </html> | 40 </html> |
| OLD | NEW |