| Index: LayoutTests/editing/spelling/spellcheck-disable-enable.html
|
| diff --git a/LayoutTests/editing/spelling/spellcheck-disable-enable.html b/LayoutTests/editing/spelling/spellcheck-disable-enable.html
|
| index c82f4033ea576617acb9c9ce8a2b43cdf2b96c17..6c4d6e1184c94802d4f5d75794632d0122980456 100644
|
| --- a/LayoutTests/editing/spelling/spellcheck-disable-enable.html
|
| +++ b/LayoutTests/editing/spelling/spellcheck-disable-enable.html
|
| @@ -17,6 +17,8 @@ description("Spell check markers should be removed from the whole page when disa
|
| "spell checker off - misspelling markers should disappear. Having the editable focused " +
|
| "turn spell checker on again. Misspellings in the editable should be marked again.");
|
|
|
| +jsTestIsAsync = true;
|
| +
|
| var destination_elm = null;
|
| var destination_elm_in_frame = null;
|
|
|
| @@ -28,7 +30,7 @@ function test(destination, frame_doc)
|
| return;
|
| }
|
|
|
| - internals.settings.setAsynchronousSpellCheckingEnabled(false);
|
| + internals.settings.setAsynchronousSpellCheckingEnabled(true);
|
| internals.settings.setUnifiedTextCheckerEnabled(true);
|
|
|
| function waitForMarkersToAppear(node, nretry)
|
| @@ -56,6 +58,7 @@ function test(destination, frame_doc)
|
| waitForMarkersToAppear(destination_elm.childNodes[0], 10);
|
| shouldBe('internals.markerCountForNode(destination_elm.childNodes[0], "spelling")', '1');
|
|
|
| + finishJSTest();
|
| }
|
|
|
| </script>
|
|
|