Skip to main content

Module storage

Module storage 

Source
Expand description

The Storage domain.

Method names for the Storage domain, for use with CdpClient::call.

This domain is experimental and may change without notice.

Constants§

CLEAR_COOKIES
Clears cookies.
CLEAR_DATA_FOR_ORIGIN
Clears storage for origin.
CLEAR_DATA_FOR_STORAGE_KEY
Clears storage for storage key.
CLEAR_PRIVATE_VERIFICATION_TOKENS
Removes all Private Verification Tokens issued by the provided issuerOrigin.
CLEAR_TRUST_TOKENS
Removes all Trust Tokens issued by the provided issuerOrigin. Leaves other stored data, including the issuer’s Redemption Records, intact.
DELETE_PRIVATE_VERIFICATION_TOKEN
Removes a specific Private Verification Token by its ID.
DELETE_STORAGE_BUCKET
Deletes the Storage Bucket with the given storage key and bucket name.
GET_COOKIES
Returns all browser cookies.
GET_PRIVATE_VERIFICATION_TOKENS
Returns all stored Private Verification Tokens for the current browsing context.
GET_PRIVATE_VERIFICATION_TOKENS_ISSUER_CONFIGS
Returns the configured Private Verification Tokens issuers and their redeemer origins.
GET_STORAGE_KEY
Returns storage key for the given frame. If no frame ID is provided, the storage key of the target executing this command is returned.
GET_STORAGE_KEY_FOR_FRAME
Returns a storage key given a frame id. Deprecated. Please use Storage.getStorageKey instead.
GET_TRUST_TOKENS
Returns the number of stored Trust Tokens per issuer for the current browsing context.
GET_USAGE_AND_QUOTA
Returns usage and quota in bytes.
OVERRIDE_QUOTA_FOR_ORIGIN
Override quota for the specified origin
RUN_BOUNCE_TRACKING_MITIGATIONS
Deletes state for sites identified as potential bounce trackers, immediately.
SET_COOKIES
Sets given cookies.
SET_PRIVATE_VERIFICATION_TOKENS_TRACKING
Set tracking for Private Verification Tokens.
SET_STORAGE_BUCKET_TRACKING
Set tracking for a storage key’s buckets.
TRACK_CACHE_STORAGE_FOR_ORIGIN
Registers origin to be notified when an update occurs to its cache storage list.
TRACK_CACHE_STORAGE_FOR_STORAGE_KEY
Registers storage key to be notified when an update occurs to its cache storage list.
TRACK_INDEXED_DB_FOR_ORIGIN
Registers origin to be notified when an update occurs to its IndexedDB.
TRACK_INDEXED_DB_FOR_STORAGE_KEY
Registers storage key to be notified when an update occurs to its IndexedDB.
UNTRACK_CACHE_STORAGE_FOR_ORIGIN
Unregisters origin from receiving notifications for cache storage.
UNTRACK_CACHE_STORAGE_FOR_STORAGE_KEY
Unregisters storage key from receiving notifications for cache storage.
UNTRACK_INDEXED_DB_FOR_ORIGIN
Unregisters origin from receiving notifications for IndexedDB.
UNTRACK_INDEXED_DB_FOR_STORAGE_KEY
Unregisters storage key from receiving notifications for IndexedDB.