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

Side by Side Diff: LayoutTests/editing/spelling/spellcheck-attribute.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 <html> 1 <html>
2 <head> 2 <head>
3 <title>Spellcheck Attribute Test</title> 3 <title>Spellcheck Attribute Test</title>
4 <link rel="help" href="http://damowmow.com/playground/spellcheck.txt"> 4 <link rel="help" href="http://damowmow.com/playground/spellcheck.txt">
5 <script src="../../fast/js/resources/js-test-pre.js"></script> 5 <script src="../../fast/js/resources/js-test-pre.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <p>This tests if the "spellcheck" attribute is implemented as written in its spe cification. If this test succeeds, you can see forms filled with an invalid word 'zz '. Nevertheless, the 'zz ' is not marked as misspelled in all of them. 8 <p>This tests if the "spellcheck" attribute is implemented as written in its spe cification. If this test succeeds, you can see forms filled with an invalid word 'zz '. Nevertheless, the 'zz ' is not marked as misspelled in all of them.
9 <div id="testRoot"> 9 <div id="testRoot">
10 10
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 testMarkerForMisspelledWord('test3_6', true); 87 testMarkerForMisspelledWord('test3_6', true);
88 log(""); 88 log("");
89 testMarkerForMisspelledWord('test4_1', false); 89 testMarkerForMisspelledWord('test4_1', false);
90 testMarkerForMisspelledWord('test4_2', true); 90 testMarkerForMisspelledWord('test4_2', true);
91 testMarkerForMisspelledWord('test4_3', false); 91 testMarkerForMisspelledWord('test4_3', false);
92 testMarkerForMisspelledWord('test4_4', false); 92 testMarkerForMisspelledWord('test4_4', false);
93 testMarkerForMisspelledWord('test4_5', true); 93 testMarkerForMisspelledWord('test4_5', true);
94 testMarkerForMisspelledWord('test4_6', false); 94 testMarkerForMisspelledWord('test4_6', false);
95 95
96 if (window.testRunner) { 96 if (window.testRunner) {
97 testRunner.dumpAsText();
98 // Cleaning up for expeation text if running on DRT. 97 // Cleaning up for expeation text if running on DRT.
99 document.getElementById("testRoot").style.display = "none"; 98 document.getElementById("testRoot").style.display = "none";
100 } 99 }
101 </script> 100 </script>
101 <script src="../../fast/js/resources/js-test-post.js"></script>
102 </body> 102 </body>
103 </html> 103 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698