Index: LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html |
diff --git a/LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html b/LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html |
index 4821c95fc7a80d9486d8d3512adfe0de25cb61d8..6b928ea49287c10d6b7713dc2555cebd58dd6bde 100644 |
--- a/LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html |
+++ b/LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html |
@@ -5,13 +5,13 @@ |
<script src="/serviceworker/resources/interfaces.js"></script> |
<script> |
test(function() { |
- var credential = new PasswordCredential('id', 'pencil', 'name', 'https://example.com/avatar.png'); |
+ var credential = new PasswordCredential('id', 'pencil', 'name', 'https://example.com/icon.png'); |
verify_interface('PasswordCredential', credential, { |
formData: 'object', |
id: 'string', |
name: 'string', |
- avatarURL: 'string', |
+ iconURL: 'string', |
password: 'string', |
type: 'string' |
}); |
@@ -19,7 +19,7 @@ test(function() { |
assert_true(credential.formData instanceof FormData); |
assert_equals(credential.id, 'id'); |
assert_equals(credential.name, 'name'); |
- assert_equals(credential.avatarURL, 'https://example.com/avatar.png'); |
+ assert_equals(credential.iconURL, 'https://example.com/icon.png'); |
assert_equals(credential.password, 'pencil'); |
assert_equals(credential.type, 'password'); |
}, 'Interfaces and attributes of PasswordCredential'); |
@@ -28,27 +28,27 @@ test(function() { |
assert_throws(new SyntaxError(), function () { |
var credential = new PasswordCredential('id', 'pencil', 'name', '-'); |
}); |
-}, 'Construct a PasswordCredential with an invalid avatar URL.'); |
+}, 'Construct a PasswordCredential with an invalid icon URL.'); |
test(function() { |
var credential = new PasswordCredential('id', 'pencil', 'name'); |
assert_equals(credential.id, 'id'); |
assert_equals(credential.name, 'name'); |
- assert_equals(credential.avatarURL, ''); |
+ assert_equals(credential.iconURL, ''); |
assert_equals(credential.password, 'pencil'); |
assert_equals(credential.type, 'password'); |
-}, 'Construct a PasswordCredential with an empty avatar URL.'); |
+}, 'Construct a PasswordCredential with an empty icon URL.'); |
test(function() { |
var credential = new PasswordCredential('id', 'pencil'); |
assert_equals(credential.id, 'id'); |
assert_equals(credential.name, ''); |
- assert_equals(credential.avatarURL, ''); |
+ assert_equals(credential.iconURL, ''); |
assert_equals(credential.password, 'pencil'); |
assert_equals(credential.type, 'password'); |
-}, 'Construct a PasswordCredential with an empty name and avatar URL.'); |
+}, 'Construct a PasswordCredential with an empty name and icon URL.'); |
</script> |