Index: LayoutTests/editing/spelling/script-tests/spellcheck-paste.js |
diff --git a/LayoutTests/editing/spelling/script-tests/spellcheck-paste.js b/LayoutTests/editing/spelling/script-tests/spellcheck-paste.js |
index 5d48ed0f6f58babb9bd7732e3de473e337543045..01954331a53985c0fef5451a8fcc38e1122dccf3 100644 |
--- a/LayoutTests/editing/spelling/script-tests/spellcheck-paste.js |
+++ b/LayoutTests/editing/spelling/script-tests/spellcheck-paste.js |
@@ -1,7 +1,7 @@ |
description('For Bug 40092: Spell checking for pasted text.'); |
-testRunner.waitUntilDone(); |
+jsTestIsAsync = true; |
var testRoot = document.createElement("div"); |
document.body.insertBefore(testRoot, document.body.firstChild); |
@@ -39,7 +39,7 @@ function done() |
if (next) |
return window.setTimeout(next, 0); |
testRoot.style.display = "none"; |
- testRunner.notifyDone(); |
+ finishJSTest(); |
} |
function verifyMarker(node, expectedMarked) |