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

Unified Diff: LayoutTests/http/tests/credentialmanager/localcredential-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
Index: LayoutTests/http/tests/credentialmanager/localcredential-basics.html
diff --git a/LayoutTests/http/tests/credentialmanager/localcredential-basics.html b/LayoutTests/http/tests/credentialmanager/localcredential-basics.html
index 854cc3b2737f49dae6d829809ce63cfcb11d0d8d..e2dbe6871142755a4d2c5f1654c4f43573dadbd4 100644
--- a/LayoutTests/http/tests/credentialmanager/localcredential-basics.html
+++ b/LayoutTests/http/tests/credentialmanager/localcredential-basics.html
@@ -12,7 +12,8 @@ test(function() {
id: 'string',
name: 'string',
avatarURL: 'string',
- password: 'string'
+ password: 'string',
+ type: 'string'
});
assert_true(credential.formData instanceof FormData);
@@ -20,6 +21,7 @@ test(function() {
assert_equals(credential.name, 'name');
assert_equals(credential.avatarURL, 'https://example.com/avatar.png');
assert_equals(credential.password, 'pencil');
+ assert_equals(credential.type, 'password');
}, 'Interfaces and attributes of LocalCredential');
test(function() {
@@ -35,6 +37,7 @@ test(function() {
assert_equals(credential.name, 'name');
assert_equals(credential.avatarURL, '');
assert_equals(credential.password, 'pencil');
+ assert_equals(credential.type, 'password');
}, 'Construct a LocalCredential with an empty avatar URL.');
@@ -45,6 +48,7 @@ test(function() {
assert_equals(credential.name, '');
assert_equals(credential.avatarURL, '');
assert_equals(credential.password, 'pencil');
+ assert_equals(credential.type, 'password');
}, 'Construct a LocalCredential with an empty name and avatar URL.');
</script>

Powered by Google App Engine
This is Rietveld 408576698