-
Notifications
You must be signed in to change notification settings - Fork 27
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
Switch to (top-level site, embedded site) keying (closes #147, #156) #159
Conversation
privacycg#156) This updates the permission key for storage-access to (site, site), and also removes the concept of the "partitioned storage key", which was origin-keyed as well. The storage key was only used for running the implementation-defined steps that are supposed to be removed as of privacycg#156.
For future context:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, modulo example and tests. I'd prefer we follow https://github.com/whatwg/meta/blob/main/COMMITTING.md for our commit messages. E.g., issues that get closed should go in the commit body, not the title.
(closes privacycg#156) This was originally part of privacycg#159 but I'm submitting it separately since this is a rather editorial change that we can probably fast-track without including it in the other PR which still needs WPT etc.
Merged with #161 but I still need to write tests for this and update the example for the permission key. |
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
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
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
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
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
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
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
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
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
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 <danakj@chromium.org> Commit-Queue: Johann Hofmann <johannhof@chromium.org> Reviewed-by: Christian Dullweber <dullweber@chromium.org> Cr-Commit-Position: refs/heads/main@{#1120269}
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 <danakj@chromium.org> Commit-Queue: Johann Hofmann <johannhof@chromium.org> Reviewed-by: Christian Dullweber <dullweber@chromium.org> Cr-Commit-Position: refs/heads/main@{#1120269}
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 <danakj@chromium.org> Commit-Queue: Johann Hofmann <johannhof@chromium.org> Reviewed-by: Christian Dullweber <dullweber@chromium.org> Cr-Commit-Position: refs/heads/main@{#1120269}
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 <danakj@chromium.org> Commit-Queue: Johann Hofmann <johannhof@chromium.org> Reviewed-by: Christian Dullweber <dullweber@chromium.org> Cr-Commit-Position: refs/heads/main@{#1120269}
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 <danakj@chromium.org> Commit-Queue: Johann Hofmann <johannhof@chromium.org> Reviewed-by: Christian Dullweber <dullweber@chromium.org> Cr-Commit-Position: refs/heads/main@{#1120269}
We have WPT for this now, I filed a bug with Firefox and I added back the example, so merging this now. |
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 <danakj@chromium.org> Commit-Queue: Johann Hofmann <johannhof@chromium.org> Reviewed-by: Christian Dullweber <dullweber@chromium.org> Cr-Commit-Position: refs/heads/main@{#1120269}
Automatic update from web-platform-tests Use (site, site) for SAA grants 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 <danakj@chromium.org> Commit-Queue: Johann Hofmann <johannhof@chromium.org> Reviewed-by: Christian Dullweber <dullweber@chromium.org> Cr-Commit-Position: refs/heads/main@{#1120269} -- wpt-commits: b070171e29a18891540d1a600ac649098b5571a2 wpt-pr: 38908
This updates the permission key for storage-access to (site, site), and also removes the concept of the "partitioned storage key", which was origin-keyed as well. The storage key was only used for running the implementation-defined steps that are supposed to be removed as of #156.
(See WHATWG Working Mode: Changes for more details.)
Preview | Diff