mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-25 10:24:13 +00:00
25 lines
564 B
Text
25 lines
564 B
Text
|
|
[Exposed=Window, SecureContext]
|
||
|
|
interface Credential {
|
||
|
|
readonly attribute USVString id;
|
||
|
|
readonly attribute DOMString type;
|
||
|
|
static Promise<boolean> isConditionalMediationAvailable();
|
||
|
|
static Promise<undefined> willRequestConditionalCreation();
|
||
|
|
};
|
||
|
|
|
||
|
|
[SecureContext]
|
||
|
|
interface mixin CredentialUserData {
|
||
|
|
readonly attribute USVString name;
|
||
|
|
readonly attribute USVString iconURL;
|
||
|
|
};
|
||
|
|
|
||
|
|
dictionary CredentialData {
|
||
|
|
required USVString id;
|
||
|
|
};
|
||
|
|
|
||
|
|
enum CredentialMediationRequirement {
|
||
|
|
"silent",
|
||
|
|
"optional",
|
||
|
|
"conditional",
|
||
|
|
"required"
|
||
|
|
};
|