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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/execCommand/534617-crash.html

Issue 1395693009: [Editing][BugFix] Fix if condition in ReplaceSelectionCommand (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 <html><head>
yosin_UTC9 2015/10/15 05:57:18 nit: Please remove a space before <html>. nit: Ple
2 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <script>
5 function fuzz() {
6 document.designMode = 'on';
7 document.execCommand("selectAll");
8 document.execCommand("InsertHTML", false, "<blockquote type='cite'>Line 2</b lockquote><img>");
9 }
10
11 test(function () {
12 document.addEventListener('DOMContentLoaded', fuzz);
yosin_UTC9 2015/10/15 05:57:18 Do we really need to use "DOMContentLoaded" event?
13 });
14 </script>
15 </head>
16 <body>
17 <blockquote type="cite"><div>Three</div></blockquote>
18 <br>
19 "bar"
20 <div id="log"></div>
21 </body>
22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698