SharedStorageAccessParams
Bundles the parameters for shared storage access events whose presence/absence can vary according to SharedStorageAccessType.
Constructors
Properties
If the method has been called as part of a batchUpdate, then this number identifies the batch to which it belongs. Optionally present only for SharedStorageAccessMethods: batchUpdate (required), set, append, delete, and clear.
String denoting "context-origin", "script-origin", or a custom origin to be used as the worklet's data origin. Present only for SharedStorageAccessMethod: createWorklet.
Whether or not to set an entry for a key if that key is already present. Present only for SharedStorageAccessMethod: set.
ID of the operation call. Present only for SharedStorageAccessMethods: run and selectURL.
Name of the registered operation to be run. Present only for SharedStorageAccessMethods: run and selectURL.
Configures the private aggregation options. Present only for SharedStorageAccessMethods: run and selectURL.
Spec of the module script URL. Present only for SharedStorageAccessMethods: addModule and createWorklet.
The operation's serialized data in bytes (converted to a string). Present only for SharedStorageAccessMethods: run and selectURL. TODO(crbug.com/401011862): Consider updating this parameter to binary.
Array of candidate URLs' specs, along with any associated metadata. Present only for SharedStorageAccessMethod: selectURL.
A number denoting the (0-based) order of the worklet's creation relative to all other shared storage worklets created by documents using the current storage partition. Present only for SharedStorageAccessMethods: addModule, createWorklet.
Hex representation of the DevTools token used as the TargetID for the associated shared storage worklet. Present only for SharedStorageAccessMethods: addModule, createWorklet, run, selectURL, and any other SharedStorageAccessMethod when the SharedStorageAccessScope is sharedStorageWorklet.