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

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

Issue 1157403004: Credential Management: Add 'Credential::type' attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@rename-federated
Patch Set: Test. Created 5 years, 7 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/localcredential-basics.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/credentialmanager/federatedcredential-basics.html
diff --git a/LayoutTests/http/tests/credentialmanager/federatedcredential-basics.html b/LayoutTests/http/tests/credentialmanager/federatedcredential-basics.html
index 5a0b75f62013c807c427e83a154bac3c7f0c3e19..5c9020beb43d5d78808dedc4f951d5907bc44f32 100644
--- a/LayoutTests/http/tests/credentialmanager/federatedcredential-basics.html
+++ b/LayoutTests/http/tests/credentialmanager/federatedcredential-basics.html
@@ -19,13 +19,15 @@ test(function() {
id: 'string',
name: 'string',
avatarURL: 'string',
- provider: 'string'
+ provider: 'string',
+ type: 'string'
});
assert_equals(credential.id, 'id');
assert_equals(credential.name, 'name');
assert_equals(credential.avatarURL, 'https://example.test/icon.png');
assert_equals(credential.provider, 'https://federation.test/');
+ assert_equals(credential.type, 'federated');
}, 'Interfaces and attributes of FederatedCredential');
test(function() {
@@ -39,6 +41,7 @@ test(function() {
assert_equals(credential.name, 'name');
assert_equals(credential.avatarURL, '');
assert_equals(credential.provider, 'https://federation.test/');
+ assert_equals(credential.type, 'federated');
}, 'Interfaces and attributes of FederatedCredential');
test(function() {
@@ -51,6 +54,7 @@ test(function() {
assert_equals(credential.name, '');
assert_equals(credential.avatarURL, '');
assert_equals(credential.provider, 'https://federation.test/');
+ assert_equals(credential.type, 'federated');
}, 'Interfaces and attributes of FederatedCredential');
test(function() {
« no previous file with comments | « no previous file | LayoutTests/http/tests/credentialmanager/localcredential-basics.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698