| 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.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("Make sure WebSocket object acts as EventTarget."); | 10 description("Make sure WebSocket object acts as EventTarget."); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 shouldBe("close_event_handled", "true"); | 57 shouldBe("close_event_handled", "true"); |
| 58 | 58 |
| 59 close_event_handled = false; | 59 close_event_handled = false; |
| 60 ws.removeEventListener('close', closeListener); | 60 ws.removeEventListener('close', closeListener); |
| 61 ws.dispatchEvent(evt); | 61 ws.dispatchEvent(evt); |
| 62 shouldBe("close_event_handled", "false"); | 62 shouldBe("close_event_handled", "false"); |
| 63 | 63 |
| 64 </script> | 64 </script> |
| 65 </body> | 65 </body> |
| 66 </html> | 66 </html> |
| OLD | NEW |