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

Side by Side Diff: LayoutTests/editing/execCommand/crash-on-plaintext-createLink.html

Issue 23600068: ContentEditable plaintext-only crash fix. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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/crash-on-plaintext-createLink-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 <html>
3 <head>
4 <title>Crash on "createLink" execCommand with plaintext-only</title>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
8 </script>
9 </head>
10 <body contentEditable>&nbsp;
11 <div contentEditable="plaintext-only">PASS if the browser did not crash.</di v>
12 <script>
13 document.execCommand("selectAll");
14 document.execCommand("createLink", false, ".");
15 </script>
16 </body>
17 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/execCommand/crash-on-plaintext-createLink-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698