1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:37:34 +00:00

Browser: Allow changing of existing Cookies in the CookieJar

And attach all the plumbing through to Tab over BrowserWindow.
This commit is contained in:
Tobias Christiansen 2022-10-16 19:48:19 +02:00 committed by Linus Groh
parent 813ca5ebbe
commit 30360918d4
4 changed files with 35 additions and 0 deletions

View file

@ -64,6 +64,7 @@ public:
Function<String(const URL&, Web::Cookie::Source source)> on_get_cookie;
Function<void(const URL&, Web::Cookie::ParsedCookie const& cookie, Web::Cookie::Source source)> on_set_cookie;
Function<void()> on_dump_cookies;
Function<void(URL const&, Web::Cookie::Cookie)> on_update_cookie;
Function<Vector<Web::Cookie::Cookie>()> on_get_cookies_entries;
Function<OrderedHashMap<String, String>()> on_get_local_storage_entries;
Function<OrderedHashMap<String, String>()> on_get_session_storage_entries;