servo/tests/wpt/meta/xhr
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
..
formdata Forward manager_number to NullBrowser constructor (#37125) 2025-05-25 15:12:55 +00:00
abort-after-stop.window.js.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
access-control-basic-allow-preflight-cache.any.js.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
access-control-sandboxed-iframe-denied-without-wildcard.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
access-control-sandboxed-iframe-denied.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
allow-lists-starting-with-comma.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
blob-range.any.js.ini Update test expectations (#35010) 2025-01-15 20:30:47 +00:00
event-error.sub.any.js.ini
getallresponseheaders.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
getresponseheader.any.js.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
idlharness.any.js.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
open-during-abort-event.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
open-during-abort-processing.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
open-url-encoding.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
open-url-multi-window-2.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
open-url-multi-window-3.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
open-url-multi-window-4.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
open-url-multi-window-6.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
open-url-redirected-sharedworker-origin.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
overridemimetype-blob.html.ini Switch to data_url::mime for document content type (#36522) 2025-04-15 17:12:48 +00:00
response-body-errors.any.js.ini
responsedocument-decoding.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
responsetext-decoding.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
responsexml-document-properties.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
responsexml-non-well-formed.htm.ini Ensure parsers initiated from DOMParser always complete. (#33056) 2024-08-15 23:45:00 +00:00
send-authentication-basic-repeat-no-args.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
send-content-type-charset.htm.ini Switch to data_url::mime for document content type (#36522) 2025-04-15 17:12:48 +00:00
send-data-formdata.any.js.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
send-data-sharedarraybuffer.any.js.ini Update web-platform-tests to revision b'daa07cf3c47652ed67e637f2a39bbc34f91cfe10' (#32071) 2024-04-14 04:39:35 +00:00
send-entity-body-document-bogus.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
send-entity-body-document.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
send-no-response-event-order.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
setrequestheader-case-insensitive.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
setrequestheader-combining.window.js.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
setrequestheader-content-type.htm.ini Fix content-type when creating a Request with FormData body (#36194) 2025-03-28 13:33:07 +00:00
setrequestheader-header-allowed.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
setrequestheader-header-forbidden.htm.ini
setrequestheader-open-setrequestheader.htm.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
status.h2.window.js.ini
sync-no-timeout.any.js.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
sync-xhr-supported-by-feature-policy.html.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
template-element.html.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
xhr-authorization-redirect.any.js.ini fetch: header tweaks to improve compliance with fetch spec (#33562) 2024-09-27 16:05:55 +00:00
xmlhttprequest-sync-default-feature-policy.sub.html.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00
xmlhttprequest-timeout-worker-synconworker.html.ini Run same tests for layout-2020 and layout-2013 (#30092) 2023-08-15 00:28:32 +00:00