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

Side by Side Diff: LayoutTests/editing/execCommand/ident-crashes-topnode-is-text.html

Issue 7863014: Merge 94841 - Crashes in WebCore::AppendNodeCommand::create(). (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 3 months 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
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/ident-crashes-topnode-is-text-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <script> 1 <script>
2 if (window.layoutTestController) 2 if (window.layoutTestController)
3 layoutTestController.dumpAsText(); 3 layoutTestController.dumpAsText();
4 4
5 function runTest() { 5 function runTest() {
6 window.getSelection().setBaseAndExtent(start, 0, null, 0); 6 window.getSelection().setBaseAndExtent(start, 0, null, 0);
7 document.execCommand("Indent"); 7 document.execCommand("Indent");
8 8
9 document.writeln('execCommand("Indent") was crashing if the top element to b e formatted is actually not an element.<br>'); 9 document.writeln('execCommand("Indent") was crashing if the top element to b e formatted is actually not an element.<br>');
10 document.writeln('The test has passed if it does not crash.<br><br>') 10 document.writeln('The test has passed if it does not crash.<br><br>')
11 document.writeln('PASS'); 11 document.writeln('PASS');
12 } 12 }
13 </script> 13 </script>
14 <body onLoad="runTest();"> 14 <body onLoad="runTest();">
15 ><defs contenteditable="true" id="start"> 15 ><defs contenteditable="true" id="start">
16 <rt>AAAAAAA0A0AAAA00 16 <rt>AAAAAAA0A0AAAA00
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/ident-crashes-topnode-is-text-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698