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

Unified Diff: LayoutTests/editing/spelling/spellcheck-async.html

Issue 23444027: TEST COMPLETE does not appear at the end of spellchecking tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/editing/spelling/spellcheck-async.html
diff --git a/LayoutTests/editing/spelling/spellcheck-async.html b/LayoutTests/editing/spelling/spellcheck-async.html
index 4087e8f4ed6cfc0cd7fca2ac0265c6c37d3d07c9..7d95de2eff45247d0177020940041a62bad0494d 100644
--- a/LayoutTests/editing/spelling/spellcheck-async.html
+++ b/LayoutTests/editing/spelling/spellcheck-async.html
@@ -20,10 +20,10 @@
<script>
description("Test for Unified Spell Checker & Async Spell Checker.");
-if (window.testRunner) {
+jsTestIsAsync = true;
+
+if (window.testRunner)
testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
if (window.internals) {
internals.settings.setAsynchronousSpellCheckingEnabled(true);
@@ -57,8 +57,7 @@ function doTestIfAny() {
// No more tests.
removeChildren(container);
- if (window.testRunner)
- testRunner.notifyDone();
+ finishJSTest();
}
function createEditableElement(id) {

Powered by Google App Engine
This is Rietveld 408576698