4 <p>This tests a crashing scenario where an element with a textbox role attribute which also contenteditable has its content changed.</p>
5 <div id="textbox" role="textbox" aria-multiline="true" contenteditable="true" tabindex="0">
11 if (window.accessibilityController) {
12 testRunner.dumpAsText();
13 var textbox = document.getElementById("textbox");
15 var textboxAXElement = accessibilityController.focusedElement;
17 getSelection().setBaseAndExtent(textbox.firstChild, 0, textbox.firstChild, 0);
19 // This should not crash.
20 document.execCommand("InsertParagraph");
22 document.write("PASS");