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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/grammar-edit-word.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/grammar-edit-word.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/grammar-edit-word.html b/third_party/WebKit/LayoutTests/editing/spelling/grammar-edit-word.html
index a18581ef9a6280660ab6a7a11015a08f8350e3ee..871fca09161ca6c5df45069a87ec6f8f4f76adfb 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/grammar-edit-word.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/grammar-edit-word.html
@@ -13,6 +13,8 @@ description('Test if WebKit removes grammar markers when we edit a grammatically
+ 'This test succeeds when "ha" does not have grammar markers.');
jsTestIsAsync = true;
+if (window.testRunner)
+ testRunner.setMockSpellCheckerEnabled(true);
function editAndCheckSentence()
{

Powered by Google App Engine
This is Rietveld 408576698