Skip to content

Add TAO destination check for navigation redirect chains#1931

Open
yoavweiss wants to merge 4 commits into
mainfrom
navigation_tao_destination
Open

Add TAO destination check for navigation redirect chains#1931
yoavweiss wants to merge 4 commits into
mainfrom
navigation_tao_destination

Conversation

@yoavweiss
Copy link
Copy Markdown
Collaborator

@yoavweiss yoavweiss commented Jun 5, 2026

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.

  • At least two implementers are interested (and none opposed):
  • Tests are written and can be reviewed and commented upon at:
  • Implementation bugs are filed:
    • Chromium: …
    • Gecko: …
    • WebKit: …
    • Deno (not for CORS changes): …
  • MDN issue is filed: …
  • The top of this comment includes a clear commit message to use.

(See WHATWG Working Mode: Changes for more details.)


Preview | Diff

@yoavweiss yoavweiss marked this pull request as draft June 5, 2026 08:26
@yoavweiss yoavweiss marked this pull request as ready for review June 5, 2026 08:41
@yoavweiss yoavweiss requested a review from annevk June 5, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant