Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rSAFor] Require CORS for TopLevelStorageAccess grants eligibility
TopLevelStorageAccess grants should only be considered when the request mode is 'cors'. To perform this check, add enum CookieSettingOverride::kTopLevelStorageAccessGrantEligible to url_request.cookie_setting_overrides_ when the request mode is cors, and only allow cross-site cookie granted by TopLevelStorageAccess if this require enum exists. Bug: 1401091 Change-Id: I41a74f530882e38c8051a53013e8a3bf149f1b02 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4144296 Reviewed-by: Maks Orlovich <morlovich@chromium.org> Reviewed-by: Chris Fredrickson <cfredric@chromium.org> Commit-Queue: Shuran Huang <shuuran@chromium.org> Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org> Reviewed-by: Balazs Engedy <engedy@chromium.org> Cr-Commit-Position: refs/heads/main@{#1096976}
- Loading branch information
1 parent
1290607
commit ae8c328
Showing
12 changed files
with
435 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.