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

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

Issue 1165673005: Credential Manager: Rename 'avatarURL' to 'iconURL'. (1/3 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@remove-local
Patch Set: 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/credentialscontainer-request-basics.html
diff --git a/LayoutTests/http/tests/credentialmanager/credentialscontainer-request-basics.html b/LayoutTests/http/tests/credentialmanager/credentialscontainer-request-basics.html
index 8fd5d9408e0e56ff10081f265279ef0c5ab0ab1b..2cc05491bff818fda2cdb9b40f254650729c2263 100644
--- a/LayoutTests/http/tests/credentialmanager/credentialscontainer-request-basics.html
+++ b/LayoutTests/http/tests/credentialmanager/credentialscontainer-request-basics.html
@@ -79,20 +79,20 @@ function stubRejectionChecker(reason) {
(function () {
var id = "id";
var name = "name";
- var avatar = "http://example.com/";
+ var icon = "http://example.com/";
var password = "pencil";
function stubResolverChecker(c) {
verify_interface('PasswordCredential', c, {
id: 'string',
name: 'string',
- avatarURL: 'string',
+ iconURL: 'string',
password: 'string'
});
assert_equals(c.id, id);
assert_equals(c.name, name);
- assert_equals(c.avatarURL, avatar);
+ assert_equals(c.iconURL, icon);
assert_equals(c.password, password);
this.done();
}
@@ -100,7 +100,7 @@ function stubRejectionChecker(reason) {
var t = async_test("Verify that the mock returns the values we give it.");
t.step(function() {
if (window.testRunner)
- testRunner.addMockCredentialManagerResponse(id, name, avatar, password);
+ testRunner.addMockCredentialManagerResponse(id, name, icon, password);
navigator.credentials.request().then(
t.step_func(stubResolverChecker.bind(t)),
t.step_func(stubRejectionChecker.bind(t)));

Powered by Google App Engine
This is Rietveld 408576698