OLD | NEW |
1 <html><head><script> | 1 <html><head><script> |
2 | 2 |
3 if (window.layoutTestController) | 3 if (window.layoutTestController) |
4 layoutTestController.dumpAsText(); | 4 layoutTestController.dumpAsText(); |
5 | 5 |
6 function go() { | 6 function go() { |
7 document.execCommand("selectall"); | 7 document.execCommand("selectall"); |
8 document.designMode="on"; | 8 document.designMode="on"; |
9 document.execCommand("InsertLineBreak"); | 9 document.execCommand("InsertLineBreak"); |
10 document.execCommand("insertimage"); | 10 document.execCommand("insertimage"); |
11 document.execCommand("InsertOrderedList"); | 11 document.execCommand("InsertOrderedList"); |
12 document.execCommand("inserthtml", false, "z"); | 12 document.execCommand("inserthtml", false, "z"); |
13 document.execCommand("InsertHorizontalRule"); | 13 document.execCommand("InsertHorizontalRule"); |
14 document.execCommand("selectall"); | 14 document.execCommand("selectall"); |
15 document.execCommand("createlink", false, "z"); | 15 document.execCommand("createlink", false, "z"); |
16 document.execCommand("insertunorderedlist"); | 16 document.execCommand("insertunorderedlist"); |
17 document.body.innerHTML = 'This test ensures WebKit does not crash when swit
ching the type of a list with multiple list items.<br>PASS'; | 17 document.body.innerHTML = 'This test ensures WebKit does not crash when swit
ching the type of a list with multiple list items.<br>PASS'; |
18 } | 18 } |
19 </script></head><body onload="go();"></body></html> | 19 </script></head><body onload="go();"></body></html> |
OLD | NEW |