blob: 0893ecce54950e6749d2c6bb75f66c59515fa867 [file] [log] [blame]
<!DOCTYPE html>
<html>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function crash()
{
var doc = document.implementation.createDocument(null, "test");
doc.adoptNode(object1.contentDocument.getElementsByTagName("svg")[0]);
delete doc;
if (window.GCController)
GCController.collect();
document.open();
document.write('PASS');
document.close();
if (window.testRunner)
testRunner.notifyDone();
}
function runTest()
{
setTimeout("crash()", 0);
}
</script>
<object data="resources/smil-element-target-crash.svg" id="object1" onload="runTest()"></object>
<iframe id="iframe1"></iframe>
</html>