6 testRunner
.dumpAsText();
8 var oSelection
= window
.getSelection();
9 var de
= document
.documentElement
;
10 document
.removeChild(document
.documentElement
);
11 oSelection
.modify("move","backward","documentboundary");
13 var html
= document
.createElement('html');
14 var body
= document
.createElement('body');
15 body
.innerHTML
="<p>Test for bug <a href=\"https://bugs.webkit.org/show_bug.cgi?id=63908\">https://bugs.webkit.org/show_bug.cgi?id=63908</a></p><p>This test shouldn\'t crash</p>";
16 html
.appendChild(body
);
17 document
.appendChild(html
);