Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/context-menu-suggestions.html

Issue 2270293003: Add a switch to TestRunner to enable/disable mock spell checker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use in-class initialization Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/editing/spelling/context-menu-suggestions.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/context-menu-suggestions.html b/third_party/WebKit/LayoutTests/editing/spelling/context-menu-suggestions.html
index 639d7b7d1c6635fb5e50bb59ae7e07647a1d1dcb..974210608ed30eab5d71365157c3a1b332017ba0 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/context-menu-suggestions.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/context-menu-suggestions.html
@@ -7,8 +7,10 @@ To test manually, right click on the text in the input box.</p>
<script>
function test()
{
- if (window.testRunner)
+ if (window.testRunner) {
+ testRunner.setMockSpellCheckerEnabled(true);
testRunner.dumpAsText();
+ }
var input = document.getElementById("input");
input.focus();

Powered by Google App Engine
This is Rietveld 408576698