Repository navigation
Add TAO destination check for navigation redirect chains - #1931
Conversation
commented
Jun 9, 2026
|
Chrome team is supportive. |
commented
Jun 10, 2026
@annevk made a similar comment earlier on. What we can do is something like:
I don't know that it's simpler (and it seems like we'd be copying more values around between redirect responses), but happy to move to that model if that's simpler/easier |
commented
Jun 10, 2026
It's simpler to read (IMO) and potentially cleaner impl wise as there is no set manipulation as you go along and it's not a dedup check for each redirect. |
commented
Jun 21, 2026
|
@annevk - Can you take a look? Do I need to file a WebKit position on this, or will you be able to state support here? |
left a comment
There was a problem hiding this comment.
This design seemed reasonable to @achristensen07 and I so you can consider WebKit supportive.
commented
Jun 24, 2026
|
This looks good from the Mozilla side as well. |
As part of the WebPerfWG discussion on re-exposing redirectCount for opted-in cross-origin redirects, we discussed the fact that TAO currently only opts-in "backwards" in terms of origins, and doesn't constitute an opt-in to the destination origin, which is the appropriate opt-in for navigations (contrary to subresources).
This PR adds the mechanisms that can enable such "forward" opt-in, and can enable a response to a redirect chain to know that the redirect chain opted in to expose the redirects to its origin.
Once this lands, we'd use the relevant algorithms in the related HTML PR.
(See WHATWG Working Mode: Changes for more details.)
Preview | Diff