1 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 if (window
.testRunner
) {
5 testRunner
.waitUntilDone();
6 testRunner
.dumpAsText();
10 document
.designMode
= "on";
11 var textNode
= document
.body
.appendChild(document
.createTextNode("PASS. WebKit didn't crash."));
12 var range
= document
.createRange();
13 range
.setStart(textNode
, 0);
14 document
.addEventListener("DOMNodeInserted", function () {
16 document
.body
.removeChild(textNode
);
19 if (window
.testRunner
) {
20 GCController
.collect();
21 setTimeout("testRunner.notifyDone()", 0);
25 range
.insertNode(document
.createTextNode(""));
29 window
.onload
= crash
;