Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Issue 2264503002: Clean up SecurityOrigin handling around CrossOriginAccessControl::handleRedirect() (Closed)

Created:
4 years, 4 months ago by tyoshino (SeeGerritForStatus)
Modified:
4 years, 4 months ago
Reviewers:
Mike West
CC:
blink-reviews, chromium-reviews, gavinp+loader_chromium.org, Nate Chapin, loading-reviews_chromium.org, loading-reviews+fetch_chromium.org, tyoshino+watch_chromium.org, Yoav Weiss
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up SecurityOrigin handling around CrossOriginAccessControl::handleRedirect() - improve readability by reordering code and giving better variable names. - introduce securityOriginForHeader and stop reusing |securityOrigin| in handleRedirect() - originalURL -> lastURL as there can be multiple redirects to follow - update some of the comments to refer to the sections of the up-to-date Fetch Standard - make arguments const where possible - add TODOs for improving spec conformance later - drop PassRefPtr from setHTTPOrigin() and addHTTPOriginIfNeeded() and add const instead as they don't pass the SecurityOrigin to anywhere. BUG=none R=mkwst Committed: https://crrev.com/f06159edd793696afba02d1d8a105141f2b26185 Cr-Commit-Position: refs/heads/master@{#413418}

Patch Set 1 #

Patch Set 2 : a #

Patch Set 3 : a #

Patch Set 4 : Rebase #

Messages

Total messages: 22 (14 generated)
tyoshino (SeeGerritForStatus)
BTW, Mike, your name is still set to "Mike West (OOO until 15th)". Update or ...
4 years, 4 months ago (2016-08-19 08:47:44 UTC) #4
tyoshino (SeeGerritForStatus)
Sorry, please hold on. I see some bugs.
4 years, 4 months ago (2016-08-19 08:51:29 UTC) #7
tyoshino (SeeGerritForStatus)
On 2016/08/19 08:51:29, tyoshino wrote: > Sorry, please hold on. I see some bugs. Hmm, ...
4 years, 4 months ago (2016-08-19 09:07:31 UTC) #8
Mike West
LGTM. Thanks for poking me to update the label. I forgot about that completely! That ...
4 years, 4 months ago (2016-08-19 09:17:32 UTC) #9
tyoshino (SeeGerritForStatus)
On 2016/08/19 09:17:32, Mike West (OOO until 29th) wrote: > Thanks for poking me to ...
4 years, 4 months ago (2016-08-19 10:04:52 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2264503002/60001
4 years, 4 months ago (2016-08-22 03:48:02 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-22 08:11:02 UTC) #20
commit-bot: I haz the power
4 years, 4 months ago (2016-08-22 08:13:55 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f06159edd793696afba02d1d8a105141f2b26185
Cr-Commit-Position: refs/heads/master@{#413418}

Powered by Google App Engine
This is Rietveld 408576698