6 document
.getElementById("tf").setAttribute("results", 0);
7 document
.execCommand("Redo");
11 <body onload=
"test()">
12 This tests that we don't crash when redoing an editing command after the search field has been detached and reattached.
<br>
13 <input type=
"search" id=
"tf"><br>
15 if (window
.testRunner
)
16 testRunner
.dumpAsText();
18 document
.getElementById("tf").focus();
19 document
.execCommand("InsertText", false, "test");
20 document
.execCommand("Undo");