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("Test WebSocket subprotocol negotiation."); | 10 description("Test WebSocket subprotocol negotiation."); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 function checkAfterOnClose() | 42 function checkAfterOnClose() |
43 { | 43 { |
44 debug("Exited onclose handler"); | 44 debug("Exited onclose handler"); |
45 shouldBeEqualToString("ws.protocol", "superchat"); | 45 shouldBeEqualToString("ws.protocol", "superchat"); |
46 finishJSTest(); | 46 finishJSTest(); |
47 } | 47 } |
48 | 48 |
49 </script> | 49 </script> |
50 </body> | 50 </body> |
51 </html> | 51 </html> |
OLD | NEW |