| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <script> | 7 <script> |
| 8 window.jsTestIsAsync = true; | 8 window.jsTestIsAsync = true; |
| 9 description("Tests that properties passed to events are not garbage collected pr
ematurely."); | 9 description("Tests that properties passed to events are not garbage collected pr
ematurely."); |
| 10 | 10 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 addListener(evt.eventType, evt.prop); | 53 addListener(evt.eventType, evt.prop); |
| 54 document.dispatchEvent(eventToDispatch); | 54 document.dispatchEvent(eventToDispatch); |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 // This test is meaningless without testRunner. | 57 // This test is meaningless without testRunner. |
| 58 if (window.testRunner) { | 58 if (window.testRunner) { |
| 59 runNextTest(); | 59 runNextTest(); |
| 60 } | 60 } |
| 61 </script> | 61 </script> |
| 62 </body> | 62 </body> |
| 63 <script src="../js/resources/js-test-post.js"></script> | |
| 64 </html> | 63 </html> |
| OLD | NEW |