Index: LayoutTests/http/tests/credentialmanager/credentialscontainer-store-basics.html |
diff --git a/LayoutTests/http/tests/credentialmanager/credentialscontainer-store-basics.html b/LayoutTests/http/tests/credentialmanager/credentialscontainer-store-basics.html |
index a5ca87b7c72b1609eed95a5b6f0bb4c62352d7c3..19392daaa4672a51299ffe1d6d4165db1977ba2e 100644 |
--- a/LayoutTests/http/tests/credentialmanager/credentialscontainer-store-basics.html |
+++ b/LayoutTests/http/tests/credentialmanager/credentialscontainer-store-basics.html |
@@ -12,12 +12,18 @@ function stubRejectionChecker(reason) { |
assert_unreached("store() should not reject, but did: " + reason.name); |
} |
-var local = new PasswordCredential('id', 'pencil', 'name', 'https://example.com/icon.png'); |
+var local = new PasswordCredential({ |
+ id: 'id', |
+ password: 'pencil', |
+ name: 'name', |
+ iconURL: 'https://example.com/icon.png' |
+}); |
+ |
var federated = new FederatedCredential({ |
- 'id': 'id', |
- 'provider': 'https://federation.test/', |
- 'name': 'name', |
- 'iconURL': 'https://example.test/icon.png' |
+ id: 'id', |
+ provider: 'https://federation.test/', |
+ name: 'name', |
+ iconURL: 'https://example.test/icon.png' |
}); |
async_test(function () { |