Bug 1686495 [wpt PR 27132] - Add tests for proposed WebDriver Shadow DOM support...
[gecko.git] / editor / libeditor / crashtests / 1474978.html
blobc7009f59705d3e7b7994b6aee72b684178a423ee
1 <script>
2 function go() {
3 document.getSelection().setPosition(b);
4 a.addEventListener("DOMNodeInserted", eh);
5 document.execCommand("insertImage", false, "#");
7 function eh() {
8 document.execCommand("selectAll", false);
9 document.execCommand("insertText", false, "");
11 </script>
12 <body onload=go()>
13 <dd id="a" contenteditable="true">
14 <template id="b"></template>