Skip to main content

Module storage

Module storage 

Source
Expand description

The Storage domain.

Types, command parameters and event payloads for the Storage domain. The method-name constants for the same domain are in crate::methods.

This domain is experimental and may change without notice.

Structs§

CacheStorageContentUpdatedEvent
A cache’s contents have been modified.
CacheStorageListUpdatedEvent
A cache has been added/deleted.
ClearCookiesParams
Clears cookies.
ClearDataForOriginParams
Clears storage for origin.
ClearDataForStorageKeyParams
Clears storage for storage key.
ClearPrivateVerificationTokensParams
Removes all Private Verification Tokens issued by the provided issuerOrigin.
ClearTrustTokensParams
Removes all Trust Tokens issued by the provided issuerOrigin. Leaves other stored data, including the issuer’s Redemption Records, intact.
ClearTrustTokensReturns
What Storage.clearTrustTokens answers with.
DeletePrivateVerificationTokenParams
Removes a specific Private Verification Token by its ID.
DeleteStorageBucketParams
Deletes the Storage Bucket with the given storage key and bucket name.
GetCookiesParams
Returns all browser cookies.
GetCookiesReturns
What Storage.getCookies answers with.
GetPrivateVerificationTokensIssuerConfigsParams
Returns the configured Private Verification Tokens issuers and their redeemer origins.
GetPrivateVerificationTokensIssuerConfigsReturns
What Storage.getPrivateVerificationTokensIssuerConfigs answers with.
GetPrivateVerificationTokensParams
Returns all stored Private Verification Tokens for the current browsing context.
GetPrivateVerificationTokensReturns
What Storage.getPrivateVerificationTokens answers with.
GetStorageKeyForFrameParams
Returns a storage key given a frame id. Deprecated. Please use Storage.getStorageKey instead.
GetStorageKeyForFrameReturns
What Storage.getStorageKeyForFrame answers with.
GetStorageKeyParams
Returns storage key for the given frame. If no frame ID is provided, the storage key of the target executing this command is returned.
GetStorageKeyReturns
What Storage.getStorageKey answers with.
GetTrustTokensParams
Returns the number of stored Trust Tokens per issuer for the current browsing context.
GetTrustTokensReturns
What Storage.getTrustTokens answers with.
GetUsageAndQuotaParams
Returns usage and quota in bytes.
GetUsageAndQuotaReturns
What Storage.getUsageAndQuota answers with.
IndexedDbContentUpdatedEvent
The origin’s IndexedDB object store has been modified.
IndexedDbListUpdatedEvent
The origin’s IndexedDB database list has been modified.
OverrideQuotaForOriginParams
Override quota for the specified origin
PrivateVerificationToken
Details of a stored Private Verification Token.
PrivateVerificationTokensIssuerConfig
Configuration for a Private Verification Tokens issuer.
PrivateVerificationTokensUpdatedEvent
Private Verification Tokens have been stored or deleted.
RunBounceTrackingMitigationsParams
Deletes state for sites identified as potential bounce trackers, immediately.
RunBounceTrackingMitigationsReturns
What Storage.runBounceTrackingMitigations answers with.
SetCookiesParams
Sets given cookies.
SetPrivateVerificationTokensTrackingParams
Set tracking for Private Verification Tokens.
SetStorageBucketTrackingParams
Set tracking for a storage key’s buckets.
StorageBucket
StorageBucketCreatedOrUpdatedEvent
Payload of the Storage.storageBucketCreatedOrUpdated event.
StorageBucketDeletedEvent
Payload of the Storage.storageBucketDeleted event.
StorageBucketInfo
TrackCacheStorageForOriginParams
Registers origin to be notified when an update occurs to its cache storage list.
TrackCacheStorageForStorageKeyParams
Registers storage key to be notified when an update occurs to its cache storage list.
TrackIndexedDbForOriginParams
Registers origin to be notified when an update occurs to its IndexedDB.
TrackIndexedDbForStorageKeyParams
Registers storage key to be notified when an update occurs to its IndexedDB.
TrustTokens
Pair of issuer origin and number of available (signed, but not used) Trust Tokens from that issuer.
UntrackCacheStorageForOriginParams
Unregisters origin from receiving notifications for cache storage.
UntrackCacheStorageForStorageKeyParams
Unregisters storage key from receiving notifications for cache storage.
UntrackIndexedDbForOriginParams
Unregisters origin from receiving notifications for IndexedDB.
UntrackIndexedDbForStorageKeyParams
Unregisters storage key from receiving notifications for IndexedDB.
UsageForType
Usage for a storage type.

Enums§

StorageBucketsDurability
StorageType
Enum of possible storage types.

Type Aliases§

SerializedStorageKey