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

Side by Side Diff: LayoutTests/editing/spelling/spellcheck-async.html

Issue 43803002: dumpAsText() is unnecessarily called in spellchecking tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <link rel="stylesheet" href="../../fast/js/resources/js-test-style.css"> 4 <link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
5 <script src="../../fast/js/resources/js-test-pre.js"></script> 5 <script src="../../fast/js/resources/js-test-pre.js"></script>
6 <script src="../editing.js"></script> 6 <script src="../editing.js"></script>
7 <style> 7 <style>
8 .editing { 8 .editing {
9 border: 2px solid red; 9 border: 2px solid red;
10 padding: 6px; 10 padding: 6px;
11 font-size: 18px; 11 font-size: 18px;
12 } 12 }
13 </style> 13 </style>
14 </head> 14 </head>
15 <body> 15 <body>
16 <pre id="description"></pre> 16 <pre id="description"></pre>
17 <pre id="console"></pre> 17 <pre id="console"></pre>
18 <div id="container"></div> 18 <div id="container"></div>
19 19
20 <script> 20 <script>
21 description("Test for Unified Spell Checker & Async Spell Checker."); 21 description("Test for Unified Spell Checker & Async Spell Checker.");
22 22
23 jsTestIsAsync = true; 23 jsTestIsAsync = true;
24 24
25 if (window.testRunner)
26 testRunner.dumpAsText();
27
28 if (window.internals) { 25 if (window.internals) {
29 internals.settings.setAsynchronousSpellCheckingEnabled(true); 26 internals.settings.setAsynchronousSpellCheckingEnabled(true);
30 internals.settings.setUnifiedTextCheckerEnabled(true); 27 internals.settings.setUnifiedTextCheckerEnabled(true);
31 } 28 }
32 29
33 var container = document.getElementById('container'); 30 var container = document.getElementById('container');
34 function removeChildren(node) { 31 function removeChildren(node) {
35 while (node.firstChild) 32 while (node.firstChild)
36 node.removeChild(node.firstChild); 33 node.removeChild(node.firstChild);
37 } 34 }
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 } 119 }
123 } 120 }
124 121
125 doTestIfAny(); 122 doTestIfAny();
126 123
127 var successfullyParsed = true; 124 var successfullyParsed = true;
128 </script> 125 </script>
129 <script src="../../fast/js/resources/js-test-post.js"></script> 126 <script src="../../fast/js/resources/js-test-post.js"></script>
130 </body> 127 </body>
131 </html> 128 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/spelling/markers-input-type-text.html ('k') | LayoutTests/editing/spelling/spellcheck-async-mutation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698