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

Unified Diff: LayoutTests/http/tests/credentialmanager/credentialscontainer-notifysignedin-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
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 5abb2741bb043f93e48092ca9f760784dec4ee21..17bec6f5757268d211f1022e40e429865231ba7d 100644
--- a/LayoutTests/http/tests/credentialmanager/credentialscontainer-notifysignedin-basics.html
+++ b/LayoutTests/http/tests/credentialmanager/credentialscontainer-notifysignedin-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.notifySignedIn().then(

Powered by Google App Engine
This is Rietveld 408576698