mirror of
https://github.com/servo/servo
synced 2026-05-13 18:37:30 +02:00
Based on RFC6256 expiration must be limited to 400 days. This also solves a bug I found where large max-age values could cause an overflow panic when adding. Testing: New unit test added. There doesn't appear to be a WPT test that relies on this under cookies/ but cookiestore/ does. Signed-off-by: Sebastian C <sebsebmc@gmail.com>