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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/script-tests/spelling-backspace-between-lines.js

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/script-tests/spelling-backspace-between-lines.js
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/script-tests/spelling-backspace-between-lines.js b/third_party/WebKit/LayoutTests/editing/spelling/script-tests/spelling-backspace-between-lines.js
index 697fa5c6d2de28042ffa595ba8a4d775d41fa51e..8a72de313d5e0061400b212f4eefe745679583bd 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/script-tests/spelling-backspace-between-lines.js
+++ b/third_party/WebKit/LayoutTests/editing/spelling/script-tests/spelling-backspace-between-lines.js
@@ -1,6 +1,8 @@
description('Spelling markers should remain while merging two lines.');
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