| OLD | NEW | 
|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> | 
| 2 <html> | 2 <html> | 
| 3 <script> | 3 <script> | 
| 4 if (window.testRunner) { | 4 if (window.testRunner) { | 
| 5     testRunner.dumpAsText(); | 5     testRunner.dumpAsText(); | 
| 6     testRunner.waitUntilDone(); | 6     testRunner.waitUntilDone(); | 
| 7 } | 7 } | 
| 8 | 8 | 
| 9 function crash() | 9 function crash() | 
| 10 { | 10 { | 
| 11     var doc = document.implementation.createDocument(); | 11     var doc = document.implementation.createDocument("", ""); | 
| 12     doc.adoptNode(object1.contentDocument.getElementsByTagName("svg")[0]); | 12     doc.adoptNode(object1.contentDocument.getElementsByTagName("svg")[0]); | 
| 13     delete doc; | 13     delete doc; | 
| 14 | 14 | 
| 15     if (window.GCController) | 15     if (window.GCController) | 
| 16         GCController.collect(); | 16         GCController.collect(); | 
| 17 | 17 | 
| 18     document.open(); | 18     document.open(); | 
| 19     document.write('PASS'); | 19     document.write('PASS'); | 
| 20     document.close(); | 20     document.close(); | 
| 21 | 21 | 
| 22     if (window.testRunner) | 22     if (window.testRunner) | 
| 23         testRunner.notifyDone(); | 23         testRunner.notifyDone(); | 
| 24 } | 24 } | 
| 25 | 25 | 
| 26 function runTest() | 26 function runTest() | 
| 27 { | 27 { | 
| 28     setTimeout("crash()", 0); | 28     setTimeout("crash()", 0); | 
| 29 } | 29 } | 
| 30 </script> | 30 </script> | 
| 31 <object data="resources/smil-element-target-crash.svg" id="object1" onload="runT
    est()"></object> | 31 <object data="resources/smil-element-target-crash.svg" id="object1" onload="runT
    est()"></object> | 
| 32 <iframe id="iframe1"></iframe> | 32 <iframe id="iframe1"></iframe> | 
| 33 </html> | 33 </html> | 
| OLD | NEW | 
|---|