blob: eea07f56427e5771fb5087925e66683e7401a30e [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Crash on "createLink" execCommand with plaintext-only</title>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body contentEditable>&nbsp;
<div contentEditable="plaintext-only">PASS if the browser did not crash.</div>
<script>
document.execCommand("selectAll");
document.execCommand("createLink", false, ".");
</script>
</body>
</html>