LibWeb: Remove default value from CredentialRequestOptions.password

This is probably a spec bug. If the property has a default value it will
always be populated in the `CredentialRequestOptions` dictionary making
that credential type always active.
This commit is contained in:
devgianlu 2025-02-07 17:48:35 +01:00
parent db2e6d0198
commit d130733f56

View file

@ -9,7 +9,10 @@ interface PasswordCredential : Credential {
PasswordCredential includes CredentialUserData;
partial dictionary CredentialRequestOptions {
boolean password = false;
// FIXME: Spec bug?
// https://github.com/w3c/webappsec-credential-management/issues/270
// boolean password = false;
boolean password;
};
dictionary PasswordCredentialData : CredentialData {