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

Side by Side Diff: LayoutTests/editing/inserting/insert-html-to-textarea-crash.html

Issue 1219723004: Make "insertHTML" execCommand not to crash on TEXTAREA (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 <textarea></textarea>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6 document.querySelector('textarea').setSelectionRange(0, 0);
7 document.execCommand("InsertHTML", false, "<b></b>");
8 document.body.textContent = 'PASS if Blink doesn\'t crash.';
9 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698