Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arichiv committed May 3, 2024
1 parent ca39133 commit bf60b5d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
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

0 comments on commit bf60b5d

Please sign in to comment.