mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 08:59:50 +00:00
LibWeb: Add initial CookieStore support
This commit is contained in:
parent
4a8c70b3a5
commit
d6c2893663
Notes:
github-actions[bot]
2025-08-08 17:12:40 +00:00
Author: https://github.com/IdanHo
Commit: d6c2893663
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5766
Reviewed-by: https://github.com/trflynn89 ✅
19 changed files with 134 additions and 2 deletions
|
|
@ -194,6 +194,7 @@ public:
|
|||
|
||||
[[nodiscard]] GC::Ref<Navigator> navigator();
|
||||
[[nodiscard]] GC::Ref<CloseWatcherManager> close_watcher_manager();
|
||||
[[nodiscard]] GC::Ref<CookieStore::CookieStore> cookie_store();
|
||||
|
||||
void alert(String const& message = {});
|
||||
bool confirm(Optional<String> const& message);
|
||||
|
|
@ -310,6 +311,7 @@ private:
|
|||
GC::Ptr<Navigator> m_navigator;
|
||||
GC::Ptr<Location> m_location;
|
||||
GC::Ptr<CloseWatcherManager> m_close_watcher_manager;
|
||||
GC::Ptr<CookieStore::CookieStore> m_cookie_store;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#window-navigation-api
|
||||
GC::Ptr<Navigation> m_navigation;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue