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

Side by Side Diff: LayoutTests/editing/execCommand/indent-inline-box-crash.html

Issue 297203004: Check nullable value before using it in IndentOutdentCommand::tryIndentingAsListItem (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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/indent-inline-box-crash-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
(Empty)
1 <!DOCTYPE html>
2 <head>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6
7 onload = function () {
8 document.designMode = 'on';
9 document.execCommand('SelectAll')
10 document.execCommand('Indent');
11 document.body.textContent = 'PASS if Blink doesn\'t crash.';
12 };
13 </script>
14 </head>
15 <body style="display: -webkit-inline-box">
16 <ol style="display: -webkit-inline-box">
17 <br>
18 foo
19 </ol>
20 </body>
21 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/indent-inline-box-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698