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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/mixed-paste-short.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/mixed-paste-short.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/mixed-paste-short.html b/third_party/WebKit/LayoutTests/editing/spelling/mixed-paste-short.html
index c7cd79e6ffe9d3192b75b9ee9a36850d8eca47e8..f7e934d80f756ef9be740a207c450dd5cb65ac5f 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/mixed-paste-short.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/mixed-paste-short.html
@@ -11,6 +11,8 @@
description('For bug cr571988: Spell checking for pasted mixed content.');
jsTestIsAsync = true;
+if (window.testRunner)
+ testRunner.setMockSpellCheckerEnabled(true);
var testRoot = document.createElement("div");
document.body.insertBefore(testRoot, document.body.firstChild);

Powered by Google App Engine
This is Rietveld 408576698