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

Unified Diff: chrome/browser/ui/webui/options/options_browsertest.js

Issue 1156473007: Enables the user to select multiple languages for spellchecking (UI) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed some bugs and handled the spelling service. Created 5 years, 6 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: chrome/browser/ui/webui/options/options_browsertest.js
diff --git a/chrome/browser/ui/webui/options/options_browsertest.js b/chrome/browser/ui/webui/options/options_browsertest.js
index d2c068a626f9acb9173815a5db07cce2c44d0f93..7535d476566ef64cc285f910d49ea3520ab82ef3 100644
--- a/chrome/browser/ui/webui/options/options_browsertest.js
+++ b/chrome/browser/ui/webui/options/options_browsertest.js
@@ -516,6 +516,15 @@ TEST_F('OptionsWebUIExtendedTest', 'DISABLED_ShowSearchPageNoQuery',
this.verifyHistory_(['settings'], testDone);
});
+// Verify that the option to enable the spelling service is hidden when
+// multilingual spellchecking is enabled.
+TEST_F('OptionsWebUIExtendedTest', 'HideSpellingServiceCheckbox',
+ function() {
+ assertTrue(loadTimeData.getBoolean('enableMultilingualSpellChecker'));
+ expectTrue($('spelling-enabled-container').hidden);
+ testDone();
+});
+
// Manipulate the search page via the search field.
TEST_F('OptionsWebUIExtendedTest', 'ShowSearchFromField', function() {
$('search-field').onsearch({currentTarget: {value: 'query'}});

Powered by Google App Engine
This is Rietveld 408576698