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

Unified Diff: chrome/test/data/extensions/api_test/input_method/background.js

Issue 190033005: [IME] Removes the duplicated IMEs in chrome://settings/languages, and support async component IMEs … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: try to make test green. Created 6 years, 9 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/test/data/extensions/api_test/input_method/background.js
diff --git a/chrome/test/data/extensions/api_test/input_method/background.js b/chrome/test/data/extensions/api_test/input_method/background.js
index ceebc03e772c1dbedb80872698977603072c3eef..2102fb3516c0d9d70b5ca9d838f1b504e8bfdadc 100644
--- a/chrome/test/data/extensions/api_test/input_method/background.js
+++ b/chrome/test/data/extensions/api_test/input_method/background.js
@@ -11,7 +11,7 @@ function setAndGetTest() {
chrome.test.assertEq('done', response);
console.log('Getting current input method.');
chrome.inputMethodPrivate.get(function (inputMethod) {
- chrome.test.assertEq(inputMethod, kNewInputMethod);
+ chrome.test.assertEq(kNewInputMethod, inputMethod);
chrome.test.succeed();
}
);
@@ -34,4 +34,5 @@ function setAndObserveTest() {
);
}
+chrome.test.sendMessage('ready');
chrome.test.runTests([setAndGetTest, setAndObserveTest]);

Powered by Google App Engine
This is Rietveld 408576698