Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: LayoutTests/editing/spelling/spellcheck-disable-enable.html

Issue 23444027: TEST COMPLETE does not appear at the end of spellchecking tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698