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

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

Issue 58533003: Move fast/js/resources files to resources. (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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <script src="../../fast/js/resources/js-test-pre.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 <script> 4 <script>
5 window.jsTestIsAsync = true; 5 window.jsTestIsAsync = true;
6 6
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.waitUntilDone(); 8 testRunner.waitUntilDone();
9 9
10 document.addEventListener("DOMCharacterDataModified", function() { 10 document.addEventListener("DOMCharacterDataModified", function() {
11 document.body.innerHTML = "PASS. WebKit didn't crash."; 11 document.body.innerHTML = "PASS. WebKit didn't crash.";
12 gc(); 12 gc();
13 finishJSTest(); 13 finishJSTest();
14 }, true); 14 }, true);
15 15
16 document.write("A<br>"); 16 document.write("A<br>");
17 document.designMode = "on"; 17 document.designMode = "on";
18 document.execCommand("SelectAll"); 18 document.execCommand("SelectAll");
19 document.execCommand("InsertHTML", false, 4); 19 document.execCommand("InsertHTML", false, 4);
20 </script> 20 </script>
21 </html> 21 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/inserting/insert-empty-html.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