Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 40 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /credential-management/idlharness.https.window.html - WPT Dashboard Interop Dashboard
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// META: timeout=long
'use strict';
idl_test(
['credential-management'],
['html', 'dom'],
idl_array => {
idl_array.add_objects({
CredentialsContainer: ['navigator.credentials'],
PasswordCredential: ['passwordCredential'],
FederatedCredential: ['federatedCredential'],
});
try {
self.passwordCredential = new PasswordCredential({
id: "id",
password: "pencil",
name: "name"
});
} catch (e) {}
try {
self.federatedCredential = new FederatedCredential({
id: "id",
name: "name"
});
} catch (e) {}
}
)