2 <p>Test that forward delete key works.
</p>
3 <div id=result
>Testing...
</div>
4 <div id=
"div" contenteditable=
"true">123456</div>
8 window
.testRunner
.dumpAsText();
10 text
= document
.getElementById("div").firstChild
;
11 window
.getSelection().setBaseAndExtent(text
, 0, text
, 1);
12 if (window
.eventSender
) {
13 eventSender
.keyDown("delete");
14 eventSender
.keyDown("delete");
15 if (text
.data
== "3456")
16 document
.getElementById("result").innerHTML
= "PASS";
18 document
.getElementById("result").innerHTML
= "FAIL: " + text
.data
;
19 document
.body
.removeChild(document
.getElementById("div"));
21 document
.getElementById("result").innerHTML
= "Please verify that forward delete works manually.";