webdriver: configure Expires and SameSite in handle_add_cookie (#38285)

Handler::handle_add_cookie did not configure the attributes "Expires"
and "SameSite". This patch adds them.

Testing: Passing WPT tests that were expected to fail.
Fixes: https://github.com/servo/servo/pull/37715#issuecomment-3069734014

Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
This commit is contained in:
Kingsley Yung 2025-07-26 20:23:24 +08:00 committed by GitHub
parent a3de3ffa75
commit 4d899ecba5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 30 additions and 30 deletions

1
Cargo.lock generated
View file

@ -9520,6 +9520,7 @@ dependencies = [
"servo_geometry",
"servo_url",
"stylo_traits",
"time",
"uuid",
"webdriver",
]