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

Unified Diff: third_party/WebKit/LayoutTests/editing/spelling/resources/util.js

Issue 2235643002: Code cleanup related to unified text checker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@EnableUnifiedTextCheckerByDefault
Patch Set: Rebased on removal of grammar-checking code 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/resources/util.js
diff --git a/third_party/WebKit/LayoutTests/editing/spelling/resources/util.js b/third_party/WebKit/LayoutTests/editing/spelling/resources/util.js
index 4f1c4d16a3eb84432140a26c5c973849730c9339..8d6e5d94b9242f91d8562751794bb2f91f7eb79f 100644
--- a/third_party/WebKit/LayoutTests/editing/spelling/resources/util.js
+++ b/third_party/WebKit/LayoutTests/editing/spelling/resources/util.js
@@ -27,7 +27,6 @@ function initSpellTest(testElementId, testText, testFunction, opt_doNotFinishTes
jsTestIsAsync = true;
internals.settings.setSmartInsertDeleteEnabled(true);
internals.settings.setSelectTrailingWhitespaceEnabled(false);
- internals.settings.setUnifiedTextCheckerEnabled(true);
internals.settings.setEditingBehavior("win");
window.destination = document.getElementById(testElementId);
window.destination.focus();
@@ -92,6 +91,5 @@ function runSpellingTest(steps, assertions, opt_title)
return;
}
- internals.settings.setUnifiedTextCheckerEnabled(true);
runNextStep(t, steps, assertions);
}

Powered by Google App Engine
This is Rietveld 408576698