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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/grammar-markers-hidpi.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-markers-hidpi.html
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/grammar-markers-hidpi.html b/third_party/WebKit/LayoutTests/editing/spelling/grammar-markers-hidpi.html
index 05a9fc6257da4c7262ff09d9418ad5cd078b12e2..67c479fda5c1ee25c432a269855572fd28ad265d 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/grammar-markers-hidpi.html
+++ b/third_party/WebKit/LayoutTests/editing/spelling/grammar-markers-hidpi.html
@@ -11,6 +11,8 @@
description('This tests whether WebKit can render grammar markers when pasting text if it has a grammar-checker. To test manually, copy the text in the first div element and paste it to the second div element. This test succeeds when WebKit renders a grammar marker under a word "has".');
jsTestIsAsync = true;
+if (window.testRunner)
+ testRunner.setMockSpellCheckerEnabled(true);
function verifyGrammarMarker(destination, ungrammaticalPhrase)
{

Powered by Google App Engine
This is Rietveld 408576698