LibWeb: Add missing cookie-age-limit steps to CookieStore::set()

This commit is contained in:
Idan Horowitz 2025-08-21 00:06:59 +03:00 committed by Tim Flynn
parent e059c9d5a3
commit 73266c8498
Notes: github-actions[bot] 2025-08-26 10:29:35 +00:00
3 changed files with 19 additions and 9 deletions

View file

@ -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 {