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

Side by Side Diff: LayoutTests/editing/spelling/spelling-huge-text-sync.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, 2 months 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 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../fast/js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body onload="test();"> 6 <body onload="test();">
7 <div id="console"></div> 7 <div id="console"></div>
8 <div id="editable" contenteditable></div> 8 <div id="editable" contenteditable></div>
9 9
10 <script> 10 <script>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 window.setTimeout(function() { waitForMarkersToAppear(node, nretry - 1); }, 5); 45 window.setTimeout(function() { waitForMarkersToAppear(node, nretry - 1); }, 5);
46 } else { 46 } else {
47 shouldBe('internals.markerCountForNode(testEditable.childNodes[0], " spelling")', '3'); 47 shouldBe('internals.markerCountForNode(testEditable.childNodes[0], " spelling")', '3');
48 testEditable.removeChild(testEditable.childNodes[0]); 48 testEditable.removeChild(testEditable.childNodes[0]);
49 if (window.testRunner) 49 if (window.testRunner)
50 testRunner.notifyDone(); 50 testRunner.notifyDone();
51 } 51 }
52 } 52 }
53 53
54 if (window.testRunner) { 54 if (window.testRunner) {
55 testRunner.dumpAsText();
56 testRunner.waitUntilDone(); 55 testRunner.waitUntilDone();
57 } 56 }
58 57
59 internals.setContinuousSpellCheckingEnabled(false); 58 internals.setContinuousSpellCheckingEnabled(false);
60 testEditable.focus(); 59 testEditable.focus();
61 internals.setContinuousSpellCheckingEnabled(true); 60 internals.setContinuousSpellCheckingEnabled(true);
62 waitForMarkersToAppear(testEditable.childNodes[0], 10); 61 waitForMarkersToAppear(testEditable.childNodes[0], 10);
63 } 62 }
64 </script> 63 </script>
65 <script src="../../fast/js/resources/js-test-post.js"></script> 64 <script src="../../fast/js/resources/js-test-post.js"></script>
66 </body> 65 </body>
67 </html> 66 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/spelling/spelling-huge-text.html ('k') | LayoutTests/editing/spelling/spelling-insert-html.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698