Re: [whatwg/fetch] Integrate with new draft cookie spec (draft-annevk-johannhof-httpbis-cookies/00+ε) (PR #1807)

@bvandersloot-mozilla commented on this pull request.



> @@ -2489,6 +2518,9 @@ this is also tracked internally using the request's <a for=request>timing allow
 <p>A <a for=/>response</a> has an associated <dfn for=response>has-cross-origin-redirects</dfn>
 (a boolean), which is initially false.
 
+<p>A <a for=/>response</a> has an associated <dfn for=response>has-cross-site-redirects</dfn>
+(a boolean), which is initially false.

That is a bit cleaner. I thought it would have the side effect of being a bit harder to read, unless we define algorithms for these two booleans which do the two obvious operations. But now that I type an example out, I like the enum even better.

e.g. compare "If response's has-cross-origin-redirects is false" to "If response's redirect taint is not 'cross-origin'".



-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1807#discussion_r1987871968
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1807/review/2671957142@github.com>

Received on Monday, 10 March 2025 19:09:25 UTC