DescriptionClean 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)
|