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

Unified Diff: LayoutTests/http/tests/credentialmanager/credentialscontainer-store-basics.html

Issue 1314673007: CREDENTIAL: Update PasswordCredential's constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/credentialmanager/credentialscontainer-store-basics.html
diff --git a/LayoutTests/http/tests/credentialmanager/credentialscontainer-store-basics.html b/LayoutTests/http/tests/credentialmanager/credentialscontainer-store-basics.html
index a5ca87b7c72b1609eed95a5b6f0bb4c62352d7c3..19392daaa4672a51299ffe1d6d4165db1977ba2e 100644
--- a/LayoutTests/http/tests/credentialmanager/credentialscontainer-store-basics.html
+++ b/LayoutTests/http/tests/credentialmanager/credentialscontainer-store-basics.html
@@ -12,12 +12,18 @@ function stubRejectionChecker(reason) {
assert_unreached("store() should not reject, but did: " + reason.name);
}
-var local = new PasswordCredential('id', 'pencil', 'name', 'https://example.com/icon.png');
+var local = new PasswordCredential({
+ id: 'id',
+ password: 'pencil',
+ name: 'name',
+ iconURL: 'https://example.com/icon.png'
+});
+
var federated = new FederatedCredential({
- 'id': 'id',
- 'provider': 'https://federation.test/',
- 'name': 'name',
- 'iconURL': 'https://example.test/icon.png'
+ id: 'id',
+ provider: 'https://federation.test/',
+ name: 'name',
+ iconURL: 'https://example.test/icon.png'
});
async_test(function () {
« no previous file with comments | « no previous file | LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698