Index: third_party/WebKit/LayoutTests/editing/spelling/spellcheck-editable-on-focus-sync.html |
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-editable-on-focus-sync.html b/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-editable-on-focus-sync.html |
index 7a6756377cd7f29628dfd760971e20e284815cd7..b0634e1fc73d8bddc6e191f4e22c6ea4d147306b 100644 |
--- a/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-editable-on-focus-sync.html |
+++ b/third_party/WebKit/LayoutTests/editing/spelling/spellcheck-editable-on-focus-sync.html |
@@ -17,6 +17,9 @@ description("Spell checking should be triggered on focus of an editable. " + |
"To test manually type focus above editable and textarea. Misspellings in them " + |
"should be marked on focus."); |
+if (window.testRunner) |
+ testRunner.setMockSpellCheckerEnabled(true); |
+ |
var testEditable = document.getElementById('test_editable'); |
var testTextArea = document.getElementById('test_textarea'); |
var testTextField = document.getElementById('test_textfield'); |