Index: LayoutTests/editing/spelling/spelling-huge-text.html |
diff --git a/LayoutTests/editing/spelling/spelling-huge-text.html b/LayoutTests/editing/spelling/spelling-huge-text.html |
index a5d3270d3f8d89f2efcd092b603cad58875f1e37..455f1636b33cf885b1f33ac49daf693112f3551f 100644 |
--- a/LayoutTests/editing/spelling/spelling-huge-text.html |
+++ b/LayoutTests/editing/spelling/spelling-huge-text.html |
@@ -13,6 +13,8 @@ description("Text to check is divided into chunks to make sure checking some hug |
"To test manaully trigger spell checking of the editable (e.g. by copy+paste) with unified " + |
"and asynchronous checker on. There should be 6 misspellings marked."); |
+jsTestIsAsync = true; |
+ |
var testEditable = null; |
function test() |
@@ -46,8 +48,7 @@ function test() |
} else { |
shouldBe('internals.markerCountForNode(testEditable.childNodes[0], "spelling")', '6'); |
testEditable.removeChild(testEditable.childNodes[0]); |
- if (window.testRunner) |
- testRunner.notifyDone(); |
+ finishJSTest(); |
} |
} |