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

Side by Side Diff: LayoutTests/editing/spelling/spellcheck-async-mutation.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 <script src="resources/util.js"></script> 7 <script src="resources/util.js"></script>
8 <style> 8 <style>
9 .editing { 9 .editing {
10 border: 2px solid red; 10 border: 2px solid red;
(...skipping 13 matching lines...) Expand all
24 <div id="move-target"></div> 24 <div id="move-target"></div>
25 25
26 <script> 26 <script>
27 description( 27 description(
28 "Test for asynchronous spellchecking in case DOM mutation happens. " + 28 "Test for asynchronous spellchecking in case DOM mutation happens. " +
29 "This test checks crash won't happen if DOM mutations happened." 29 "This test checks crash won't happen if DOM mutations happened."
30 ); 30 );
31 31
32 var jsTestIsAsync = true; 32 var jsTestIsAsync = true;
33 33
34 if (window.testRunner)
35 testRunner.dumpAsText();
36
37 if (window.internals) { 34 if (window.internals) {
38 internals.settings.setAsynchronousSpellCheckingEnabled(true); 35 internals.settings.setAsynchronousSpellCheckingEnabled(true);
39 internals.settings.setUnifiedTextCheckerEnabled(true); 36 internals.settings.setUnifiedTextCheckerEnabled(true);
40 } 37 }
41 38
42 var sourceIds = ['source']; 39 var sourceIds = ['source'];
43 var destElems = ['textarea', 'input', 'contenteditable']; 40 var destElems = ['textarea', 'input', 'contenteditable'];
44 var tweaks = ['delete', 'move', 'mutate']; 41 var tweaks = ['delete', 'move', 'mutate'];
45 42
46 var testData = []; 43 var testData = [];
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 } 208 }
212 } 209 }
213 210
214 doTestIfAny(); 211 doTestIfAny();
215 212
216 var successfullyParsed = true; 213 var successfullyParsed = true;
217 </script> 214 </script>
218 <script src="../../fast/js/resources/js-test-post.js"></script> 215 <script src="../../fast/js/resources/js-test-post.js"></script>
219 </body> 216 </body>
220 </html> 217 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/spelling/spellcheck-async.html ('k') | LayoutTests/editing/spelling/spellcheck-attribute.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698