Skip to content

Commit

Permalink
Update draft-cutler-httpbis-partitioned-cookies.md
Browse files Browse the repository at this point in the history
Update section referenced
  • Loading branch information
aselya authored Oct 30, 2024
1 parent 20fa128 commit b22836c
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. 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).
> 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.8.2 of RFC6265bis](https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis-15#name-non-http-apis).

## Using Set-Cookie with Partitioned

Expand Down

0 comments on commit b22836c

Please sign in to comment.