blob: bef7a4ffcd696c4b8921aac25a89dfab880f8d93 [file] [log] [blame]
<!DOCTYPE html>
<html>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function crash()
{
var doc = document.implementation.createDocument();
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>