Skip to content

Commit d9efef1

Browse files
authored
Add storage access API (#1032)
This is a Baseline 2023 feature.
1 parent 168e899 commit d9efef1

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

features/storage-access.dist.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Generated from: storage-access.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
name: Storage access
5+
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.
6+
spec: https://privacycg.github.io/storage-access/
7+
usage_stats:
8+
- https://chromestatus.com/metrics/feature/timeline/popularity/3310 # hasStorageAccess
9+
- https://chromestatus.com/metrics/feature/timeline/popularity/3311 # requestStorageAccess
10+
status:
11+
baseline: low
12+
baseline_low_date: 2023-12-05
13+
support:
14+
chrome: "119"
15+
chrome_android: "120"
16+
edge: "85"
17+
firefox: "65"
18+
firefox_android: "65"
19+
safari: "11.1"
20+
safari_ios: "11.3"
21+
# Note that document.requestStorageAccessFor() is defined in
22+
# https://privacycg.github.io/requestStorageAccessFor/ and has a different
23+
# implementation history.
24+
compat_features:
25+
- api.Document.hasStorageAccess
26+
- api.Document.requestStorageAccess

features/storage-access.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Storage access
2+
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.
3+
spec: https://privacycg.github.io/storage-access/
4+
usage_stats:
5+
- https://chromestatus.com/metrics/feature/timeline/popularity/3310 # hasStorageAccess
6+
- https://chromestatus.com/metrics/feature/timeline/popularity/3311 # requestStorageAccess
7+
# Note that document.requestStorageAccessFor() is defined in
8+
# https://privacycg.github.io/requestStorageAccessFor/ and has a different
9+
# implementation history.
10+
compat_features:
11+
- api.Document.hasStorageAccess
12+
- api.Document.requestStorageAccess

0 commit comments

Comments
 (0)