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 StorageAccessHandle #33391

Merged
merged 29 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
56ab95e
Add StorageAccessHandle
arichiv May 3, 2024
f05dabc
fix
arichiv May 3, 2024
34a2b75
fix
arichiv May 3, 2024
3dae799
fix
arichiv May 3, 2024
dfdcfa0
Update files/en-us/web/api/document/requeststorageaccess/index.md
arichiv May 3, 2024
47a01a7
Update files/en-us/web/api/storage_access_api/using/index.md
arichiv May 3, 2024
5e3fa9b
Update files/en-us/web/api/storage_access_api/using/index.md
arichiv May 3, 2024
cd7cad4
Update files/en-us/web/api/storage_access_api/using/index.md
arichiv May 3, 2024
ca39133
Update files/en-us/web/api/storageaccesshandle/index.md
arichiv May 3, 2024
bf60b5d
fix
arichiv May 3, 2024
f6e4023
fix
arichiv May 3, 2024
70603c5
fix
arichiv May 3, 2024
cb6d39c
fix
arichiv May 3, 2024
6d374cf
fix
arichiv May 5, 2024
c4f3492
Merge branch 'main' into patch-3
arichiv May 5, 2024
641eacc
fix
arichiv May 5, 2024
3a9456f
Merge branch 'main' into patch-3
arichiv May 6, 2024
2d43dc9
Merge branch 'main' into patch-3
arichiv May 7, 2024
275de8c
Merge branch 'main' into patch-3
arichiv May 13, 2024
05d72c4
Merge branch 'main' into patch-3
arichiv May 14, 2024
3bfe6b4
Merge branch 'main' into patch-3
arichiv May 15, 2024
5c3ef39
Merge branch 'main' into patch-3
arichiv May 16, 2024
359d1eb
Merge branch 'main' into patch-3
arichiv May 17, 2024
19c8cf6
Merge branch 'main' into patch-3
arichiv May 20, 2024
5cb0515
Merge branch 'main' into patch-3
arichiv May 21, 2024
c08b7ab
Update index.md
arichiv May 21, 2024
fc27bed
Merge branch 'main' into patch-3
arichiv May 21, 2024
d302bed
Merge branch 'main' into patch-3
arichiv May 21, 2024
934cb4a
Merge branch 'main' into patch-3
arichiv May 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
  • Loading branch information
arichiv committed May 3, 2024
commit bf60b5d7a4d8df4c35428c1b994f0623ddd97daf
22 changes: 11 additions & 11 deletions files/en-us/web/api/document/requeststorageaccess/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,37 +34,37 @@ requestStorageAccess(types)
- : A boolean specifying third-party cookies should be made accessible.
If not specified the default is `false`.
- `sessionStorage`
- : A boolean specifying unpartitioned sessionStorage should be made accessible.
- : A boolean specifying {{domxref("StorageAccessHandle.sessionStorage")}} should be made accessible.
If not specified the default is `false`.
- `localStorage`
- : A boolean specifying unpartitioned localStorage should be made accessible.
- : A boolean specifying {{domxref("StorageAccessHandle.localStorage")}} should be made accessible.
If not specified the default is `false`.
- `indexedDB`
- : A boolean specifying unpartitioned indexedDB should be made accessible.
- : A boolean specifying {{domxref("StorageAccessHandle.indexedDB")}} should be made accessible.
If not specified the default is `false`.
- `locks`
- : A boolean specifying unpartitioned locks should be made accessible.
- : A boolean specifying {{domxref("StorageAccessHandle.locks")}} should be made accessible.
If not specified the default is `false`.
- `caches`
- : A boolean specifying unpartitioned caches should be made accessible.
- : A boolean specifying {{domxref("StorageAccessHandle.caches")}} should be made accessible.
If not specified the default is `false`.
- `getDirectory`
- : A boolean specifying unpartitioned getDirectory should be made accessible.
- : A boolean specifying {{domxref("StorageAccessHandle.getDirectory()")}} should be made accessible.
If not specified the default is `false`.
- `estimate`
- : A boolean specifying unpartitioned estimate should be made accessible.
- : A boolean specifying {{domxref("StorageAccessHandle.estimate()")}} should be made accessible.
If not specified the default is `false`.
- `createObjectURL`
- : A boolean specifying unpartitioned createObjectURL should be made accessible.
- : A boolean specifying {{domxref("StorageAccessHandle.createObjectURL()")}} should be made accessible.
If not specified the default is `false`.
- `revokeObjectURL`
- : A boolean specifying unpartitioned revokeObjectURL should be made accessible.
- : A boolean specifying {{domxref("StorageAccessHandle.revokeObjectURL()")}} should be made accessible.
If not specified the default is `false`.
- `BroadcastChannel`
- : A boolean specifying unpartitioned BroadcastChannel should be made accessible.
- : A boolean specifying {{domxref("StorageAccessHandle.BroadcastChannel()")}} should be made accessible.
If not specified the default is `false`.
- `SharedWorker`
- : A boolean specifying unpartitioned SharedWorker should be made accessible.
- : A boolean specifying {{domxref("StorageAccessHandle.SharedWorker()")}} should be made accessible.
If not specified the default is `false`.

