Skip to content

Commit

Permalink
Update draft-cutler-httpbis-partitioned-cookies.md
Browse files Browse the repository at this point in the history
Updated language to reference, Section 5.2.1 of RFC6265bis.
  • Loading branch information
aselya authored Oct 29, 2024
1 parent 471a47e commit 20fa128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draft-cutler-httpbis-partitioned-cookies.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ This algorithm could be added after {{Section 5.2 ("Same-site" and "cross-site"
{:quote}
> 1. Let top-document be the active document in document's browsing context's top-level browsing context.
> 2. Let "cookie-partition-key" be a tuple whose first element is the site of the top-document when the user agent made the request and whose second element is a boolean (cross-site-ancestor) indicating if the cookie was created in a cross-site context as defined in [Section 5.2 of RFC6265bis](https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis-13#section-5.2).
> 3. If the cookie is being read or written via a "non-HTTP" API, then cookie-partition-key's first element, the site (as defined in {{HTML}}), is the top-document associated with the non-HTTP API. If the origin assocaited with the cookie is not first-party to the site contained in the first element, the second element (cross-site-ancestor) must have a value that corresponds to a cross-site context.
> 3. If the cookie is being read or written via a "non-HTTP" API, then cookie-partition-key's first element, the site (as defined in {{HTML}}), is the top-document associated with the non-HTTP API. The second element (cross-site-ancestor) will contain a value of `true` if the "non-HTTP" API is called from a cross-site context as defined in [Section 5.2.1 of RFC6265bis](https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis-15#document-requests).

## Using Set-Cookie with Partitioned

Expand Down

0 comments on commit 20fa128

Please sign in to comment.