| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 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> | 9 <script> |
| 10 description("Test whether WebSocket handles zero length text frame correctly."); | 10 description("Test whether WebSocket handles zero length text frame correctly."); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 { | 38 { |
| 39 debug("onclose() was called."); | 39 debug("onclose() was called."); |
| 40 closeEvent = event; | 40 closeEvent = event; |
| 41 shouldBeTrue("closeEvent.wasClean"); | 41 shouldBeTrue("closeEvent.wasClean"); |
| 42 shouldBe("sequence", "4"); | 42 shouldBe("sequence", "4"); |
| 43 shouldBe("receivedText", "expectedText"); | 43 shouldBe("receivedText", "expectedText"); |
| 44 finishJSTest(); | 44 finishJSTest(); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 </script> | 47 </script> |
| 48 <script src="/js-test-resources/js-test-post.js"></script> | |
| 49 </body> | 48 </body> |
| 50 </html> | 49 </html> |
| OLD | NEW |