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

Side by Side Diff: LayoutTests/editing/style/apply-style-join-child-text-nodes-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 <body> 3 <body>
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 <script id="script1"> 5 <script id="script1">
6 document.addEventListener("DOMCharacterDataModified",function(){ 6 document.addEventListener("DOMCharacterDataModified",function(){
7 document.body.innerHTML = "PASS. WebKit didn't crash."; 7 document.body.innerHTML = "PASS. WebKit didn't crash.";
8 gc(); 8 gc();
9 finishJSTest(); 9 finishJSTest();
10 },true); 10 },true);
11 </script> 11 </script>
12 <script> 12 <script>
13 window.jsTestIsAsync = true; 13 window.jsTestIsAsync = true;
14 14
15 if (window.testRunner) 15 if (window.testRunner)
16 testRunner.waitUntilDone(); 16 testRunner.waitUntilDone();
17 17
18 var scriptElement = document.getElementById('script1'); 18 var scriptElement = document.getElementById('script1');
19 scriptElement.parentNode.appendChild(scriptElement.firstChild); 19 scriptElement.parentNode.appendChild(scriptElement.firstChild);
20 scriptElement.parentNode.removeChild(scriptElement); 20 scriptElement.parentNode.removeChild(scriptElement);
21 document.designMode = "on"; 21 document.designMode = "on";
22 document.execCommand("SelectAll"); 22 document.execCommand("SelectAll");
23 document.execCommand("FontSizeDelta", false, 3); 23 document.execCommand("FontSizeDelta", false, 3);
24 </script> 24 </script>
25 </body> 25 </body>
26 </html> 26 </html>
27 27
OLDNEW
« no previous file with comments | « LayoutTests/editing/spelling/spelling-with-whitespace-selection.html ('k') | LayoutTests/editing/style/font-face-unquote.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698