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

Add storage access API #1032

Merged
merged 1 commit into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions features/storage-access.dist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Generated from: storage-access.yml
# Do not edit this file by hand. Edit the source file instead!

name: Storage access
description: The `document.requestStorageAccess()` method allows content in iframes to request storing and reading cookies and other site data, while the `document.hasStorageAccess()` method checks if such access is granted.
spec: https://privacycg.github.io/storage-access/
usage_stats:
- https://chromestatus.com/metrics/feature/timeline/popularity/3310 # hasStorageAccess
- https://chromestatus.com/metrics/feature/timeline/popularity/3311 # requestStorageAccess
status:
baseline: low
baseline_low_date: 2023-12-05
support:
chrome: "119"
chrome_android: "120"
edge: "85"
firefox: "65"
firefox_android: "65"
safari: "11.1"
safari_ios: "11.3"
# Note that document.requestStorageAccessFor() is defined in
# https://privacycg.github.io/requestStorageAccessFor/ and has a different
# implementation history.
compat_features:
- api.Document.hasStorageAccess
- api.Document.requestStorageAccess
12 changes: 12 additions & 0 deletions features/storage-access.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Storage access
description: The `document.requestStorageAccess()` method allows content in iframes to request storing and reading cookies and other site data, while the `document.hasStorageAccess()` method checks if such access is granted.
spec: https://privacycg.github.io/storage-access/
usage_stats:
- https://chromestatus.com/metrics/feature/timeline/popularity/3310 # hasStorageAccess
- https://chromestatus.com/metrics/feature/timeline/popularity/3311 # requestStorageAccess
# Note that document.requestStorageAccessFor() is defined in
# https://privacycg.github.io/requestStorageAccessFor/ and has a different
# implementation history.
compat_features:
- api.Document.hasStorageAccess
- api.Document.requestStorageAccess
Loading