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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/execCommand/crash-indenting-list-item.html

Issue 2269203005: Convert editing/execCommand/crash-indenting-list-item to use w3c test harness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 016-08-24T17:05:27 Created 4 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 | third_party/WebKit/LayoutTests/editing/execCommand/crash-indenting-list-item-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 <div contentEditable><ul><li id='foo'></li></ul></div> 1 <!doctype html>
2 <script src="../../resources/dump-as-markup.js"></script> 2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <script src="../assert_selection.js"></script>
3 <script> 5 <script>
4 window.getSelection().setBaseAndExtent(foo, 0, foo, 0); 6 test(() => assert_selection(
5 // This test passes if it does not crash. 7 '<div contentEditable><ul><li>|</li></ul></div>',
6 document.execCommand('indent', false, null); 8 'indent',
7 document.getElementById("foo").innerText = "PASSED"; 9 '<div contenteditable><ul><ul><li></li></ul>|</ul></div>'),
10 'This is crash test');
8 </script> 11 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/editing/execCommand/crash-indenting-list-item-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698