Repository navigation
Conversation
Drafted with AI help.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Retrieve Cookies sorts by "path's size", the number of segments. RFC 6265, RFC 6265bis 5.8.3, browsers and WPT all use length. The results differ in two ways.
/is[""]and/foois["foo"], both of size 1. Witha=1; Path=/, thenb=2; Path=/foo, a request to/foo/bargivesa=1; b=2by the steps. Chromium 156, Firefox 157 and WebKit 27.2 giveb=2; a=1.cookies/ordering/ordering.sub.html"(2)" already expects this (testHon/cookiesbeforetestCon/, though created later)./a/and/a/bare both of size 2. The steps fall back to creation order; all three put/a/bfirst. I found no test for equal segment counts, so Cookies: add tests for expiry at read, path length order, repeated attributes and other methods web-platform-tests/wpt#64550 addscookies/ordering/equal-segment-count.html(1/1 in all three).Drafted with AI help.