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

Side by Side Diff: LayoutTests/editing/execCommand/inserting-ordered-list-crash.html

Issue 181103004: Fixing crash when executing ApplyStyle command. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing review comments Created 6 years, 9 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <input>
5 <hr>
6 >
Yuta Kitamura 2014/02/27 07:48:15 What's up with this bracket? Is this necessary?
7 <script>
8 if (window.testRunner)
9 testRunner.dumpAsText();
10
11 document.designMode = 'on';
12 document.execCommand('SelectAll');
13 document.execCommand('Strikethrough');
14 document.execCommand('InsertOrderedList');
15 window.getSelection().deleteFromDocument();
16 document.execCommand('SelectAll');
17 document.execCommand('Strikethrough');
18 document.write('The test passes if the page does not crash.');
19 </script>
20 </body>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698