Skip to content

Commit

Permalink
[credentialless] Update redirect behavior.
Browse files Browse the repository at this point in the history
In the Fetch specification PR, we changed our mind and decided to omit
credentials as soon as there at least one cross-origin request.
Previously, only the current URL was taken into account.

See:
whatwg/fetch#1229 (comment)

Bug: 1175099
Change-Id: I308281bdab95be264ca7a2ef990341bddd0e9bc2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3168346
Reviewed-by: Yutaka Hirano <[email protected]>
Commit-Queue: Arthur Sonzogni <[email protected]>
Cr-Commit-Position: refs/heads/main@{#923884}
  • Loading branch information
ArthurSonzogni authored and chromium-wpt-export-bot committed Sep 22, 2021
1 parent 30619eb commit a4da5d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
redirectTest("same-origin -> cross-origin",
same_origin, cross_origin, undefined)
redirectTest("cross-origin -> same-origin",
cross_origin, same_origin, cookie_same_origin);
cross_origin, same_origin, undefined);
redirectTest("cross-origin -> cross-origin",
cross_origin, cross_origin, undefined);
}, "Setup");
Expand Down

0 comments on commit a4da5d4

Please sign in to comment.