5 if (!window
.testRunner
)
6 document
.write("This test requires GCController.");
8 testRunner
.dumpAsText();
9 testRunner
.waitUntilDone();
13 document
.write("PASS. WebKit didn't crash.");
15 GCController
.collect();
16 setTimeout("testRunner.notifyDone()", 0);
19 setTimeout(function () {
20 document
.addEventListener('DOMNodeInsertedIntoDocument', function () { crash(); }, true);
21 document
.addEventListener('DOMSubtreeModified', function () { /* noop */ }, false);
22 document
.body
= document
.createElement('body');