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

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

Issue 1162883002: Credential Manager: Align 'FederatedCredential' with the spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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/credentialscontainer-notifysignedin-basics.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/credentialmanager/credentialscontainer-notifyfailedsignin-basics.html
diff --git a/LayoutTests/http/tests/credentialmanager/credentialscontainer-notifyfailedsignin-basics.html b/LayoutTests/http/tests/credentialmanager/credentialscontainer-notifyfailedsignin-basics.html
index 42c9c352c61dc8a673caed9c296fb6799eaa8241..395473981134421967d8ff70e6d7371bd7061743 100644
--- a/LayoutTests/http/tests/credentialmanager/credentialscontainer-notifyfailedsignin-basics.html
+++ b/LayoutTests/http/tests/credentialmanager/credentialscontainer-notifyfailedsignin-basics.html
@@ -13,7 +13,12 @@ function stubRejectionChecker(reason) {
}
var local = new LocalCredential('id', 'pencil', 'name', 'https://example.com/avatar.png');
-var federated = new FederatedCredential('id', 'https://federation.net', 'name', 'https://example.com/avatar.png');
+var federated = new FederatedCredential({
+ 'id': 'id',
+ 'provider': 'https://federation.test/',
+ 'name': 'name',
+ 'iconURL': 'https://example.test/icon.png'
+});
async_test(function () {
navigator.credentials.notifyFailedSignIn().then(
« no previous file with comments | « no previous file | LayoutTests/http/tests/credentialmanager/credentialscontainer-notifysignedin-basics.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698