4 <p>This tests modifying the value of text node that's pointed by the selection and executing an editing command. WebKit should not crash and you should see PASS:</p>
5 <div id="test" contenteditable>hello world</div>
9 testRunner.dumpAsText();
11 var test = document.getElementById('test');
13 window.getSelection().setBaseAndExtent(test.firstChild, 1, test.firstChild, 10);
14 test.firstChild.data = 'hey';
15 document.execCommand('insertLineBreak', false, null);
17 test.innerHTML = 'PASS';