blob: ec36da337ae3fb1a17fd4684c4ef82ab13203a0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<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>
|