mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Add missing cookie-age-limit steps to CookieStore::set()
This commit is contained in:
parent
e059c9d5a3
commit
73266c8498
Notes:
github-actions[bot]
2025-08-26 10:29:35 +00:00
Author: https://github.com/IdanHo
Commit: 73266c8498
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5946
Reviewed-by: https://github.com/trflynn89 ✅
3 changed files with 19 additions and 9 deletions
|
|
@ -33,6 +33,8 @@ WEB_API bool cookie_contains_invalid_control_character(StringView);
|
|||
WEB_API bool domain_matches(StringView string, StringView domain_string);
|
||||
WEB_API String default_path(URL::URL const&);
|
||||
|
||||
constexpr inline AK::Duration maximum_cookie_age = AK::Duration::from_seconds(400LL * 24 * 60 * 60);
|
||||
|
||||
}
|
||||
|
||||
namespace IPC {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue