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

Unified Diff: chrome/test/data/extensions/api_test/passwords_private/test.js

Issue 1892613006: Add functions to the passwords private api that update the lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 8 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/passwords_private/test.js
diff --git a/chrome/test/data/extensions/api_test/passwords_private/test.js b/chrome/test/data/extensions/api_test/passwords_private/test.js
index cd8876d24ed5058024db02bc3bc67019c09acbbb..81a3a1826ed70833a4c7ef8ea66c7c14d74c594a 100644
--- a/chrome/test/data/extensions/api_test/passwords_private/test.js
+++ b/chrome/test/data/extensions/api_test/passwords_private/test.js
@@ -64,6 +64,26 @@ var availableTests = [
chrome.passwordsPrivate.requestPlaintextPassword(
{originUrl: 'http://www.test.com', username: 'test@test.com'});
},
+
+ function getSavedPasswordList() {
+ var callback = function(list) {
+ chrome.test.assertTrue(!!list);
+ // Ensure that the callback is invoked.
+ chrome.test.succeed();
+ };
+
+ chrome.passwordsPrivate.getSavedPasswordList(callback);
+ },
+
+ function getPasswordExceptionList() {
+ var callback = function(list) {
+ chrome.test.assertTrue(!!list);
+ // Ensure that the callback is invoked.
+ chrome.test.succeed();
+ };
+
+ chrome.passwordsPrivate.getPasswordExceptionList(callback);
+ },
];
var testToRun = window.location.search.substring(1);
« no previous file with comments | « chrome/common/extensions/api/passwords_private.idl ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698