5 if (!window
.testRunner
)
6 document
.write("This test requires GCController.");
8 testRunner
.dumpAsText();
9 testRunner
.waitUntilDone();
15 document
.write('PASS');
17 GCController
.collect();
18 setTimeout("testRunner.notifyDone()", 0);
21 setTimeout(function () {
22 document
.write("<title>");
23 document
.title
= "First Child";
24 document
.getElementsByTagName('title')[0].appendChild(document
.createTextNode("Second Child"));
26 document
.addEventListener('DOMNodeRemovedFromDocument', function () { crash(); }, true);
27 document
.title
= "New title";