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('DOMFocusOut', function () { crash(); }, true);
21 document
.addEventListener('DOMSubtreeModified', function () { /* noop */ }, false);
22 document
.designMode
= "on";
23 document
.execCommand("SelectAll");
24 document
.body
.outerText
= "ABC";