Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
Co-authored-by: Vadim Makeev <hi@pepelsbey.dev>
  • Loading branch information
arichiv and pepelsbey committed May 21, 2024
1 parent 5cb0515 commit c08b7ab
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions files/en-us/web/api/document/requeststorageaccess/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,47 +25,34 @@ requestStorageAccess(types)

- `types` {{optional_inline}}

- : An object containing properties that control what unpartitioned state is made accessible. Available properties are as follows:
- : An object containing properties that control what unpartitioned state is made accessible. If not specified, the default value of the property is `false`. Available properties are as follows:

- `all`
- : A boolean specifying all possible unpartitioned state should be made accessible.
If not specified the default is `false`.
- : A boolean specifying all possible unpartitioned states should be made accessible.
- `cookies`
- : A boolean specifying third-party cookies should be made accessible.
If not specified the default is `false`.
- `sessionStorage`
- : A boolean specifying {{domxref("StorageAccessHandle.sessionStorage")}} should be made accessible.
If not specified the default is `false`.
- `localStorage`
- : A boolean specifying {{domxref("StorageAccessHandle.localStorage")}} should be made accessible.
If not specified the default is `false`.
- `indexedDB`
- : A boolean specifying {{domxref("StorageAccessHandle.indexedDB")}} should be made accessible.
If not specified the default is `false`.
- `locks`
- : A boolean specifying {{domxref("StorageAccessHandle.locks")}} should be made accessible.
If not specified the default is `false`.
- `caches`
- : A boolean specifying {{domxref("StorageAccessHandle.caches")}} should be made accessible.
If not specified the default is `false`.
- `getDirectory`
- : A boolean specifying {{domxref("StorageAccessHandle.getDirectory()")}} should be made accessible.
If not specified the default is `false`.
- `estimate`
- : A boolean specifying {{domxref("StorageAccessHandle.estimate()")}} should be made accessible.
If not specified the default is `false`.
- `createObjectURL`
- : A boolean specifying {{domxref("StorageAccessHandle.createObjectURL()")}} should be made accessible.
If not specified the default is `false`.
- `revokeObjectURL`
- : A boolean specifying {{domxref("StorageAccessHandle.revokeObjectURL()")}} should be made accessible.
If not specified the default is `false`.
- `BroadcastChannel`
- : A boolean specifying {{domxref("StorageAccessHandle.BroadcastChannel()")}} should be made accessible.
If not specified the default is `false`.
- `SharedWorker`
- : A boolean specifying {{domxref("StorageAccessHandle.SharedWorker()")}} should be made accessible.
If not specified the default is `false`.

### Return value

Expand Down

0 comments on commit c08b7ab

Please sign in to comment.