Index: LayoutTests/editing/spelling/grammar-paste.html |
diff --git a/LayoutTests/editing/spelling/grammar-paste.html b/LayoutTests/editing/spelling/grammar-paste.html |
index a7c23ad44acb373c25a5a339e7d28699e1f68a0f..674b8ee9cb11ffbfeeeea6ae9dbeadd41898f7a4 100644 |
--- a/LayoutTests/editing/spelling/grammar-paste.html |
+++ b/LayoutTests/editing/spelling/grammar-paste.html |
@@ -10,7 +10,7 @@ |
<script> |
description('Grammar checking for pasted text.'); |
-testRunner.waitUntilDone(); |
+jsTestIsAsync = true; |
var testRoot = document.createElement("div"); |
document.body.insertBefore(testRoot, document.body.firstChild); |
@@ -48,7 +48,7 @@ function done() |
if (next) |
return window.setTimeout(next, 0); |
testRoot.style.display = "none"; |
- testRunner.notifyDone(); |
+ finishJSTest(); |
} |
function findFirstTextNode(node) |