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

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

Issue 2270293003: Add a switch to TestRunner to enable/disable mock spell checker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use in-class initialization Created 4 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: third_party/WebKit/LayoutTests/editing/spelling/spellcheck-disable-enable.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-disable-enable.html b/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-disable-enable.html
index b95b731311a146ef3abfe7ce781f693adab4c4ee..6b4ea83d7b01e78a80ab5074c6d14f79535423b8 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-disable-enable.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-disable-enable.html
@@ -16,6 +16,8 @@ description("Spell check markers should be removed from the whole page when disa
+ "Having the editable focused, turn spell checker on. Misspellings in the editable should be marked.");
jsTestIsAsync = true;
+if (window.testRunner)
+ testRunner.setMockSpellCheckerEnabled(true);
function hasSpellingMarkerOnSetting(element, enableSpellChecking)
{

Powered by Google App Engine
This is Rietveld 408576698