Index: third_party/WebKit/LayoutTests/editing/spelling/mark-empty-crash.html |
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/mark-empty-crash.html b/third_party/WebKit/LayoutTests/editing/spelling/mark-empty-crash.html |
index de2724df986f3778fbc25799951039357afbcaec..cbd549ceb8be4bf7a0e8e8b7f5b206e8f815a902 100644 |
--- a/third_party/WebKit/LayoutTests/editing/spelling/mark-empty-crash.html |
+++ b/third_party/WebKit/LayoutTests/editing/spelling/mark-empty-crash.html |
@@ -8,6 +8,8 @@ |
test(function() { |
if (!window.internals) |
return; |
+ if (window.testRunner) |
+ testRunner.setMockSpellCheckerEnabled(true); |
window.getSelection().selectAllChildren(document.getElementById('foo')); |
document.execCommand('insertParagraph'); |
}, 'spelling'); |