Skip to content

Commit

Permalink
Add storage access API (#1032)
Browse files Browse the repository at this point in the history
This is a Baseline 2023 feature.
  • Loading branch information
foolip authored May 6, 2024
1 parent 168e899 commit d9efef1
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
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

0 comments on commit d9efef1

Please sign in to comment.