| Index: LayoutTests/editing/spelling/spellcheck-editable-on-focus.html
|
| diff --git a/LayoutTests/editing/spelling/spellcheck-editable-on-focus.html b/LayoutTests/editing/spelling/spellcheck-editable-on-focus.html
|
| index aef52b22bc186a6215588f2f9a40c29e7d7a38da..7303dba89a4af8c9a9de770ec13f49770bf328d1 100644
|
| --- a/LayoutTests/editing/spelling/spellcheck-editable-on-focus.html
|
| +++ b/LayoutTests/editing/spelling/spellcheck-editable-on-focus.html
|
| @@ -17,6 +17,8 @@ description("Spell checking should be triggered on focus of an editable. " +
|
| "To test manually type focus above editable and textarea. Misspellings in them " +
|
| "should be marked on focus.");
|
|
|
| +jsTestIsAsync = true;
|
| +
|
| var testEditable = document.getElementById('test_editable');
|
| var testTextArea = document.getElementById('test_textarea');
|
| var testTextField = document.getElementById('test_textfield');
|
| @@ -44,8 +46,7 @@ function test()
|
| shouldBe('internals.markerCountForNode(findFirstTextNode(testTextArea), "spelling")', '3');
|
| shouldBe('internals.markerCountForNode(findFirstTextNode(testEditable), "spelling")', '3');
|
| shouldBe('internals.markerCountForNode(findFirstTextNode(testTextField), "spelling")', '3');
|
| - if (window.testRunner)
|
| - testRunner.notifyDone();
|
| + finishJSTest();
|
| }
|
| }
|
|
|
| @@ -66,4 +67,4 @@ function test()
|
| </script>
|
| <script src="../../fast/js/resources/js-test-post.js"></script>
|
| </body>
|
| -</html>
|
| +</html>
|
|
|