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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/spelling-huge-text.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/spelling-huge-text.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/spelling-huge-text.html b/third_party/WebKit/LayoutTests/editing/spelling/spelling-huge-text.html
index a12467a12d8f918003840deb375bfdb45657604a..6ac7c3dd758049939bafe1370b5e6e007ed34e4d 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/spelling-huge-text.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/spelling-huge-text.html
@@ -14,6 +14,8 @@ description("Text to check is divided into chunks to make sure checking some hug
"and asynchronous checker on. There should be 6 misspellings marked.");
jsTestIsAsync = true;
+if (window.testRunner)
+ testRunner.setMockSpellCheckerEnabled(true);
var testEditable = null;

Powered by Google App Engine
This is Rietveld 408576698