### Return value
Expand Down
18 changes: 9 additions & 9 deletions files/en-us/web/api/storageaccesshandle/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@ The **`StorageAccessHandle`** interface represents access to [unpartitioned stat
## Instance properties

- {{domxref("StorageAccessHandle.sessionStorage")}} {{ReadOnlyInline}}
- : Returns a {{domxref("Storage")}} object used to access unpartitioned sessionStorage if access was granted.
- : Returns an unpartitioned session {{domxref("Storage")}} object if access was granted.
- {{domxref("StorageAccessHandle.localStorage")}} {{ReadOnlyInline}}
- : Returns a {{domxref("Storage")}} object used to access unpartitioned localStorage if access was granted.
- : Returns an unpartitioned local {{domxref("Storage")}} object if access was granted.
- {{domxref("StorageAccessHandle.indexedDB")}} {{ReadOnlyInline}}
- : Returns an {{domxref("IDBFactory")}} object used to access unpartitioned indexedDB if access was granted.
- : Returns an unpartitioned {{domxref("IDBFactory")}} object if access was granted.
- {{domxref("StorageAccessHandle.locks")}} {{ReadOnlyInline}}
- : Returns a {{domxref("LockManager")}} object used to access unpartitioned locks if access was granted.
- : Returns an unpartitioned {{domxref("LockManager")}} object if access was granted.
- {{domxref("StorageAccessHandle.caches")}} {{ReadOnlyInline}}
- : Returns a {{domxref("CacheStorage")}} object used to access unpartitioned caches if access was granted.
- : Returns an unpartitioned {{domxref("CacheStorage")}} object if access was granted.

## Instance methods

- {{domxref("StorageAccessHandle.getDirectory()")}}
- : Returns a {{jsxref("Promise")}} that fufills with a {{domxref("FileSystemDirectoryHandle")}} object used to access unpartitioned getDirectory if access was granted, and rejects otherwise.
- : Returns a {{jsxref("Promise")}} that fufills with an unpartitioned {{domxref("FileSystemDirectoryHandle")}} object if access was granted, and rejects otherwise.
- {{domxref("StorageAccessHandle.estimate()")}}
- : Returns a {{jsxref("Promise")}} that fufills with a {{domxref("StorageEstimate")}} object used to access unpartitioned estimate if access was granted, and rejects otherwise.
- : Returns a {{jsxref("Promise")}} that fufills with an unpartitioned {{domxref("StorageEstimate")}} object if access was granted, and rejects otherwise.
- {{domxref("StorageAccessHandle.createObjectURL()")}}
- : Returns the unpartitioned blob storage url created if access was granted, and throws otherwise.
- : Returns a string representing the unpartitioned blob storage url created if access was granted, and throws otherwise.
- {{domxref("StorageAccessHandle.revokeObjectURL()")}}
- : Removes the unpartitioned blob storage url if access was granted, and throws otherwise.
- : Revokes the unpartitioned blob storage url passed in if access was granted, and throws otherwise.
- {{domxref("StorageAccessHandle.BroadcastChannel()")}}
- : Returns the unpartitioned {{domxref("BroadcastChannel")}} created if access was granted, and throws otherwise.
- {{domxref("StorageAccessHandle.SharedWorker()")}}
Expand Down