3 <p>This tests crash when copying a text without a common ancestor block. To manually test, copy "hello" below and WebKit should not crash. On DRT, you should see PASS below.</p>
4 <span id="test" contenteditable>hello</span>
5 <script type="text/javascript">
8 window.testRunner.dumpAsText();
10 var test = document.getElementById('test');
11 document.getSelection().selectAllChildren(test);
12 document.execCommand('copy');
14 test.innerHTML = 'PASS';