2 <div contenteditable=
"true" id=
"sample" style=
"overflow: hidden;"></div>
5 var elem
= document
.getElementById('sample');
6 var selection
= window
.getSelection();
7 selection
.collapse(elem
, 0);
8 document
.execCommand('InsertText', false, String
.fromCharCode(0x0E1B));
9 document
.execCommand('InsertText', false, String
.fromCharCode(0x0E44));
10 if (window
.testRunner
) {
11 testRunner
.dumpAsText();
12 document
.body
.textContent
= 'PASS; NOT CRASHED';