storage

package
v0.157.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2026 License: MIT Imports: 2 Imported by: 60

Documentation

Overview

Package storage provides the Chrome DevTools Protocol commands, types, and events for the Storage domain.

Generated by the pdlgen command.

Index

Constants

View Source
const (
	CommandGetStorageKey                             = "Storage.getStorageKey"
	CommandClearDataForOrigin                        = "Storage.clearDataForOrigin"
	CommandClearDataForStorageKey                    = "Storage.clearDataForStorageKey"
	CommandGetCookies                                = "Storage.getCookies"
	CommandSetCookies                                = "Storage.setCookies"
	CommandClearCookies                              = "Storage.clearCookies"
	CommandGetUsageAndQuota                          = "Storage.getUsageAndQuota"
	CommandOverrideQuotaForOrigin                    = "Storage.overrideQuotaForOrigin"
	CommandTrackCacheStorageForOrigin                = "Storage.trackCacheStorageForOrigin"
	CommandTrackCacheStorageForStorageKey            = "Storage.trackCacheStorageForStorageKey"
	CommandTrackIndexedDBForOrigin                   = "Storage.trackIndexedDBForOrigin"
	CommandTrackIndexedDBForStorageKey               = "Storage.trackIndexedDBForStorageKey"
	CommandUntrackCacheStorageForOrigin              = "Storage.untrackCacheStorageForOrigin"
	CommandUntrackCacheStorageForStorageKey          = "Storage.untrackCacheStorageForStorageKey"
	CommandUntrackIndexedDBForOrigin                 = "Storage.untrackIndexedDBForOrigin"
	CommandUntrackIndexedDBForStorageKey             = "Storage.untrackIndexedDBForStorageKey"
	CommandGetTrustTokens                            = "Storage.getTrustTokens"
	CommandClearTrustTokens                          = "Storage.clearTrustTokens"
	CommandGetPrivateVerificationTokens              = "Storage.getPrivateVerificationTokens"
	CommandGetPrivateVerificationTokensIssuerConfigs = "Storage.getPrivateVerificationTokensIssuerConfigs"
	CommandClearPrivateVerificationTokens            = "Storage.clearPrivateVerificationTokens"
	CommandDeletePrivateVerificationToken            = "Storage.deletePrivateVerificationToken"
	CommandSetPrivateVerificationTokensTracking      = "Storage.setPrivateVerificationTokensTracking"
	CommandSetStorageBucketTracking                  = "Storage.setStorageBucketTracking"
	CommandDeleteStorageBucket                       = "Storage.deleteStorageBucket"
	CommandRunBounceTrackingMitigations              = "Storage.runBounceTrackingMitigations"
)

Command names.

Variables

View Source
var CacheStorageContentUpdated = cdp.Event[EventCacheStorageContentUpdated]{Method: "Storage.cacheStorageContentUpdated"}

CacheStorageContentUpdated a cache's contents have been modified.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-cacheStorageContentUpdated

View Source
var CacheStorageListUpdated = cdp.Event[EventCacheStorageListUpdated]{Method: "Storage.cacheStorageListUpdated"}

CacheStorageListUpdated a cache has been added/deleted.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-cacheStorageListUpdated

ClearCookies clears cookies.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-clearCookies

ClearDataForOrigin clears storage for origin.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-clearDataForOrigin

ClearDataForStorageKey clears storage for storage key.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-clearDataForStorageKey

ClearPrivateVerificationTokens removes all Private Verification Tokens issued by the provided issuerOrigin.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-clearPrivateVerificationTokens

ClearTrustTokens removes all Trust Tokens issued by the provided issuerOrigin. Leaves other stored data, including the issuer's Redemption Records, intact.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-clearTrustTokens

DeletePrivateVerificationToken removes a specific Private Verification Token by its ID.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-deletePrivateVerificationToken

DeleteStorageBucket deletes the Storage Bucket with the given storage key and bucket name.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-deleteStorageBucket

GetCookies returns all browser cookies.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getCookies

GetPrivateVerificationTokens returns all stored Private Verification Tokens for the current browsing context.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getPrivateVerificationTokens

GetPrivateVerificationTokensIssuerConfigs returns the configured Private Verification Tokens issuers and their redeemer origins.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getPrivateVerificationTokensIssuerConfigs

GetStorageKey returns storage key for the given frame. If no frame ID is provided, the storage key of the target executing this command is returned.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getStorageKey

GetTrustTokens returns the number of stored Trust Tokens per issuer for the current browsing context.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getTrustTokens

GetUsageAndQuota returns usage and quota in bytes.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getUsageAndQuota

