5 if (window.layoutTestController)
6 layoutTestController.dumpAsText();
9 document.designMode="on";
11 window.getSelection().setPosition(document, 0);
13 document.execCommand("InsertImage");
15 document.writeln('This test ensures WebKit does not crash when executing InsertImage with selection endpoints are the document node.<br><br>PASS');
19 <body onload="runTest()"></body>