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) { |