Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Side by Side Diff: LayoutTests/editing/execCommand/switch-multiple-list-items-crash.html

Issue 5536001: Merge 73052 - 2010-12-01 Ryosuke Niwa <rniwa@webkit.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698