blob: ec36da337ae3fb1a17fd4684c4ef82ab13203a0b [file] [log] [blame]
<body>
<p>Copying and pasting the text below in place should not crash.</p>
<textarea id="test" style="white-space:nowrap">line1
line2
</textarea>
<p id="results">FAILED</p>
</body>
<script src="../editing.js"></script>
<script>
function editingTest()
{
document.getElementById("test").focus();
execSelectAllCommand();
execCopyCommand();
execPasteCommand();
document.getElementById("results").innerText = "PASSED";
}
runDumpAsTextEditingTest(false);
</script>