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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/design-mode-spellcheck-off.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/design-mode-spellcheck-off.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/design-mode-spellcheck-off.html b/third_party/WebKit/LayoutTests/editing/spelling/design-mode-spellcheck-off.html
index 5741e90784f421d8d4c6a19fca12c4104fced547..d63c5e52fd83f811bc749797874cc1f92df4921c 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/design-mode-spellcheck-off.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/design-mode-spellcheck-off.html
@@ -10,6 +10,8 @@ description("This tests whether WebKit does not spell check in 'designMode' "
+ "There should be no spelling marker for 'asd'.");
jsTestIsAsync = true;
+if (window.testRunner)
+ testRunner.setMockSpellCheckerEnabled(true);
document.designMode = "on";

Powered by Google App Engine
This is Rietveld 408576698