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 SharedStorageWorklet.
Developer library 6
SharedStorageWorklet
Shared Storage API The **`SharedStorageWorklet`** interface of the Shared Storage API represents the shared storage worklet for the current origin. `SharedStorageWorklet` does not have its own properties or methods. Rather, it inherits the addModule() method from the Worklet interface. This method is used for adding a module. Unlike a regular Worklet: - If the calling site has not included the Shared Storage API
SharedStorage: delete() method
s/Privacy_sandbox#enrollment). - In the case of WorkletSharedStorage, the `Promise` rejects with a TypeError if: - The worklet module has not been added with SharedStorageWorklet.addModule(). > [!NOTE] > If the key-value pair doesn't exist in the shared storage, no error is thrown — the operation still fulfills with `undefined`. > [!NOTE] > In the case of WindowSharedStorage, if the `delete()` operation doesn't s
SharedStorage: append() method
Guides/Privacy_sandbox#enrollment). - In the case of WorkletSharedStorage, the `Promise` rejects with a TypeError if the worklet module has not been added with SharedStorageWorklet.addModule(). > [!NOTE] > In the case of WindowSharedStorage, if the `append()` operation doesn't successfully write to the database for a reason other than shared storage not being available, no error is thrown — the operation still fulfi
SharedStorage: set() method
Guides/Privacy_sandbox#enrollment). - In the case of WorkletSharedStorage, the `Promise` rejects with a TypeError if the worklet module has not been added with SharedStorageWorklet.addModule(). > [!NOTE] > In the case of WindowSharedStorage, if the `set()` operation doesn't successfully write to the database for a reason other than shared storage not being available, no error is thrown — the operation still fulfills
SharedStorage: clear() method
Guides/Privacy_sandbox#enrollment). - In the case of WorkletSharedStorage, the `Promise` rejects with a TypeError if the worklet module has not been added with SharedStorageWorklet.addModule(). > [!NOTE] > In the case of WindowSharedStorage, if the `clear()` operation doesn't successfully write to the database for a reason other than shared storage not being available, no error is thrown — the operation still fulfil
Worklet
href="https://drafts.css-houdini.org/css-layout-api-1/#layout-worklet" >CSS Layout API</a > </td> </tr> <tr> <td>SharedStorageWorklet</td> <td>For running private operations on cross-site data, without risk of data leakage.</td> <td>Main thread</td> <td> <a href="https://wicg.github.io/shared-storage/" >Shared Storage API</a