OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
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('Connection should fail immediately, rather than succeeding or stayi
ng in limbo until timeout, if a null byte is received before the handshake.'); | 10 description('Connection should fail immediately, rather than succeeding or stayi
ng in limbo until timeout, if a null byte is received before the handshake.'); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 debug('Timed out (state = ' + ws.readyState + ')'); | 49 debug('Timed out (state = ' + ws.readyState + ')'); |
50 timedOut = true; | 50 timedOut = true; |
51 endTest(); | 51 endTest(); |
52 } | 52 } |
53 | 53 |
54 var timeoutID = setTimeout(timeoutCallback, 3000); | 54 var timeoutID = setTimeout(timeoutCallback, 3000); |
55 | 55 |
56 </script> | 56 </script> |
57 </body> | 57 </body> |
58 </html> | 58 </html> |
OLD | NEW |