Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for StorageAccessHandle.
Developer library 6
StorageAccessHandle
Storage Access API The **`StorageAccessHandle`** interface represents access to [unpartitioned state](/docs/Web/Privacy/Guides/State_Partitioning#state_partitioning) granted by a call to Document.requestStorageAccess(). ## Instance properties - StorageAccessHandle.sessionStorage - : Returns an unpartitioned session Storage object if access was granted. - StorageAccessHandle.localStorage - : Returns an unpart
StorageAccessHandle: createObjectURL() method
Storage Access API > [!NOTE] > See createObjectURL() to understand usage. ## Syntax ```js-nolint createObjectURL(object) ``` ### Parameters - `object` - : See createObjectURL(). ### Return value A string containing an unpartitioned object URL that can be used to reference the contents of the specified source `object`. ### Exceptions - `SecurityError` DomException - : Thrown if access was not granted. Se
StorageAccessHandle: revokeObjectURL() method
Storage Access API > [!NOTE] > See revokeObjectURL() to understand usage. ## Syntax ```js-nolint revokeObjectURL(objectURL) ``` ### Parameters - `objectURL` - : See revokeObjectURL(). ### Return value None (undefined). ### Exceptions - `SecurityError` DomException - : Thrown if access was not granted. See revokeObjectURL() ## Examples ```js document.requestStorageAccess({ revokeObjectURL: true }).then
StorageAccessHandle: indexedDB property
Storage Access API The **`indexedDB`** property of the StorageAccessHandle interface returns an unpartitioned IDBFactory object if access was granted, and throws a `SecurityError` DOMException otherwise. ## Value An IDBFactory object. ## Examples ```js document.requestStorageAccess({ indexedDB: true }).then( async (handle) => { console.log("indexedDB access granted"); await handle.indexedDB.deleteDatab
StorageAccessHandle: BroadcastChannel() method
Storage Access API > [!NOTE] > See BroadcastChannel() to understand usage. ## Syntax ```js-nolint BroadcastChannel(channelName) ``` ### Parameters - `channelName` - : See BroadcastChannel(). ### Return value An unpartitioned BroadcastChannel object. ### Exceptions - `SecurityError` DomException - : Thrown if access was not granted. See BroadcastChannel() ## Examples ```js document.requestStorageAccess
StorageAccessHandle: SharedWorker() method
Storage Access API > [!NOTE] > See SharedWorker() to understand usage. ## Syntax ```js-nolint SharedWorker(url) SharedWorker(url, name) SharedWorker(url, options) ``` ### Parameters - `url` - : See SharedWorker(). - `name` - : See SharedWorker(). - `options` - : See SharedWorker(). > [!NOTE] > `options.sameSiteCookies` only supports the value "none", which is the default. ### Return value An unpartiti