blob: 3c983b274f1f5fd01096770259f5c77b14043e41 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function runTest() {
document.designMode="on";
document.open();
window.getSelection().addRange(document.createRange());
document.execCommand("Delete", false, null);
document.writeln('This test ensures WebKit does not crash when executing Delete in an empty document.<br><br>PASS');
}
</script>
</head>
<body onload="runTest()"></body>
</html>