servo/components/net/tests
Kingsley Yung 464d71ecfc
Implement cookie expiry date parsing algorithm (#37715)
The cookie-rs library parses the cookie expiry date based on the format
from RFC 2616 (for HTTP/1.1), which is stricter than the format from RFC
6265 (for HTTP cookie).

This patch implements the cookie expiry date algorithm from RFC 6265.
When Cookie::parse fails in parsing the expiry date, we try to parse the
expiry again with this algorithm, to provide extra compatibility with
legacy systems.

Testing: Pass a WPT test that was expected to fail before, and add a
unit test.
Fixes: #36452

---------

Signed-off-by: Kingsley Yung <kingsley@kkoyung.dev>
2025-07-11 05:18:11 +00:00
..
cookie.rs Implement cookie expiry date parsing algorithm (#37715) 2025-07-11 05:18:11 +00:00
cookie_http_state.rs dependencies: Upgrade cookie and rename Servo's Cookie to ServoCookie (#32861) 2024-07-26 16:13:39 +00:00
cookie_http_state_utils.py Fix remaining flake8 warnings 2020-06-21 03:34:32 +02:00
data_loader.rs Send WillNavigate earlier during navigation startup (#37778) 2025-07-05 11:35:37 +00:00
fetch.rs Send WillNavigate earlier during navigation startup (#37778) 2025-07-05 11:35:37 +00:00
file_loader.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
filemanager_thread.rs servoshell: Migrate to egui-file-dialog from tinyfiledialogs (#34823) 2025-02-04 18:24:24 +00:00
hsts.rs Replace hsts preload list hashmap with an FST (#37015) 2025-05-20 04:26:55 +00:00
http_cache.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
http_loader.rs Send WillNavigate earlier during navigation startup (#37778) 2025-07-05 11:35:37 +00:00
main.rs Implement basics of link preloading (#37036) 2025-05-29 11:26:27 +00:00
resource_thread.rs libservo: Remove a couple EmbedderMethods (#36276) 2025-04-01 22:59:50 +00:00
subresource_integrity.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
test.css tests: Use Ahem font provided by WPT harness. (#37054) 2025-06-09 08:13:05 +00:00
test.jpeg