blob: 260f9e93af23c352c757ec03e2b28fe5de5b2998 [file] [log] [blame]
<pre id="x"><x style="white-space: pre-wrap;"><br></x></pre>
<script>
// Adding DOCTYPE, html, or body prevents the crash to reproduce.
if (window.testRunner)
testRunner.dumpAsText();
var x = document.getElementById("x");
document.execCommand("selectall",false);
document.designMode="on";
document.execCommand("InsertImage");
document.execCommand("InsertImage");
document.execCommand("InsertImage");
document.open();
document.writeln('This test ensures WebKit does not crash.<br><br>PASS');
</script>
</body>
</html>