WebIDLpedia

WindowSharedStorage interface

Definition

Shared Storage API defines WindowSharedStorage



[Exposed=(Window)]
interface WindowSharedStorage : SharedStorage {
  Promise<SharedStorageResponse> selectURL(DOMString name,
                               FrozenArray<SharedStorageUrlWithMetadata> urls,
                               optional SharedStorageRunOperationMethodOptions options = {});
  Promise<any> run(DOMString name,
                   optional SharedStorageRunOperationMethodOptions options = {});

  Promise<SharedStorageWorklet> createWorklet(USVString moduleURL, optional WorkletOptions options = {});

  readonly attribute SharedStorageWorklet worklet;
};

Methods and attributes that return objects implementing WindowSharedStorage

Referring IDL interfaces/dictionaries