OLD | NEW |
1 <head> | 1 <head> |
2 <script> | 2 <script> |
3 if (window.layoutTestController) | 3 if (window.layoutTestController) |
4 layoutTestController.dumpAsText(); | 4 layoutTestController.dumpAsText(); |
5 | 5 |
6 function f() { | 6 function f() { |
7 document.designMode="on"; | 7 document.designMode="on"; |
8 document.execCommand("SelectAll"); | 8 document.execCommand("SelectAll"); |
9 document.execCommand("InsertImage",false); | 9 document.execCommand("InsertImage",false); |
10 document.execCommand("InsertImage",false); | 10 document.execCommand("InsertImage",false); |
11 document.execCommand("Indent"); | 11 document.execCommand("Indent"); |
12 document.execCommand("insertunorderedlist",false); | 12 document.execCommand("insertunorderedlist",false); |
13 document.execCommand("InsertUnorderedList",false); | 13 document.execCommand("InsertUnorderedList",false); |
14 document.execCommand("Bold"); | 14 document.execCommand("Bold"); |
15 document.execCommand("InsertLineBreak"); | 15 document.execCommand("InsertLineBreak"); |
16 document.execCommand("insertunorderedlist"); | 16 document.execCommand("insertunorderedlist"); |
17 document.execCommand("insertimage",false); | 17 document.execCommand("insertimage",false); |
18 document.execCommand("insertparagraph",false); | 18 document.execCommand("insertparagraph",false); |
19 document.execCommand("insertunorderedlist"); | 19 document.execCommand("insertunorderedlist"); |
20 document.execCommand("InsertUnorderedList"); | 20 document.execCommand("InsertUnorderedList"); |
21 document.execCommand("Outdent"); | 21 document.execCommand("Outdent"); |
22 document.write("<p>Test for bug <a href=\"https://bugs.webkit.org/show_bug.c
gi?id=60778\">REGRESSION (83075): Crash in line break after outdent</p>"); | 22 document.write("<p>Test for bug <a href=\"https://bugs.webkit.org/show_bug.c
gi?id=60778\">REGRESSION (83075): Crash in line break after outdent</p>"); |
23 document.write("<p>This test PASSED!</p>"); | 23 document.write("<p>This test PASSED!</p>"); |
24 } | 24 } |
25 </script> | 25 </script> |
26 </head> | 26 </head> |
27 <body onload='f();'> | 27 <body onload='f();'> |
28 <pre id="x">x</pre> | 28 <pre id="x">x</pre> |
29 </body> | 29 </body> |
OLD | NEW |