| 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..cc2faa98670615478e089bd6fda46b805a907292 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,27 @@ var availableTests = [
|
| chrome.passwordsPrivate.requestPlaintextPassword(
|
| {originUrl: 'http://www.test.com', username: 'test@test.com'});
|
| },
|
| +
|
| + function requestSavedPasswordList() {
|
| + var callback = function() {
|
| + // Ensure that the callback is invoked.
|
| + chrome.test.succeed();
|
| + };
|
| +
|
| + chrome.passwordsPrivate.onSavedPasswordsListChanged.addListener(callback);
|
| + chrome.passwordsPrivate.requestSavedPasswordList();
|
| + },
|
| +
|
| + function requestPasswordExceptionList() {
|
| + var callback = function() {
|
| + // Ensure that the callback is invoked.
|
| + chrome.test.succeed();
|
| + };
|
| +
|
| + chrome.passwordsPrivate.onPasswordExceptionsListChanged.addListener(
|
| + callback);
|
| + chrome.passwordsPrivate.requestPasswordExceptionList();
|
| + },
|
| ];
|
|
|
| var testToRun = window.location.search.substring(1);
|
|
|