1 <meta http-equiv=
"Content-Type" content=
"text/html;charset=utf-8" />
5 testRunner
.dumpAsText();
7 var div
= document
.createElement('div');
8 div
.contentEditable
= 'true';
9 div
.innerHTML
= "אחת ש<a id='bar'>תיים </a>שלוש";
10 document
.body
.appendChild(div
);
13 var sel
= window
.getSelection();
14 sel
.selectAllChildren(bar
);
15 var range
= sel
.getRangeAt(0);
16 range
.insertNode(document
.createElement('span'));
19 // This part can be any number of actions, e.g., clicking anywhere on the page also crashes.
20 sel
.selectAllChildren(bar
);
22 <p>This test passes if it doesn't crash.
</p>