View Source
var IndexedDBContentUpdated = cdp.Event[EventIndexedDBContentUpdated]{Method: "Storage.indexedDBContentUpdated"}

IndexedDBContentUpdated the origin's IndexedDB object store has been modified.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-indexedDBContentUpdated

View Source
var IndexedDBListUpdated = cdp.Event[EventIndexedDBListUpdated]{Method: "Storage.indexedDBListUpdated"}

IndexedDBListUpdated the origin's IndexedDB database list has been modified.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-indexedDBListUpdated

OverrideQuotaForOrigin override quota for the specified origin.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-overrideQuotaForOrigin

View Source
var PrivateVerificationTokensUpdated = cdp.Event[EventPrivateVerificationTokensUpdated]{Method: "Storage.privateVerificationTokensUpdated"}

PrivateVerificationTokensUpdated private Verification Tokens have been stored or deleted.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-privateVerificationTokensUpdated

RunBounceTrackingMitigations deletes state for sites identified as potential bounce trackers, immediately.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-runBounceTrackingMitigations

SetCookies sets given cookies.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setCookies

SetPrivateVerificationTokensTracking set tracking for Private Verification Tokens.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setPrivateVerificationTokensTracking

SetStorageBucketTracking set tracking for a storage key's buckets.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setStorageBucketTracking

View Source
var StorageBucketCreatedOrUpdated = cdp.Event[EventStorageBucketCreatedOrUpdated]{Method: "Storage.storageBucketCreatedOrUpdated"}

