Index: third_party/WebKit/LayoutTests/editing/spelling/move-cursor-to-misspelled-word.html |
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/move-cursor-to-misspelled-word.html b/third_party/WebKit/LayoutTests/editing/spelling/move-cursor-to-misspelled-word.html |
index 9d3af57eb750f698ffbb226d1a82df97684015cd..dbf341fe549e049387c5af87e59e4afbf6460b34 100644 |
--- a/third_party/WebKit/LayoutTests/editing/spelling/move-cursor-to-misspelled-word.html |
+++ b/third_party/WebKit/LayoutTests/editing/spelling/move-cursor-to-misspelled-word.html |
@@ -11,6 +11,8 @@ description('Test if Chrome WebKit does not remove a misspelled marker when movi |
'This test succeeds when "zz" is marked as misspelled.'); |
jsTestIsAsync = true; |
+if (window.testRunner) |
+ testRunner.setMockSpellCheckerEnabled(true); |
var node = document.getElementById('src'); |
node.focus(); |