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

Side by Side Diff: LayoutTests/editing/spelling/spelling-huge-text.html

Issue 24573002: Layout Test editing/spelling/spelling-huge-text.html is flaky (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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 testRunner.dumpAsText(); 45 testRunner.dumpAsText();
46 testRunner.waitUntilDone(); 46 testRunner.waitUntilDone();
47 } 47 }
48 48
49 internals.setContinuousSpellCheckingEnabled(false); 49 internals.setContinuousSpellCheckingEnabled(false);
50 testEditable.focus(); 50 testEditable.focus();
51 internals.setContinuousSpellCheckingEnabled(true); 51 internals.setContinuousSpellCheckingEnabled(true);
52 shouldBecomeEqual('internals.markerCountForNode(testEditable.childNodes[0], "spelling")', '6', function() { 52 shouldBecomeEqual('internals.markerCountForNode(testEditable.childNodes[0], "spelling")', '6', function() {
53 testEditable.removeChild(testEditable.childNodes[0]); 53 testEditable.removeChild(testEditable.childNodes[0]);
54 finishJSTest(); 54 finishJSTest();
55 }); 55 }, 1000 /* huge text needs more time to be spell checked */);
56 } 56 }
57 </script> 57 </script>
58 <script src="../../fast/js/resources/js-test-post.js"></script> 58 <script src="../../fast/js/resources/js-test-post.js"></script>
59 </body> 59 </body>
60 </html> 60 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698