Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use (site, site) for SAA grants #38908

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Mar 9, 2023

This updates storage-access permissions to apply on an (embedded site,
top-level site) scope as detailed in
privacycg/storage-access#159.

For adding WPT tests, I patched up the web_test_permission_manager to
special-case the storage-access permission to (site, site) scope. I kept
things intentionally simple for now but we could consider abstracting
out the scope into a "permission key" concept in that file, as it is
done in the permissions spec now.

There's follow-up work here to make this (and the existing top-level
site scope) sync up with the scope that is defined in content settings,
see https://crbug.com/1422971

Bug: 1418470

Change-Id: I316f682d24d962f79fcac332365790bca383c6ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4307251
Reviewed-by: danakj <[email protected]>
Commit-Queue: Johann Hofmann <[email protected]>
Reviewed-by: Christian Dullweber <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1120269}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-4307251 branch 4 times, most recently from 37d0072 to 3f6a822 Compare March 16, 2023 08:48
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-4307251 branch 4 times, most recently from d126995 to 6b2b814 Compare March 21, 2023 21:30
This updates storage-access permissions to apply on an (embedded site,
top-level site) scope as detailed in
privacycg/storage-access#159.

For adding WPT tests, I patched up the web_test_permission_manager to
special-case the storage-access permission to (site, site) scope. I kept
things intentionally simple for now but we could consider abstracting
out the scope into a "permission key" concept in that file, as it is
done in the permissions spec now.

There's follow-up work here to make this (and the existing top-level
site scope) sync up with the scope that is defined in content settings,
see https://crbug.com/1422971

Bug: 1418470

Change-Id: I316f682d24d962f79fcac332365790bca383c6ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4307251
Reviewed-by: danakj <[email protected]>
Commit-Queue: Johann Hofmann <[email protected]>
Reviewed-by: Christian Dullweber <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1120269}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants