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

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

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <script src="../../fast/js/resources/js-test-pre.js"></script> 2 <script src="../../fast/js/resources/js-test-pre.js"></script>
3 <div id="editable" contenteditable="true"> 3 <div id="editable" contenteditable="true">
4 Foo 4 Foo
5 <div style="overflow:scroll;"> 5 <div style="overflow:scroll;">
6 <div style="display:table"></div> 6 <div style="display:table"></div>
7 </div> 7 </div>
8 </div> 8 </div>
9 <script> 9 <script>
10 var editable = document.getElementById('editable'); 10 var editable = document.getElementById('editable');
11 editable.focus(); 11 editable.focus();
12 document.execCommand('SelectAll'); 12 document.execCommand('SelectAll');
13 document.execCommand('InsertText', false, 'SUCCEEDED'); 13 document.execCommand('InsertText', false, 'SUCCEEDED');
14 document.execCommand('SelectAll'); 14 document.execCommand('SelectAll');
15 testPassed('Not crashed'); 15 testPassed('Not crashed');
16 if (window.testRunner) 16 if (window.testRunner)
17 editable.outerHTML = ''; 17 editable.outerHTML = '';
18 </script> 18 </script>
19 <script src="../../fast/js/resources/js-test-post.js"></script>
20 </html> 19 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/inserting/insert-html-crash.html ('k') | LayoutTests/editing/inserting/insert-html-into-text-field.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698