mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 23:53:20 +00:00
27 lines
711 B
Text
27 lines
711 B
Text
![]() |
#import <CredentialManagement/Credential.idl>
|
||
|
|
||
|
[Exposed=Window, SecureContext]
|
||
|
interface PasswordCredential : Credential {
|
||
|
constructor(HTMLFormElement form);
|
||
|
constructor(PasswordCredentialData data);
|
||
|
readonly attribute USVString password;
|
||
|
};
|
||
|
PasswordCredential includes CredentialUserData;
|
||
|
|
||
|
partial dictionary CredentialRequestOptions {
|
||
|
boolean password = false;
|
||
|
};
|
||
|
|
||
|
dictionary PasswordCredentialData : CredentialData {
|
||
|
USVString name;
|
||
|
USVString iconURL;
|
||
|
required USVString origin;
|
||
|
required USVString password;
|
||
|
};
|
||
|
|
||
|
typedef (PasswordCredentialData or HTMLFormElement) PasswordCredentialInit;
|
||
|
|
||
|
partial dictionary CredentialCreationOptions {
|
||
|
PasswordCredentialInit password;
|
||
|
};
|