Fix redirect handling on ThreadableLoader
- Decrement |cors_redirect_limit_| even when IsAllowedRedirect(...) returns true. - Redirect count logic is not applied when |out_of_blink_cors_| is set. - Take the return value of a call of client_->WillFollowRedirect introduced at [1] into account. 1: https://chromium-review.googlesource.com/c/chromium/src/+/1150695 Bug: 736308, 353768 Change-Id: I5c251881902a66429d7c601e62786bd20890eb95 Reviewed-on: https://chromium-review.googlesource.com/1156120 Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Reviewed-by:Takashi Toyoshima <toyoshim@chromium.org> Reviewed-by:
Hiroshige Hayashizaki <hiroshige@chromium.org> Cr-Commit-Position: refs/heads/master@{#580054}
Showing
Please register or sign in to comment