Index: third_party/WebKit/LayoutTests/editing/spelling/script-tests/spelling-attribute-change.js |
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/script-tests/spelling-attribute-change.js b/third_party/WebKit/LayoutTests/editing/spelling/script-tests/spelling-attribute-change.js |
index ffd55af79609d5eacbf9975b2fa976f5f6b10449..69f83ebb8d6f56b075205819456b5ddedac4cc7a 100644 |
--- a/third_party/WebKit/LayoutTests/editing/spelling/script-tests/spelling-attribute-change.js |
+++ b/third_party/WebKit/LayoutTests/editing/spelling/script-tests/spelling-attribute-change.js |
@@ -2,6 +2,8 @@ description('Tests if the spellchecker behaves correctly when the spellcheck att |
+ 'is being changed by the script.'); |
jsTestIsAsync = true; |
+if (window.testRunner) |
+ testRunner.setMockSpellCheckerEnabled(true); |
var parent = document.createElement("div"); |
document.body.appendChild(parent); |