blob: 387f1de8e937e70ed53d7c6f799265aa93b8cb01 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<p>This test ensures WebKit does not crash when user modifies the contents of search fields in the design mode.
WebKit should not crash and you should see PASS below:</p>
<input type="search">
<script>
if (window.testRunner)
testRunner.dumpAsText();
document.designMode = 'on';
document.getElementsByTagName('input')[0].focus();
document.execCommand('delete', false, null);
document.write('PASS');
</script>
</body>
</html>