6 testRunner
.dumpAsText();
9 selection
= window
.getSelection();
10 range
= document
.createRange();
11 selection
.addRange(range
);
13 document
.designMode
= "on";
14 document
.execCommand("InsertText", false, 'x');
16 document
.execCommand("Undo");
18 selection
.deleteFromDocument();
20 document
.write('This calling deleteFromDocument after document.open. WebKit should not crash.<br>');
21 document
.write('PASS<br>');