Index: third_party/WebKit/LayoutTests/editing/spelling/script-tests/spellcheck-paste.js |
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/script-tests/spellcheck-paste.js b/third_party/WebKit/LayoutTests/editing/spelling/script-tests/spellcheck-paste.js |
index 1b14370d8d73b9cfad51388806f62dbf2d7c469f..da51667c431b67dcaf5945cee912849804b60017 100644 |
--- a/third_party/WebKit/LayoutTests/editing/spelling/script-tests/spellcheck-paste.js |
+++ b/third_party/WebKit/LayoutTests/editing/spelling/script-tests/spellcheck-paste.js |
@@ -2,6 +2,8 @@ |
description('For Bug 40092: Spell checking for pasted text.'); |
jsTestIsAsync = true; |
+if (window.testRunner) |
+ testRunner.setMockSpellCheckerEnabled(true); |
var testRoot = document.createElement("div"); |
document.body.insertBefore(testRoot, document.body.firstChild); |