Commit Graph

6 Commits

Author SHA1 Message Date
devgianlu
f14410c19f LibWeb: Do not pass GC::Ptr by reference
Also change it to `GC::Ref` since it's nonnull.
2026-02-22 14:55:30 -05:00
devgianlu
1edf60bf08 LibWeb: Make {,Federated,Password}Credential accessors const 2026-02-22 14:55:30 -05:00
Kenneth Myhra
953ea1a463 LibWeb: Implement PasswordCredential ctors and corresponding AOs
This implements the following AOs:
- Create a PasswordCredential from PasswordCredentialData.
- Create a PasswordCredential from an HTMLFormElement.

Which corresponds to these PasswordCredential ctors:
- constructor(PasswordCredentialData)
- constructor(HTMLFormElement)
2026-01-08 13:10:35 +01:00
Kenneth Myhra
b2918dbe3c LibWeb: Introduce mixin implementation CredentialUserData
Previously the attributes for the mixin CredentialUserData was added to
the Credential implementation. Now they are moved to the
CredentialUserData implementation, and any *Credential implementations
which includes this mixin in IDL can now instead inherit from the
CredentialUserData class.
2026-01-08 13:10:35 +01:00
Kenneth Myhra
4dc3d9b163 LibWeb: Remove 'origin' attribute
Aligning with the Chromium implementation, deviating from the spec we
remove the 'origin' attribute from FederatedCredentialInit and
PasswordCredentialData.
2026-01-08 13:10:35 +01:00
devgianlu
da9eaf8788 LibWeb: Stub for Credential Management API
Stub out basic Credential Management APIs and import IDL tests.

Spec: https://w3c.github.io/webappsec-credential-management/
2025-02-05 13:18:47 -07:00