| 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-pre.js"></script> | 4 <script src="/js-test-resources/js-test-pre.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("Make sure handshake with URL with query components success."); | 10 description("Make sure handshake with URL with query components success."); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 debug("received:" + path); | 35 debug("received:" + path); |
| 36 ws.close(); | 36 ws.close(); |
| 37 }; | 37 }; |
| 38 ws.onclose = function () { | 38 ws.onclose = function () { |
| 39 debug("WebSocket is closed"); | 39 debug("WebSocket is closed"); |
| 40 endTest(); | 40 endTest(); |
| 41 }; | 41 }; |
| 42 var timeoutID = setTimeout("endTest()", 2000); | 42 var timeoutID = setTimeout("endTest()", 2000); |
| 43 | 43 |
| 44 </script> | 44 </script> |
| 45 <script src="/js-test-resources/js-test-post.js"></script> | |
| 46 </body> | 45 </body> |
| 47 </html> | 46 </html> |
| OLD | NEW |