StorageBucketCreatedOrUpdated [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-storageBucketCreatedOrUpdated

View Source
var StorageBucketDeleted = cdp.Event[EventStorageBucketDeleted]{Method: "Storage.storageBucketDeleted"}

StorageBucketDeleted [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-storageBucketDeleted

TrackCacheStorageForOrigin registers origin to be notified when an update occurs to its cache storage list.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-trackCacheStorageForOrigin

TrackCacheStorageForStorageKey registers storage key to be notified when an update occurs to its cache storage list.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-trackCacheStorageForStorageKey

TrackIndexedDBForOrigin registers origin to be notified when an update occurs to its IndexedDB.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-trackIndexedDBForOrigin

TrackIndexedDBForStorageKey registers storage key to be notified when an update occurs to its IndexedDB.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-trackIndexedDBForStorageKey

UntrackCacheStorageForOrigin unregisters origin from receiving notifications for cache storage.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-untrackCacheStorageForOrigin

UntrackCacheStorageForStorageKey unregisters storage key from receiving notifications for cache storage.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-untrackCacheStorageForStorageKey

UntrackIndexedDBForOrigin unregisters origin from receiving notifications for IndexedDB.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-untrackIndexedDBForOrigin

UntrackIndexedDBForStorageKey unregisters storage key from receiving notifications for IndexedDB.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-untrackIndexedDBForStorageKey

Functions

This section is empty.

Types

type Bucket

type Bucket struct {
	StorageKey SerializedStorageKey `json:"storageKey"`
	Name       string               `json:"name,omitempty,omitzero"` // If not specified, it is the default bucket of the storageKey.
}

Bucket [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-StorageBucket

type BucketInfo

type BucketInfo struct {
	Bucket     *Bucket            `json:"bucket"`
	ID         string             `json:"id"`
	Expiration cdp.TimeSinceEpoch `json:"expiration"`
	Quota      float64            `json:"quota"` // Storage quota (bytes).
	Persistent bool               `json:"persistent"`
	Durability BucketsDurability  `json:"durability"`
}

BucketInfo [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-StorageBucketInfo

type BucketsDurability

type BucketsDurability string

BucketsDurability [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-StorageBucketsDurability

const (
	BucketsDurabilityRelaxed BucketsDurability = "relaxed"
	BucketsDurabilityStrict  BucketsDurability = "strict"
)

BucketsDurability values.

func (BucketsDurability) String

func (t BucketsDurability) String() string

String returns the BucketsDurability as string value.

type ClearCookiesParams

type ClearCookiesParams struct {
	BrowserContextID cdp.BrowserContextID `json:"browserContextId,omitempty,omitzero"` // Browser context to use when called on the browser endpoint.
}

ClearCookiesParams are the parameters of the command Storage.clearCookies.

type ClearDataForOriginParams

type ClearDataForOriginParams struct {
	Origin       string `json:"origin"`       // Security origin.
	StorageTypes string `json:"storageTypes"` // Comma separated list of StorageType to clear.
}

ClearDataForOriginParams are the parameters of the command Storage.clearDataForOrigin.

type ClearDataForStorageKeyParams

type ClearDataForStorageKeyParams struct {
	StorageKey   string `json:"storageKey"`   // Storage key.
	StorageTypes string `json:"storageTypes"` // Comma separated list of StorageType to clear.
}

ClearDataForStorageKeyParams are the parameters of the command Storage.clearDataForStorageKey.

type ClearPrivateVerificationTokensParams

type ClearPrivateVerificationTokensParams struct {
	IssuerOrigin string `json:"issuerOrigin"`
}

ClearPrivateVerificationTokensParams are the parameters of the command Storage.clearPrivateVerificationTokens.

type ClearTrustTokensParams

type ClearTrustTokensParams struct {
	IssuerOrigin string `json:"issuerOrigin"`
}

ClearTrustTokensParams are the parameters of the command Storage.clearTrustTokens.

type ClearTrustTokensResult added in v0.157.3

type ClearTrustTokensResult struct {
	DidDeleteTokens bool `json:"didDeleteTokens"` // True if any tokens were deleted, false otherwise.
}

ClearTrustTokensResult is the result of the command Storage.clearTrustTokens.

type DeletePrivateVerificationTokenParams

type DeletePrivateVerificationTokenParams struct {
	TokenID string `json:"tokenId"`
}

DeletePrivateVerificationTokenParams are the parameters of the command Storage.deletePrivateVerificationToken.

type DeleteStorageBucketParams

type DeleteStorageBucketParams struct {
	Bucket *Bucket `json:"bucket"`
}

DeleteStorageBucketParams are the parameters of the command Storage.deleteStorageBucket.

type EventCacheStorageContentUpdated

type EventCacheStorageContentUpdated struct {
	Origin     string `json:"origin"`     // Origin to update.
	StorageKey string `json:"storageKey"` // Storage key to update.
	BucketID   string `json:"bucketId"`   // Storage bucket to update.
	CacheName  string `json:"cacheName"`  // Name of cache in origin.
}

EventCacheStorageContentUpdated a cache's contents have been modified.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-cacheStorageContentUpdated

type EventCacheStorageListUpdated

type EventCacheStorageListUpdated struct {
	Origin     string `json:"origin"`     // Origin to update.
	StorageKey string `json:"storageKey"` // Storage key to update.
	BucketID   string `json:"bucketId"`   // Storage bucket to update.
}

EventCacheStorageListUpdated a cache has been added/deleted.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-cacheStorageListUpdated

type EventIndexedDBContentUpdated

type EventIndexedDBContentUpdated struct {
	Origin          string `json:"origin"`          // Origin to update.
	StorageKey      string `json:"storageKey"`      // Storage key to update.
	BucketID        string `json:"bucketId"`        // Storage bucket to update.
	DatabaseName    string `json:"databaseName"`    // Database to update.
	ObjectStoreName string `json:"objectStoreName"` // ObjectStore to update.
}

EventIndexedDBContentUpdated the origin's IndexedDB object store has been modified.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-indexedDBContentUpdated

type EventIndexedDBListUpdated

type EventIndexedDBListUpdated struct {
	Origin     string `json:"origin"`     // Origin to update.
	StorageKey string `json:"storageKey"` // Storage key to update.
	BucketID   string `json:"bucketId"`   // Storage bucket to update.
}

EventIndexedDBListUpdated the origin's IndexedDB database list has been modified.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-indexedDBListUpdated

type EventPrivateVerificationTokensUpdated

type EventPrivateVerificationTokensUpdated struct{}

EventPrivateVerificationTokensUpdated private Verification Tokens have been stored or deleted.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-privateVerificationTokensUpdated

type EventStorageBucketCreatedOrUpdated

type EventStorageBucketCreatedOrUpdated struct {
	BucketInfo *BucketInfo `json:"bucketInfo"`
}

EventStorageBucketCreatedOrUpdated [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-storageBucketCreatedOrUpdated

type EventStorageBucketDeleted

type EventStorageBucketDeleted struct {
	BucketID string `json:"bucketId"`
}

EventStorageBucketDeleted [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-storageBucketDeleted

type GetCookiesParams

type GetCookiesParams struct {
	BrowserContextID cdp.BrowserContextID `json:"browserContextId,omitempty,omitzero"` // Browser context to use when called on the browser endpoint.
}

GetCookiesParams are the parameters of the command Storage.getCookies.

type GetCookiesResult added in v0.157.3

type GetCookiesResult struct {
	Cookies []*network.Cookie `json:"cookies,omitempty,omitzero"` // Array of cookie objects.
}

GetCookiesResult is the result of the command Storage.getCookies.

type GetPrivateVerificationTokensIssuerConfigsResult added in v0.157.3

type GetPrivateVerificationTokensIssuerConfigsResult struct {
	Configs []*PrivateVerificationTokensIssuerConfig `json:"configs,omitempty,omitzero"`
}

GetPrivateVerificationTokensIssuerConfigsResult is the result of the command Storage.getPrivateVerificationTokensIssuerConfigs.

type GetPrivateVerificationTokensResult added in v0.157.3

type GetPrivateVerificationTokensResult struct {
	Tokens []*PrivateVerificationToken `json:"tokens,omitempty,omitzero"`
}

GetPrivateVerificationTokensResult is the result of the command Storage.getPrivateVerificationTokens.

type GetStorageKeyParams

type GetStorageKeyParams struct {
	FrameID cdp.FrameID `json:"frameId,omitempty,omitzero"`
}

GetStorageKeyParams are the parameters of the command Storage.getStorageKey.

type GetStorageKeyResult added in v0.157.3

type GetStorageKeyResult struct {
	StorageKey SerializedStorageKey `json:"storageKey,omitempty,omitzero"`
}

GetStorageKeyResult is the result of the command Storage.getStorageKey.

type GetTrustTokensResult added in v0.157.3

type GetTrustTokensResult struct {
	Tokens []*TrustTokens `json:"tokens,omitempty,omitzero"`
}

GetTrustTokensResult is the result of the command Storage.getTrustTokens.

type GetUsageAndQuotaParams

type GetUsageAndQuotaParams struct {
	Origin string `json:"origin"` // Security origin.
}

GetUsageAndQuotaParams are the parameters of the command Storage.getUsageAndQuota.

type GetUsageAndQuotaResult added in v0.157.3

type GetUsageAndQuotaResult struct {
	Usage          float64         `json:"usage,omitempty,omitzero"`          // Storage usage (bytes).
	Quota          float64         `json:"quota,omitempty,omitzero"`          // Storage quota (bytes).
	OverrideActive bool            `json:"overrideActive"`                    // Whether or not the origin has an active storage quota override
	UsageBreakdown []*UsageForType `json:"usageBreakdown,omitempty,omitzero"` // Storage usage per type (bytes).
}

GetUsageAndQuotaResult is the result of the command Storage.getUsageAndQuota.

type OverrideQuotaForOriginParams

type OverrideQuotaForOriginParams struct {
	Origin    string   `json:"origin"`                       // Security origin.
	QuotaSize *float64 `json:"quotaSize,omitempty,omitzero"` // The quota size (in bytes) to override the original quota with. If this is called multiple times, the overridden quota will be equal to the quotaSize provided in the final call. If this is called without specifying a quotaSize, the quota will be reset to the default value for the specified origin. If this is called multiple times with different origins, the override will be maintained for each origin until it is disabled (called without a quotaSize).
}

OverrideQuotaForOriginParams are the parameters of the command Storage.overrideQuotaForOrigin.

type PrivateVerificationToken

type PrivateVerificationToken struct {
	ID           string             `json:"id"`           // Unique identifier of the token in the database.
	IssuerOrigin string             `json:"issuerOrigin"` // Origin of the token issuer.
	KeyID        int64              `json:"keyId"`        // Public key ID used to issue the token.
	Expiration   cdp.TimeSinceEpoch `json:"expiration"`   // Expiration timestamp in seconds since the epoch.
	CreationTime cdp.TimeSinceEpoch `json:"creationTime"` // Token creation timestamp in seconds since the epoch.
	Version      int64              `json:"version"`      // Token protocol version.
	Token        []byte             `json:"token"`        // Base64-encoded serialized token.
}

PrivateVerificationToken details of a stored Private Verification Token.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-PrivateVerificationToken

type PrivateVerificationTokensIssuerConfig

type PrivateVerificationTokensIssuerConfig struct {
	IssuerOrigin    string   `json:"issuerOrigin"`    // Origin of the token issuer.
	RedeemerOrigins []string `json:"redeemerOrigins"` // Origins authorized to redeem tokens from this issuer.
}

PrivateVerificationTokensIssuerConfig configuration for a Private Verification Tokens issuer.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-PrivateVerificationTokensIssuerConfig

type RunBounceTrackingMitigationsResult added in v0.157.3

type RunBounceTrackingMitigationsResult struct {
	DeletedSites []string `json:"deletedSites,omitempty,omitzero"`
}

RunBounceTrackingMitigationsResult is the result of the command Storage.runBounceTrackingMitigations.

type SerializedStorageKey

type SerializedStorageKey string

SerializedStorageKey [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SerializedStorageKey

func (SerializedStorageKey) String

func (t SerializedStorageKey) String() string

String returns the SerializedStorageKey as string value.

type SetCookiesParams

type SetCookiesParams struct {
	Cookies          []*network.CookieParam `json:"cookies"`                             // Cookies to be set.
	BrowserContextID cdp.BrowserContextID   `json:"browserContextId,omitempty,omitzero"` // Browser context to use when called on the browser endpoint.
}

SetCookiesParams are the parameters of the command Storage.setCookies.

type SetPrivateVerificationTokensTrackingParams

type SetPrivateVerificationTokensTrackingParams struct {
	Enable bool `json:"enable"`
}

SetPrivateVerificationTokensTrackingParams are the parameters of the command Storage.setPrivateVerificationTokensTracking.

type SetStorageBucketTrackingParams

type SetStorageBucketTrackingParams struct {
	StorageKey string `json:"storageKey"`
	Enable     bool   `json:"enable"`
}

SetStorageBucketTrackingParams are the parameters of the command Storage.setStorageBucketTracking.

type TrackCacheStorageForOriginParams

type TrackCacheStorageForOriginParams struct {
	Origin string `json:"origin"` // Security origin.
}

TrackCacheStorageForOriginParams are the parameters of the command Storage.trackCacheStorageForOrigin.

type TrackCacheStorageForStorageKeyParams

type TrackCacheStorageForStorageKeyParams struct {
	StorageKey string `json:"storageKey"` // Storage key.
}

TrackCacheStorageForStorageKeyParams are the parameters of the command Storage.trackCacheStorageForStorageKey.

type TrackIndexedDBForOriginParams

type TrackIndexedDBForOriginParams struct {
	Origin string `json:"origin"` // Security origin.
}

TrackIndexedDBForOriginParams are the parameters of the command Storage.trackIndexedDBForOrigin.

type TrackIndexedDBForStorageKeyParams

type TrackIndexedDBForStorageKeyParams struct {
	StorageKey string `json:"storageKey"` // Storage key.
}

TrackIndexedDBForStorageKeyParams are the parameters of the command Storage.trackIndexedDBForStorageKey.

type TrustTokens

type TrustTokens struct {
	IssuerOrigin string  `json:"issuerOrigin"`
	Count        float64 `json:"count"`
}

TrustTokens pair of issuer origin and number of available (signed, but not used) Trust Tokens from that issuer.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-TrustTokens

type Type

type Type string

Type enum of possible storage types.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-StorageType

const (
	TypeCookies        Type = "cookies"
	TypeFileSystems    Type = "file_systems"
	TypeIndexeddb      Type = "indexeddb"
	TypeLocalStorage   Type = "local_storage"
	TypeShaderCache    Type = "shader_cache"
	TypeWebsql         Type = "websql"
	TypeServiceWorkers Type = "service_workers"
	TypeCacheStorage   Type = "cache_storage"
	TypeStorageBuckets Type = "storage_buckets"
	TypeAll            Type = "all"
	TypeOther          Type = "other"
)

Type values.

func (Type) String

func (t Type) String() string

String returns the Type as string value.

type UntrackCacheStorageForOriginParams

type UntrackCacheStorageForOriginParams struct {
	Origin string `json:"origin"` // Security origin.
}

UntrackCacheStorageForOriginParams are the parameters of the command Storage.untrackCacheStorageForOrigin.

type UntrackCacheStorageForStorageKeyParams

type UntrackCacheStorageForStorageKeyParams struct {
	StorageKey string `json:"storageKey"` // Storage key.
}

UntrackCacheStorageForStorageKeyParams are the parameters of the command Storage.untrackCacheStorageForStorageKey.

type UntrackIndexedDBForOriginParams

type UntrackIndexedDBForOriginParams struct {
	Origin string `json:"origin"` // Security origin.
}

UntrackIndexedDBForOriginParams are the parameters of the command Storage.untrackIndexedDBForOrigin.

type UntrackIndexedDBForStorageKeyParams

type UntrackIndexedDBForStorageKeyParams struct {
	StorageKey string `json:"storageKey"` // Storage key.
}

UntrackIndexedDBForStorageKeyParams are the parameters of the command Storage.untrackIndexedDBForStorageKey.

type UsageForType

type UsageForType struct {
	StorageType Type    `json:"storageType"` // Name of storage type.
	Usage       float64 `json:"usage"`       // Storage usage (bytes).
}

UsageForType usage for a storage type.

See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-UsageForType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL