- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 19 May 2025 08:46:56 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 19 May 2025 15:47:00 UTC
@annevk commented on this pull request. > + +<h3 id=cookie-infrastructure>Cookie Infrastructure</h3> + +These algorithms are not only for use with the `<code>Cookie</code>` header, and are used in other +specifications. + +<div algorithm> +<p>To <dfn>determine the same-site mode</dfn> for a given <a for=/>request</a> <var>request</var>, +run these steps: + +<ol> + <li><p><a for=/>Assert</a>: <var>request</var>'s <a for=request>method</a> is "GET" or "POST". + + <li><p>If <var>request</var>'s <a for=request>top-level navigation initiator origin</a> is not + null and is not <a for=/>same site</a> to <var>request</var>'s <a for=request>URL</a>'s + <a for=url>origin</a>, return "<code>UnsetOrLess</code>". This still applies. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1807#discussion_r2096032069 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1807/review/2851275961@github.com>
Received on Monday, 19 May 2025 15:47:00 UTC