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 <yhirano@chromium.org>
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#923884}
  • Loading branch information
ArthurSonzogni authored and Gabisampaio committed Nov 18, 2021
1 parent 8437728 commit 1408ba1
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 1408ba1

Please sign in to comment.