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> | 9 <script> |
10 description("WebSocket: Calling send() without arguments should raise SyntaxErro
r."); | 10 description("WebSocket: Calling send() without arguments should raise SyntaxErro
r."); |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 35 |
36 shouldEvaluateTo("receivedMessages.length", expectedMessages.length); | 36 shouldEvaluateTo("receivedMessages.length", expectedMessages.length); |
37 for (var i = 0; i < expectedMessages.length; ++i) | 37 for (var i = 0; i < expectedMessages.length; ++i) |
38 shouldBeEqualToString("receivedMessages[" + i + "]", expectedMessages[i]
); | 38 shouldBeEqualToString("receivedMessages[" + i + "]", expectedMessages[i]
); |
39 finishJSTest(); | 39 finishJSTest(); |
40 }; | 40 }; |
41 | 41 |
42 </script> | 42 </script> |
43 </body> | 43 </body> |
44 </html> | 44 </html> |
OLD | NEW |