mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Stub for Credential Management API
Stub out basic Credential Management APIs and import IDL tests. Spec: https://w3c.github.io/webappsec-credential-management/
This commit is contained in:
parent
e14511468f
commit
da9eaf8788
Notes:
github-actions[bot]
2025-02-05 20:19:50 +00:00
Author: https://github.com/devgianlu
Commit: da9eaf8788
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3117
Reviewed-by: https://github.com/ADKaster ✅
20 changed files with 534 additions and 0 deletions
|
@ -54,6 +54,7 @@ public:
|
|||
[[nodiscard]] GC::Ref<PluginArray> plugins();
|
||||
[[nodiscard]] GC::Ref<Clipboard::Clipboard> clipboard();
|
||||
[[nodiscard]] GC::Ref<UserActivation> user_activation();
|
||||
[[nodiscard]] GC::Ref<CredentialManagement::CredentialsContainer> credentials();
|
||||
|
||||
Optional<FlyString> do_not_track() const;
|
||||
|
||||
|
@ -90,6 +91,9 @@ private:
|
|||
|
||||
// https://w3c.github.io/media-capabilities/#dom-navigator-mediacapabilities
|
||||
GC::Ptr<MediaCapabilitiesAPI::MediaCapabilities> m_media_capabilities;
|
||||
|
||||
// https://w3c.github.io/webappsec-credential-management/#framework-credential-management
|
||||
GC::Ptr<CredentialManagement::CredentialsContainer> m_credentials;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue