From 20fa128529092de9ed9a3b35707e4d63914a3f12 Mon Sep 17 00:00:00 2001 From: Aaron Selya Date: Tue, 29 Oct 2024 15:39:44 -0400 Subject: [PATCH] Update draft-cutler-httpbis-partitioned-cookies.md Updated language to reference, Section 5.2.1 of RFC6265bis. --- draft-cutler-httpbis-partitioned-cookies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draft-cutler-httpbis-partitioned-cookies.md b/draft-cutler-httpbis-partitioned-cookies.md index d4d5827..e1bb7b0 100644 --- a/draft-cutler-httpbis-partitioned-cookies.md +++ b/draft-cutler-httpbis-partitioned-cookies.md @@ -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