| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script> | 4 <script> |
| 5 if (window.testRunner) { | 5 if (window.testRunner) { |
| 6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
| 7 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
| 8 } | 8 } |
| 9 | 9 |
| 10 function removeFrame() | 10 function removeFrame() |
| 11 { | 11 { |
| 12 document.body.removeChild(document.getElementById("frame")); | 12 document.body.removeChild(document.getElementById("frame")); |
| 13 if (testRunner) | 13 if (window.testRunner) |
| 14 setTimeout(function() { testRunner.notifyDone();}, 0); | 14 setTimeout(function() { testRunner.notifyDone();}, 0); |
| 15 } | 15 } |
| 16 </script> | 16 </script> |
| 17 </head> | 17 </head> |
| 18 <body> | 18 <body> |
| 19 Test deleting a subframe from within its readystatechange event and garb
age collecting | 19 Test deleting a subframe from within its readystatechange event and garb
age collecting |
| 20 right after removing the video element from the document. We pass if we
don't crash. | 20 right after removing the video element from the document. We pass if we
don't crash. |
| 21 <iframe id="frame" src="resources/delete-frame-during-readystatechange-f
rame-with-gc-after-video-removal.html"></iframe> | 21 <iframe id="frame" src="resources/delete-frame-during-readystatechange-f
rame-with-gc-after-video-removal.html"></iframe> |
| 22 </body> | 22 </body> |
| 23 </html> | 23 </html> |
| OLD | NEW |