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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/spelling-unified-emulation.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/spelling-unified-emulation.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/spelling-unified-emulation.html b/third_party/WebKit/LayoutTests/editing/spelling/spelling-unified-emulation.html
index e0d4eaa8042a8ac17c04ff6d8c3941c1eb9061d7..b6dadc4651e0442d4a24b2e1e4a01d93683acc1b 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/spelling-unified-emulation.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/spelling-unified-emulation.html
@@ -19,6 +19,9 @@
<script>
description("The spellchecker should work correctly if unified spellcheck path is used.");
+if (window.testRunner)
+ testRunner.setMockSpellCheckerEnabled(true);
+
var container = document.getElementById('container');
function removeChildren(node) {
while (node.firstChild)

Powered by Google App Engine
This is Rietveld 408576698