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

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

Issue 1162443006: Credential Management: Rename 'LocalCredential' to 'PasswordCredential' (1/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@add-type
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/credentialscontainer-notifysignedin-basics.html
diff --git a/LayoutTests/http/tests/credentialmanager/credentialscontainer-notifysignedin-basics.html b/LayoutTests/http/tests/credentialmanager/credentialscontainer-notifysignedin-basics.html
index 17bec6f5757268d211f1022e40e429865231ba7d..e4d1d761ec38e432f0624180c426ba2ed10e7275 100644
--- a/LayoutTests/http/tests/credentialmanager/credentialscontainer-notifysignedin-basics.html
+++ b/LayoutTests/http/tests/credentialmanager/credentialscontainer-notifysignedin-basics.html
@@ -12,7 +12,7 @@ function stubRejectionChecker(reason) {
assert_unreached("notifySignedIn() should not reject, but did: " + reason.name);
}
-var local = new LocalCredential('id', 'pencil', 'name', 'https://example.com/avatar.png');
+var local = new PasswordCredential('id', 'pencil', 'name', 'https://example.com/avatar.png');
var federated = new FederatedCredential({
'id': 'id',
'provider': 'https://federation.test/',
@@ -27,7 +27,7 @@ async_test(function () {
assert_equals(reason.name, "TypeError");
this.done();
}));
-}, "Verify the basics of notifyFailedSignIn(): LocalCredential.");
+}, "Verify the basics of notifyFailedSignIn(): PasswordCredential.");
async_test(function () {
navigator.credentials.notifySignedIn("not a credential").then(
@@ -36,13 +36,13 @@ async_test(function () {
assert_equals(reason.name, "TypeError");
this.done();
}));
-}, "Verify the basics of notifyFailedSignIn(): LocalCredential.");
+}, "Verify the basics of notifyFailedSignIn(): PasswordCredential.");
async_test(function () {
navigator.credentials.notifySignedIn(local).then(
this.step_func(stubResolverChecker.bind(this)),
this.step_func(stubRejectionChecker.bind(this)));
-}, "Verify the basics of notifySignedIn(): LocalCredential.");
+}, "Verify the basics of notifySignedIn(): PasswordCredential.");
async_test(function () {
navigator.credentials.notifySignedIn(federated).then(

Powered by Google App Engine
This is Rietveld 408576698