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: Object's toString method should be called only once."); | 10 description("WebSocket: Object's toString method should be called only once."); |
(...skipping 22 matching lines...) Expand all Loading... |
33 { | 33 { |
34 closeEvent = event; | 34 closeEvent = event; |
35 shouldEvaluateTo("testObj.callCounter", 1); | 35 shouldEvaluateTo("testObj.callCounter", 1); |
36 shouldBeTrue("closeEvent.wasClean"); | 36 shouldBeTrue("closeEvent.wasClean"); |
37 finishJSTest(); | 37 finishJSTest(); |
38 }; | 38 }; |
39 | 39 |
40 </script> | 40 </script> |
41 </body> | 41 </body> |
42 </html> | 42 </html> |
OLD | NEW |