Documentation
¶
Overview ¶
Package storage provides the Chrome DevTools Protocol commands, types, and events for the Storage domain.
Generated by the cdproto-gen command.
Index ¶
- Constants
- type AttributionReportingAggregatableDebugReportingConfig
- type AttributionReportingAggregatableDebugReportingData
- type AttributionReportingAggregatableDedupKey
- type AttributionReportingAggregatableResult
- type AttributionReportingAggregatableTriggerData
- type AttributionReportingAggregatableValueDictEntry
- type AttributionReportingAggregatableValueEntry
- type AttributionReportingAggregationKeysEntry
- type AttributionReportingEventLevelResult
- type AttributionReportingEventReportWindows
- type AttributionReportingEventTriggerData
- type AttributionReportingFilterConfig
- type AttributionReportingFilterDataEntry
- type AttributionReportingFilterPair
- type AttributionReportingSourceRegistration
- type AttributionReportingSourceRegistrationResult
- type AttributionReportingSourceRegistrationTimeConfig
- type AttributionReportingSourceType
- type AttributionReportingTriggerDataMatching
- type AttributionReportingTriggerRegistration
- type AttributionReportingTriggerSpec
- type AttributionScopesData
- type Bucket
- type BucketInfo
- type BucketsDurability
- type ClearCookiesParams
- type ClearDataForOriginParams
- type ClearDataForStorageKeyParams
- type ClearSharedStorageEntriesParams
- type ClearTrustTokensParams
- type ClearTrustTokensReturns
- type DeleteSharedStorageEntryParams
- type DeleteStorageBucketParams
- type EventAttributionReportingSourceRegistered
- type EventAttributionReportingTriggerRegistered
- type EventCacheStorageContentUpdated
- type EventCacheStorageListUpdated
- type EventIndexedDBContentUpdated
- type EventIndexedDBListUpdated
- type EventInterestGroupAccessed
- type EventInterestGroupAuctionEventOccurred
- type EventInterestGroupAuctionNetworkRequestCreated
- type EventSharedStorageAccessed
- type EventStorageBucketCreatedOrUpdated
- type EventStorageBucketDeleted
- type GetAffectedURLsForThirdPartyCookieMetadataParams
- type GetAffectedURLsForThirdPartyCookieMetadataReturns
- type GetCookiesParams
- type GetCookiesReturns
- type GetInterestGroupDetailsParams
- type GetInterestGroupDetailsReturns
- type GetRelatedWebsiteSetsParams
- type GetRelatedWebsiteSetsReturns
- type GetSharedStorageEntriesParams
- type GetSharedStorageEntriesReturns
- type GetSharedStorageMetadataParams
- type GetSharedStorageMetadataReturns
- type GetStorageKeyForFrameParams
- type GetStorageKeyForFrameReturns
- type GetTrustTokensParams
- type GetTrustTokensReturns
- type GetUsageAndQuotaParams
- type GetUsageAndQuotaReturns
- type InterestGroupAccessType
- type InterestGroupAuctionEventType
- type InterestGroupAuctionFetchType
- type InterestGroupAuctionID
- type OverrideQuotaForOriginParams
- type RelatedWebsiteSet
- type ResetSharedStorageBudgetParams
- type RunBounceTrackingMitigationsParams
- type RunBounceTrackingMitigationsReturns
- type SendPendingAttributionReportsParams
- type SendPendingAttributionReportsReturns
- type SerializedStorageKey
- type SetAttributionReportingLocalTestingModeParams
- type SetAttributionReportingTrackingParams
- type SetCookiesParams
- type SetInterestGroupAuctionTrackingParams
- type SetInterestGroupTrackingParams
- type SetSharedStorageEntryParams
- type SetSharedStorageTrackingParams
- type SetStorageBucketTrackingParams
- type SharedStorageAccessParams
- type SharedStorageAccessType
- type SharedStorageEntry
- type SharedStorageMetadata
- type SharedStorageReportingMetadata
- type SharedStorageURLWithMetadata
- type SignedInt64asBase10
- type TrackCacheStorageForOriginParams
- type TrackCacheStorageForStorageKeyParams
- type TrackIndexedDBForOriginParams
- type TrackIndexedDBForStorageKeyParams
- type TrustTokens
- type Type
- type UnsignedInt128asBase16
- type UnsignedInt64asBase10
- type UntrackCacheStorageForOriginParams
- type UntrackCacheStorageForStorageKeyParams
- type UntrackIndexedDBForOriginParams
- type UntrackIndexedDBForStorageKeyParams
- type UsageForType
Constants ¶
const ( CommandGetStorageKeyForFrame = "Storage.getStorageKeyForFrame" 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" CommandGetInterestGroupDetails = "Storage.getInterestGroupDetails" CommandSetInterestGroupTracking = "Storage.setInterestGroupTracking" CommandSetInterestGroupAuctionTracking = "Storage.setInterestGroupAuctionTracking" CommandSetStorageBucketTracking = "Storage.setStorageBucketTracking" CommandDeleteStorageBucket = "Storage.deleteStorageBucket" CommandRunBounceTrackingMitigations = "Storage.runBounceTrackingMitigations" CommandSetAttributionReportingLocalTestingMode = "Storage.setAttributionReportingLocalTestingMode" CommandSetAttributionReportingTracking = "Storage.setAttributionReportingTracking" CommandSendPendingAttributionReports = "Storage.sendPendingAttributionReports" CommandGetRelatedWebsiteSets = "Storage.getRelatedWebsiteSets" CommandGetAffectedURLsForThirdPartyCookieMetadata = "Storage.getAffectedUrlsForThirdPartyCookieMetadata" )
Command names.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttributionReportingAggregatableDebugReportingConfig ¶
type AttributionReportingAggregatableDebugReportingConfig struct { Budget float64 `json:"budget,omitempty,omitzero"` // number instead of integer because not all uint32 can be represented by int, only present for source registrations KeyPiece UnsignedInt128asBase16 `json:"keyPiece"` DebugData []*AttributionReportingAggregatableDebugReportingData `json:"debugData"` AggregationCoordinatorOrigin string `json:"aggregationCoordinatorOrigin,omitempty,omitzero"` }
AttributionReportingAggregatableDebugReportingConfig [no description].
type AttributionReportingAggregatableDebugReportingData ¶
type AttributionReportingAggregatableDebugReportingData struct { KeyPiece UnsignedInt128asBase16 `json:"keyPiece"` Value float64 `json:"value"` // number instead of integer because not all uint32 can be represented by int Types []string `json:"types"` }
AttributionReportingAggregatableDebugReportingData [no description].
type AttributionReportingAggregatableDedupKey ¶
type AttributionReportingAggregatableDedupKey struct { DedupKey UnsignedInt64asBase10 `json:"dedupKey,omitempty,omitzero"` Filters *AttributionReportingFilterPair `json:"filters"` }
AttributionReportingAggregatableDedupKey [no description].
type AttributionReportingAggregatableResult ¶
type AttributionReportingAggregatableResult string
AttributionReportingAggregatableResult [no description].
const ( AttributionReportingAggregatableResultSuccess AttributionReportingAggregatableResult = "success" AttributionReportingAggregatableResultInternalError AttributionReportingAggregatableResult = "internalError" AttributionReportingAggregatableResultNoCapacityForAttributionDestination AttributionReportingAggregatableResult = "noCapacityForAttributionDestination" AttributionReportingAggregatableResultNoMatchingSources AttributionReportingAggregatableResult = "noMatchingSources" AttributionReportingAggregatableResultExcessiveAttributions AttributionReportingAggregatableResult = "excessiveAttributions" AttributionReportingAggregatableResultExcessiveReportingOrigins AttributionReportingAggregatableResult = "excessiveReportingOrigins" AttributionReportingAggregatableResultNoHistograms AttributionReportingAggregatableResult = "noHistograms" AttributionReportingAggregatableResultInsufficientBudget AttributionReportingAggregatableResult = "insufficientBudget" AttributionReportingAggregatableResultInsufficientNamedBudget AttributionReportingAggregatableResult = "insufficientNamedBudget" AttributionReportingAggregatableResultNoMatchingSourceFilterData AttributionReportingAggregatableResult = "noMatchingSourceFilterData" AttributionReportingAggregatableResultNotRegistered AttributionReportingAggregatableResult = "notRegistered" AttributionReportingAggregatableResultProhibitedByBrowserPolicy AttributionReportingAggregatableResult = "prohibitedByBrowserPolicy" AttributionReportingAggregatableResultDeduplicated AttributionReportingAggregatableResult = "deduplicated" AttributionReportingAggregatableResultReportWindowPassed AttributionReportingAggregatableResult = "reportWindowPassed" AttributionReportingAggregatableResultExcessiveReports AttributionReportingAggregatableResult = "excessiveReports" )
AttributionReportingAggregatableResult values.
func (AttributionReportingAggregatableResult) String ¶
func (t AttributionReportingAggregatableResult) String() string
String returns the AttributionReportingAggregatableResult as string value.
func (*AttributionReportingAggregatableResult) UnmarshalJSON ¶
func (t *AttributionReportingAggregatableResult) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies [json.Unmarshaler].
type AttributionReportingAggregatableTriggerData ¶
type AttributionReportingAggregatableTriggerData struct { KeyPiece UnsignedInt128asBase16 `json:"keyPiece"` SourceKeys []string `json:"sourceKeys"` Filters *AttributionReportingFilterPair `json:"filters"` }
AttributionReportingAggregatableTriggerData [no description].
type AttributionReportingAggregatableValueDictEntry ¶
type AttributionReportingAggregatableValueDictEntry struct { Key string `json:"key"` Value float64 `json:"value"` // number instead of integer because not all uint32 can be represented by int FilteringID UnsignedInt64asBase10 `json:"filteringId"` }
AttributionReportingAggregatableValueDictEntry [no description].
type AttributionReportingAggregatableValueEntry ¶
type AttributionReportingAggregatableValueEntry struct { Values []*AttributionReportingAggregatableValueDictEntry `json:"values"` Filters *AttributionReportingFilterPair `json:"filters"` }
AttributionReportingAggregatableValueEntry [no description].
type AttributionReportingAggregationKeysEntry ¶
type AttributionReportingAggregationKeysEntry struct { Key string `json:"key"` Value UnsignedInt128asBase16 `json:"value"` }
AttributionReportingAggregationKeysEntry [no description].
type AttributionReportingEventLevelResult ¶
type AttributionReportingEventLevelResult string
AttributionReportingEventLevelResult [no description].
const ( AttributionReportingEventLevelResultSuccess AttributionReportingEventLevelResult = "success" AttributionReportingEventLevelResultSuccessDroppedLowerPriority AttributionReportingEventLevelResult = "successDroppedLowerPriority" AttributionReportingEventLevelResultInternalError AttributionReportingEventLevelResult = "internalError" AttributionReportingEventLevelResultNoCapacityForAttributionDestination AttributionReportingEventLevelResult = "noCapacityForAttributionDestination" AttributionReportingEventLevelResultNoMatchingSources AttributionReportingEventLevelResult = "noMatchingSources" AttributionReportingEventLevelResultDeduplicated AttributionReportingEventLevelResult = "deduplicated" AttributionReportingEventLevelResultExcessiveAttributions AttributionReportingEventLevelResult = "excessiveAttributions" AttributionReportingEventLevelResultPriorityTooLow AttributionReportingEventLevelResult = "priorityTooLow" AttributionReportingEventLevelResultNeverAttributedSource AttributionReportingEventLevelResult = "neverAttributedSource" AttributionReportingEventLevelResultExcessiveReportingOrigins AttributionReportingEventLevelResult = "excessiveReportingOrigins" AttributionReportingEventLevelResultNoMatchingSourceFilterData AttributionReportingEventLevelResult = "noMatchingSourceFilterData" AttributionReportingEventLevelResultProhibitedByBrowserPolicy AttributionReportingEventLevelResult = "prohibitedByBrowserPolicy" AttributionReportingEventLevelResultNoMatchingConfigurations AttributionReportingEventLevelResult = "noMatchingConfigurations" AttributionReportingEventLevelResultExcessiveReports AttributionReportingEventLevelResult = "excessiveReports" AttributionReportingEventLevelResultFalselyAttributedSource AttributionReportingEventLevelResult = "falselyAttributedSource" AttributionReportingEventLevelResultReportWindowPassed AttributionReportingEventLevelResult = "reportWindowPassed" AttributionReportingEventLevelResultNotRegistered AttributionReportingEventLevelResult = "notRegistered" AttributionReportingEventLevelResultReportWindowNotStarted AttributionReportingEventLevelResult = "reportWindowNotStarted" AttributionReportingEventLevelResultNoMatchingTriggerData AttributionReportingEventLevelResult = "noMatchingTriggerData" )
AttributionReportingEventLevelResult values.
func (AttributionReportingEventLevelResult) String ¶
func (t AttributionReportingEventLevelResult) String() string
String returns the AttributionReportingEventLevelResult as string value.
func (*AttributionReportingEventLevelResult) UnmarshalJSON ¶
func (t *AttributionReportingEventLevelResult) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies [json.Unmarshaler].
type AttributionReportingEventReportWindows ¶
type AttributionReportingEventReportWindows struct { Start int64 `json:"start"` // duration in seconds Ends []int64 `json:"ends"` // duration in seconds }
AttributionReportingEventReportWindows [no description].
type AttributionReportingEventTriggerData ¶
type AttributionReportingEventTriggerData struct { Data UnsignedInt64asBase10 `json:"data"` Priority SignedInt64asBase10 `json:"priority"` DedupKey UnsignedInt64asBase10 `json:"dedupKey,omitempty,omitzero"` Filters *AttributionReportingFilterPair `json:"filters"` }
AttributionReportingEventTriggerData [no description].
type AttributionReportingFilterConfig ¶
type AttributionReportingFilterConfig struct { FilterValues []*AttributionReportingFilterDataEntry `json:"filterValues"` LookbackWindow int64 `json:"lookbackWindow,omitempty,omitzero"` // duration in seconds }
AttributionReportingFilterConfig [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingFilterConfig
type AttributionReportingFilterDataEntry ¶
type AttributionReportingFilterDataEntry struct { Key string `json:"key"` Values []string `json:"values"` }
AttributionReportingFilterDataEntry [no description].
type AttributionReportingFilterPair ¶
type AttributionReportingFilterPair struct { Filters []*AttributionReportingFilterConfig `json:"filters"` NotFilters []*AttributionReportingFilterConfig `json:"notFilters"` }
AttributionReportingFilterPair [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingFilterPair
type AttributionReportingSourceRegistration ¶
type AttributionReportingSourceRegistration struct { Time *cdp.TimeSinceEpoch `json:"time"` Expiry int64 `json:"expiry"` // duration in seconds TriggerSpecs []*AttributionReportingTriggerSpec `json:"triggerSpecs"` AggregatableReportWindow int64 `json:"aggregatableReportWindow"` // duration in seconds Type AttributionReportingSourceType `json:"type"` SourceOrigin string `json:"sourceOrigin"` ReportingOrigin string `json:"reportingOrigin"` DestinationSites []string `json:"destinationSites"` EventID UnsignedInt64asBase10 `json:"eventId"` Priority SignedInt64asBase10 `json:"priority"` FilterData []*AttributionReportingFilterDataEntry `json:"filterData"` AggregationKeys []*AttributionReportingAggregationKeysEntry `json:"aggregationKeys"` DebugKey UnsignedInt64asBase10 `json:"debugKey,omitempty,omitzero"` TriggerDataMatching AttributionReportingTriggerDataMatching `json:"triggerDataMatching"` DestinationLimitPriority SignedInt64asBase10 `json:"destinationLimitPriority"` AggregatableDebugReportingConfig *AttributionReportingAggregatableDebugReportingConfig `json:"aggregatableDebugReportingConfig"` ScopesData *AttributionScopesData `json:"scopesData,omitempty,omitzero"` MaxEventLevelReports int64 `json:"maxEventLevelReports"` }
AttributionReportingSourceRegistration [no description].
type AttributionReportingSourceRegistrationResult ¶
type AttributionReportingSourceRegistrationResult string
AttributionReportingSourceRegistrationResult [no description].
const ( AttributionReportingSourceRegistrationResultSuccess AttributionReportingSourceRegistrationResult = "success" AttributionReportingSourceRegistrationResultInternalError AttributionReportingSourceRegistrationResult = "internalError" AttributionReportingSourceRegistrationResultInsufficientSourceCapacity AttributionReportingSourceRegistrationResult = "insufficientSourceCapacity" AttributionReportingSourceRegistrationResultInsufficientUniqueDestinationCapacity AttributionReportingSourceRegistrationResult = "insufficientUniqueDestinationCapacity" AttributionReportingSourceRegistrationResultExcessiveReportingOrigins AttributionReportingSourceRegistrationResult = "excessiveReportingOrigins" AttributionReportingSourceRegistrationResultProhibitedByBrowserPolicy AttributionReportingSourceRegistrationResult = "prohibitedByBrowserPolicy" AttributionReportingSourceRegistrationResultSuccessNoised AttributionReportingSourceRegistrationResult = "successNoised" AttributionReportingSourceRegistrationResultDestinationReportingLimitReached AttributionReportingSourceRegistrationResult = "destinationReportingLimitReached" AttributionReportingSourceRegistrationResultDestinationGlobalLimitReached AttributionReportingSourceRegistrationResult = "destinationGlobalLimitReached" AttributionReportingSourceRegistrationResultDestinationBothLimitsReached AttributionReportingSourceRegistrationResult = "destinationBothLimitsReached" AttributionReportingSourceRegistrationResultReportingOriginsPerSiteLimitReached AttributionReportingSourceRegistrationResult = "reportingOriginsPerSiteLimitReached" AttributionReportingSourceRegistrationResultExceedsMaxChannelCapacity AttributionReportingSourceRegistrationResult = "exceedsMaxChannelCapacity" AttributionReportingSourceRegistrationResultExceedsMaxScopesChannelCapacity AttributionReportingSourceRegistrationResult = "exceedsMaxScopesChannelCapacity" AttributionReportingSourceRegistrationResultExceedsMaxTriggerStateCardinality AttributionReportingSourceRegistrationResult = "exceedsMaxTriggerStateCardinality" AttributionReportingSourceRegistrationResultExceedsMaxEventStatesLimit AttributionReportingSourceRegistrationResult = "exceedsMaxEventStatesLimit" AttributionReportingSourceRegistrationResultDestinationPerDayReportingLimitReached AttributionReportingSourceRegistrationResult = "destinationPerDayReportingLimitReached" )
AttributionReportingSourceRegistrationResult values.
func (AttributionReportingSourceRegistrationResult) String ¶
func (t AttributionReportingSourceRegistrationResult) String() string
String returns the AttributionReportingSourceRegistrationResult as string value.
func (*AttributionReportingSourceRegistrationResult) UnmarshalJSON ¶
func (t *AttributionReportingSourceRegistrationResult) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies [json.Unmarshaler].
type AttributionReportingSourceRegistrationTimeConfig ¶
type AttributionReportingSourceRegistrationTimeConfig string
AttributionReportingSourceRegistrationTimeConfig [no description].
const ( AttributionReportingSourceRegistrationTimeConfigInclude AttributionReportingSourceRegistrationTimeConfig = "include" AttributionReportingSourceRegistrationTimeConfigExclude AttributionReportingSourceRegistrationTimeConfig = "exclude" )
AttributionReportingSourceRegistrationTimeConfig values.
func (AttributionReportingSourceRegistrationTimeConfig) String ¶
func (t AttributionReportingSourceRegistrationTimeConfig) String() string
String returns the AttributionReportingSourceRegistrationTimeConfig as string value.
func (*AttributionReportingSourceRegistrationTimeConfig) UnmarshalJSON ¶
func (t *AttributionReportingSourceRegistrationTimeConfig) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies [json.Unmarshaler].
type AttributionReportingSourceType ¶
type AttributionReportingSourceType string
AttributionReportingSourceType [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingSourceType
const ( AttributionReportingSourceTypeEvent AttributionReportingSourceType = "event" )
AttributionReportingSourceType values.
func (AttributionReportingSourceType) String ¶
func (t AttributionReportingSourceType) String() string
String returns the AttributionReportingSourceType as string value.
func (*AttributionReportingSourceType) UnmarshalJSON ¶
func (t *AttributionReportingSourceType) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies [json.Unmarshaler].
type AttributionReportingTriggerDataMatching ¶
type AttributionReportingTriggerDataMatching string
AttributionReportingTriggerDataMatching [no description].
const ( AttributionReportingTriggerDataMatchingExact AttributionReportingTriggerDataMatching = "exact" AttributionReportingTriggerDataMatchingModulus AttributionReportingTriggerDataMatching = "modulus" )
AttributionReportingTriggerDataMatching values.
func (AttributionReportingTriggerDataMatching) String ¶
func (t AttributionReportingTriggerDataMatching) String() string
String returns the AttributionReportingTriggerDataMatching as string value.
func (*AttributionReportingTriggerDataMatching) UnmarshalJSON ¶
func (t *AttributionReportingTriggerDataMatching) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies [json.Unmarshaler].
type AttributionReportingTriggerRegistration ¶
type AttributionReportingTriggerRegistration struct { Filters *AttributionReportingFilterPair `json:"filters"` DebugKey UnsignedInt64asBase10 `json:"debugKey,omitempty,omitzero"` AggregatableDedupKeys []*AttributionReportingAggregatableDedupKey `json:"aggregatableDedupKeys"` EventTriggerData []*AttributionReportingEventTriggerData `json:"eventTriggerData"` AggregatableTriggerData []*AttributionReportingAggregatableTriggerData `json:"aggregatableTriggerData"` AggregatableValues []*AttributionReportingAggregatableValueEntry `json:"aggregatableValues"` AggregatableFilteringIDMaxBytes int64 `json:"aggregatableFilteringIdMaxBytes"` DebugReporting bool `json:"debugReporting"` AggregationCoordinatorOrigin string `json:"aggregationCoordinatorOrigin,omitempty,omitzero"` SourceRegistrationTimeConfig AttributionReportingSourceRegistrationTimeConfig `json:"sourceRegistrationTimeConfig"` TriggerContextID string `json:"triggerContextId,omitempty,omitzero"` AggregatableDebugReportingConfig *AttributionReportingAggregatableDebugReportingConfig `json:"aggregatableDebugReportingConfig"` Scopes []string `json:"scopes"` }
AttributionReportingTriggerRegistration [no description].
type AttributionReportingTriggerSpec ¶
type AttributionReportingTriggerSpec struct { TriggerData []float64 `json:"triggerData"` // number instead of integer because not all uint32 can be represented by int EventReportWindows *AttributionReportingEventReportWindows `json:"eventReportWindows"` }
AttributionReportingTriggerSpec [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionReportingTriggerSpec
type AttributionScopesData ¶
type AttributionScopesData struct { Values []string `json:"values"` Limit float64 `json:"limit"` // number instead of integer because not all uint32 can be represented by int MaxEventStates float64 `json:"maxEventStates"` }
AttributionScopesData [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-AttributionScopesData
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.
func (*BucketsDurability) UnmarshalJSON ¶
func (t *BucketsDurability) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies [json.Unmarshaler].
type ClearCookiesParams ¶
type ClearCookiesParams struct {
BrowserContextID cdp.BrowserContextID `json:"browserContextId,omitempty,omitzero"` // Browser context to use when called on the browser endpoint.
}
ClearCookiesParams clears cookies.
func ClearCookies ¶
func ClearCookies() *ClearCookiesParams
ClearCookies clears cookies.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-clearCookies
parameters:
func (*ClearCookiesParams) Do ¶
func (p *ClearCookiesParams) Do(ctx context.Context) (err error)
Do executes Storage.clearCookies against the provided context.
func (ClearCookiesParams) WithBrowserContextID ¶
func (p ClearCookiesParams) WithBrowserContextID(browserContextID cdp.BrowserContextID) *ClearCookiesParams
WithBrowserContextID browser context to use when called on the browser endpoint.
type ClearDataForOriginParams ¶
type ClearDataForOriginParams struct { Origin string `json:"origin"` // Security origin. StorageTypes string `json:"storageTypes"` // Comma separated list of StorageType to clear. }
ClearDataForOriginParams clears storage for origin.
func ClearDataForOrigin ¶
func ClearDataForOrigin(origin string, storageTypes string) *ClearDataForOriginParams
ClearDataForOrigin clears storage for origin.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-clearDataForOrigin
parameters:
origin - Security origin. storageTypes - Comma separated list of StorageType to clear.
type ClearDataForStorageKeyParams ¶
type ClearDataForStorageKeyParams struct { StorageKey string `json:"storageKey"` // Storage key. StorageTypes string `json:"storageTypes"` // Comma separated list of StorageType to clear. }
ClearDataForStorageKeyParams clears storage for storage key.
func ClearDataForStorageKey ¶
func ClearDataForStorageKey(storageKey string, storageTypes string) *ClearDataForStorageKeyParams
ClearDataForStorageKey clears storage for storage key.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-clearDataForStorageKey
parameters:
storageKey - Storage key. storageTypes - Comma separated list of StorageType to clear.
type ClearSharedStorageEntriesParams ¶
type ClearSharedStorageEntriesParams struct {
}ClearSharedStorageEntriesParams clears all entries for a given origin's shared storage.
func ClearSharedStorageEntries ¶
func ClearSharedStorageEntries(ownerOrigin string) *ClearSharedStorageEntriesParams
ClearSharedStorageEntries clears all entries for a given origin's shared storage.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-clearSharedStorageEntries
parameters:
ownerOrigin
type ClearTrustTokensParams ¶
type ClearTrustTokensParams struct {
IssuerOrigin string `json:"issuerOrigin"`
}
ClearTrustTokensParams removes all Trust Tokens issued by the provided issuerOrigin. Leaves other stored data, including the issuer's Redemption Records, intact.
func ClearTrustTokens ¶
func ClearTrustTokens(issuerOrigin string) *ClearTrustTokensParams
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
parameters:
issuerOrigin
type ClearTrustTokensReturns ¶
type ClearTrustTokensReturns struct {
DidDeleteTokens bool `json:"didDeleteTokens,omitempty,omitzero"` // True if any tokens were deleted, false otherwise.
}
ClearTrustTokensReturns return values.
type DeleteSharedStorageEntryParams ¶
type DeleteSharedStorageEntryParams struct {}
DeleteSharedStorageEntryParams deletes entry for key (if it exists) for a given origin's shared storage.
func DeleteSharedStorageEntry ¶
func DeleteSharedStorageEntry(ownerOrigin string, key string) *DeleteSharedStorageEntryParams
DeleteSharedStorageEntry deletes entry for key (if it exists) for a given origin's shared storage.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-deleteSharedStorageEntry
parameters:
ownerOrigin key
type DeleteStorageBucketParams ¶
type DeleteStorageBucketParams struct {
Bucket *Bucket `json:"bucket"`
}
DeleteStorageBucketParams deletes the Storage Bucket with the given storage key and bucket name.
func DeleteStorageBucket ¶
func DeleteStorageBucket(bucket *Bucket) *DeleteStorageBucketParams
DeleteStorageBucket deletes the Storage Bucket with the given storage key and bucket name.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-deleteStorageBucket
parameters:
bucket
type EventAttributionReportingSourceRegistered ¶
type EventAttributionReportingSourceRegistered struct { Registration *AttributionReportingSourceRegistration `json:"registration"` Result AttributionReportingSourceRegistrationResult `json:"result"` }
EventAttributionReportingSourceRegistered [no description].
type EventAttributionReportingTriggerRegistered ¶
type EventAttributionReportingTriggerRegistered struct { Registration *AttributionReportingTriggerRegistration `json:"registration"` EventLevel AttributionReportingEventLevelResult `json:"eventLevel"` Aggregatable AttributionReportingAggregatableResult `json:"aggregatable"` }
EventAttributionReportingTriggerRegistered [no description].
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 EventInterestGroupAccessed ¶
type EventInterestGroupAccessed struct { AccessTime *cdp.TimeSinceEpoch `json:"accessTime"` Type InterestGroupAccessType `json:"type"` OwnerOrigin string `json:"ownerOrigin"` Name string `json:"name"` ComponentSellerOrigin string `json:"componentSellerOrigin,omitempty,omitzero"` // For topLevelBid/topLevelAdditionalBid, and when appropriate, win and additionalBidWin Bid float64 `json:"bid,omitempty,omitzero"` // For bid or somethingBid event, if done locally and not on a server. BidCurrency string `json:"bidCurrency,omitempty,omitzero"` UniqueAuctionID InterestGroupAuctionID `json:"uniqueAuctionId,omitempty,omitzero"` // For non-global events --- links to interestGroupAuctionEvent }
EventInterestGroupAccessed one of the interest groups was accessed. Note that these events are global to all targets sharing an interest group store.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-interestGroupAccessed
type EventInterestGroupAuctionEventOccurred ¶
type EventInterestGroupAuctionEventOccurred struct { EventTime *cdp.TimeSinceEpoch `json:"eventTime"` Type InterestGroupAuctionEventType `json:"type"` UniqueAuctionID InterestGroupAuctionID `json:"uniqueAuctionId"` ParentAuctionID InterestGroupAuctionID `json:"parentAuctionId,omitempty,omitzero"` // Set for child auctions. AuctionConfig jsontext.Value `json:"auctionConfig,omitempty,omitzero"` }
EventInterestGroupAuctionEventOccurred an auction involving interest groups is taking place. These events are target-specific.
type EventInterestGroupAuctionNetworkRequestCreated ¶
type EventInterestGroupAuctionNetworkRequestCreated struct { Type InterestGroupAuctionFetchType `json:"type"` RequestID network.RequestID `json:"requestId"` Auctions []InterestGroupAuctionID `json:"auctions"` // This is the set of the auctions using the worklet that issued this request. In the case of trusted signals, it's possible that only some of them actually care about the keys being queried. }
EventInterestGroupAuctionNetworkRequestCreated specifies which auctions a particular network fetch may be related to, and in what role. Note that it is not ordered with respect to Network.requestWillBeSent (but will happen before loadingFinished loadingFailed).
type EventSharedStorageAccessed ¶
type EventSharedStorageAccessed struct {}
EventSharedStorageAccessed shared storage was accessed by the associated page. The following parameters are included in all events.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#event-sharedStorageAccessed
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 GetAffectedURLsForThirdPartyCookieMetadataParams ¶
type GetAffectedURLsForThirdPartyCookieMetadataParams struct { FirstPartyURL string `json:"firstPartyUrl"` // The URL of the page currently being visited. ThirdPartyURLs []string `json:"thirdPartyUrls"` // The list of embedded resource URLs from the page. }
GetAffectedURLsForThirdPartyCookieMetadataParams returns the list of URLs from a page and its embedded resources that match existing grace period URL pattern rules. https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period.
func GetAffectedURLsForThirdPartyCookieMetadata ¶
func GetAffectedURLsForThirdPartyCookieMetadata(firstPartyURL string, thirdPartyURLs []string) *GetAffectedURLsForThirdPartyCookieMetadataParams
GetAffectedURLsForThirdPartyCookieMetadata returns the list of URLs from a page and its embedded resources that match existing grace period URL pattern rules. https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period.
parameters:
firstPartyURL - The URL of the page currently being visited. thirdPartyURLs - The list of embedded resource URLs from the page.
func (*GetAffectedURLsForThirdPartyCookieMetadataParams) Do ¶
func (p *GetAffectedURLsForThirdPartyCookieMetadataParams) Do(ctx context.Context) (matchedURLs []string, err error)
Do executes Storage.getAffectedUrlsForThirdPartyCookieMetadata against the provided context.
returns:
matchedURLs - Array of matching URLs. If there is a primary pattern match for the first- party URL, only the first-party URL is returned in the array.
type GetAffectedURLsForThirdPartyCookieMetadataReturns ¶
type GetAffectedURLsForThirdPartyCookieMetadataReturns struct {
MatchedURLs []string `json:"matchedUrls,omitempty,omitzero"` // Array of matching URLs. If there is a primary pattern match for the first- party URL, only the first-party URL is returned in the array.
}
GetAffectedURLsForThirdPartyCookieMetadataReturns return values.
type GetCookiesParams ¶
type GetCookiesParams struct {
BrowserContextID cdp.BrowserContextID `json:"browserContextId,omitempty,omitzero"` // Browser context to use when called on the browser endpoint.
}
GetCookiesParams returns all browser cookies.
func GetCookies ¶
func GetCookies() *GetCookiesParams
GetCookies returns all browser cookies.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getCookies
parameters:
func (*GetCookiesParams) Do ¶
Do executes Storage.getCookies against the provided context.
returns:
cookies - Array of cookie objects.
func (GetCookiesParams) WithBrowserContextID ¶
func (p GetCookiesParams) WithBrowserContextID(browserContextID cdp.BrowserContextID) *GetCookiesParams
WithBrowserContextID browser context to use when called on the browser endpoint.
type GetCookiesReturns ¶
type GetCookiesReturns struct {
Cookies []*network.Cookie `json:"cookies,omitempty,omitzero"` // Array of cookie objects.
}
GetCookiesReturns return values.
type GetInterestGroupDetailsParams ¶
type GetInterestGroupDetailsParams struct { OwnerOrigin string `json:"ownerOrigin"` Name string `json:"name"` }
GetInterestGroupDetailsParams gets details for a named interest group.
func GetInterestGroupDetails ¶
func GetInterestGroupDetails(ownerOrigin string, name string) *GetInterestGroupDetailsParams
GetInterestGroupDetails gets details for a named interest group.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getInterestGroupDetails
parameters:
ownerOrigin name
func (*GetInterestGroupDetailsParams) Do ¶
Do executes Storage.getInterestGroupDetails against the provided context.
returns:
details - This largely corresponds to: https://wicg.github.io/turtledove/#dictdef-generatebidinterestgroup but has absolute expirationTime instead of relative lifetimeMs and also adds joiningOrigin.
type GetInterestGroupDetailsReturns ¶
type GetInterestGroupDetailsReturns struct {
Details jsontext.Value `json:"details,omitempty,omitzero"`
}
GetInterestGroupDetailsReturns return values.
type GetRelatedWebsiteSetsParams ¶
type GetRelatedWebsiteSetsParams struct{}
GetRelatedWebsiteSetsParams returns the effective Related Website Sets in use by this profile for the browser session. The effective Related Website Sets will not change during a browser session.
func GetRelatedWebsiteSets ¶
func GetRelatedWebsiteSets() *GetRelatedWebsiteSetsParams
GetRelatedWebsiteSets returns the effective Related Website Sets in use by this profile for the browser session. The effective Related Website Sets will not change during a browser session.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getRelatedWebsiteSets
func (*GetRelatedWebsiteSetsParams) Do ¶
func (p *GetRelatedWebsiteSetsParams) Do(ctx context.Context) (sets []*RelatedWebsiteSet, err error)
Do executes Storage.getRelatedWebsiteSets against the provided context.
returns:
sets
type GetRelatedWebsiteSetsReturns ¶
type GetRelatedWebsiteSetsReturns struct {
Sets []*RelatedWebsiteSet `json:"sets,omitempty,omitzero"`
}
GetRelatedWebsiteSetsReturns return values.
type GetSharedStorageEntriesParams ¶
type GetSharedStorageEntriesParams struct {
}GetSharedStorageEntriesParams gets the entries in an given origin's shared storage.
func GetSharedStorageEntries ¶
func GetSharedStorageEntries(ownerOrigin string) *GetSharedStorageEntriesParams
GetSharedStorageEntries gets the entries in an given origin's shared storage.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getSharedStorageEntries
parameters:
ownerOrigin
func (*GetSharedStorageEntriesParams) Do ¶
func (p *GetSharedStorageEntriesParams) Do(ctx context.Context) (entries []*SharedStorageEntry, err error)
Do executes Storage.getSharedStorageEntries against the provided context.
returns:
entries
type GetSharedStorageEntriesReturns ¶
type GetSharedStorageEntriesReturns struct {
}GetSharedStorageEntriesReturns return values.
type GetSharedStorageMetadataParams ¶
type GetSharedStorageMetadataParams struct {
}GetSharedStorageMetadataParams gets metadata for an origin's shared storage.
func GetSharedStorageMetadata ¶
func GetSharedStorageMetadata(ownerOrigin string) *GetSharedStorageMetadataParams
GetSharedStorageMetadata gets metadata for an origin's shared storage.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getSharedStorageMetadata
parameters:
ownerOrigin
func (*GetSharedStorageMetadataParams) Do ¶
func (p *GetSharedStorageMetadataParams) Do(ctx context.Context) (metadata *SharedStorageMetadata, err error)
Do executes Storage.getSharedStorageMetadata against the provided context.
returns:
metadata
type GetSharedStorageMetadataReturns ¶
type GetSharedStorageMetadataReturns struct {
}GetSharedStorageMetadataReturns return values.
type GetStorageKeyForFrameParams ¶
GetStorageKeyForFrameParams returns a storage key given a frame id.
func GetStorageKeyForFrame ¶
func GetStorageKeyForFrame(frameID cdp.FrameID) *GetStorageKeyForFrameParams
GetStorageKeyForFrame returns a storage key given a frame id.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getStorageKeyForFrame
parameters:
frameID
func (*GetStorageKeyForFrameParams) Do ¶
func (p *GetStorageKeyForFrameParams) Do(ctx context.Context) (storageKey SerializedStorageKey, err error)
Do executes Storage.getStorageKeyForFrame against the provided context.
returns:
storageKey
type GetStorageKeyForFrameReturns ¶
type GetStorageKeyForFrameReturns struct {
StorageKey SerializedStorageKey `json:"storageKey,omitempty,omitzero"`
}
GetStorageKeyForFrameReturns return values.
type GetTrustTokensParams ¶
type GetTrustTokensParams struct{}
GetTrustTokensParams returns the number of stored Trust Tokens per issuer for the current browsing context.
func GetTrustTokens ¶
func GetTrustTokens() *GetTrustTokensParams
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
func (*GetTrustTokensParams) Do ¶
func (p *GetTrustTokensParams) Do(ctx context.Context) (tokens []*TrustTokens, err error)
Do executes Storage.getTrustTokens against the provided context.
returns:
tokens
type GetTrustTokensReturns ¶
type GetTrustTokensReturns struct {
Tokens []*TrustTokens `json:"tokens,omitempty,omitzero"`
}
GetTrustTokensReturns return values.
type GetUsageAndQuotaParams ¶
type GetUsageAndQuotaParams struct {
Origin string `json:"origin"` // Security origin.
}
GetUsageAndQuotaParams returns usage and quota in bytes.
func GetUsageAndQuota ¶
func GetUsageAndQuota(origin string) *GetUsageAndQuotaParams
GetUsageAndQuota returns usage and quota in bytes.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-getUsageAndQuota
parameters:
origin - Security origin.
func (*GetUsageAndQuotaParams) Do ¶
func (p *GetUsageAndQuotaParams) Do(ctx context.Context) (usage float64, quota float64, overrideActive bool, usageBreakdown []*UsageForType, err error)
Do executes Storage.getUsageAndQuota against the provided context.
returns:
usage - Storage usage (bytes). quota - Storage quota (bytes). overrideActive - Whether or not the origin has an active storage quota override usageBreakdown - Storage usage per type (bytes).
type GetUsageAndQuotaReturns ¶
type GetUsageAndQuotaReturns struct { Usage float64 `json:"usage,omitempty,omitzero"` // Storage usage (bytes). Quota float64 `json:"quota,omitempty,omitzero"` // Storage quota (bytes). OverrideActive bool `json:"overrideActive,omitempty,omitzero"` // Whether or not the origin has an active storage quota override UsageBreakdown []*UsageForType `json:"usageBreakdown,omitempty,omitzero"` // Storage usage per type (bytes). }
GetUsageAndQuotaReturns return values.
type InterestGroupAccessType ¶
type InterestGroupAccessType string
InterestGroupAccessType enum of interest group access types.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-InterestGroupAccessType
const ( InterestGroupAccessTypeJoin InterestGroupAccessType = "join" InterestGroupAccessTypeLeave InterestGroupAccessType = "leave" InterestGroupAccessTypeUpdate InterestGroupAccessType = "update" InterestGroupAccessTypeLoaded InterestGroupAccessType = "loaded" InterestGroupAccessTypeBid InterestGroupAccessType = "bid" InterestGroupAccessTypeWin InterestGroupAccessType = "win" InterestGroupAccessTypeAdditionalBid InterestGroupAccessType = "additionalBid" InterestGroupAccessTypeAdditionalBidWin InterestGroupAccessType = "additionalBidWin" InterestGroupAccessTypeTopLevelBid InterestGroupAccessType = "topLevelBid" InterestGroupAccessTypeTopLevelAdditionalBid InterestGroupAccessType = "topLevelAdditionalBid" InterestGroupAccessTypeClear InterestGroupAccessType = "clear" )
InterestGroupAccessType values.
func (InterestGroupAccessType) String ¶
func (t InterestGroupAccessType) String() string
String returns the InterestGroupAccessType as string value.
func (*InterestGroupAccessType) UnmarshalJSON ¶
func (t *InterestGroupAccessType) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies [json.Unmarshaler].
type InterestGroupAuctionEventType ¶
type InterestGroupAuctionEventType string
InterestGroupAuctionEventType enum of auction events.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-InterestGroupAuctionEventType
const ( InterestGroupAuctionEventTypeStarted InterestGroupAuctionEventType = "started" InterestGroupAuctionEventTypeConfigResolved InterestGroupAuctionEventType = "configResolved" )
InterestGroupAuctionEventType values.
func (InterestGroupAuctionEventType) String ¶
func (t InterestGroupAuctionEventType) String() string
String returns the InterestGroupAuctionEventType as string value.
func (*InterestGroupAuctionEventType) UnmarshalJSON ¶
func (t *InterestGroupAuctionEventType) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies [json.Unmarshaler].
type InterestGroupAuctionFetchType ¶
type InterestGroupAuctionFetchType string
InterestGroupAuctionFetchType enum of network fetches auctions can do.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-InterestGroupAuctionFetchType
const ( InterestGroupAuctionFetchTypeBidderJs InterestGroupAuctionFetchType = "bidderJs" InterestGroupAuctionFetchTypeBidderWasm InterestGroupAuctionFetchType = "bidderWasm" InterestGroupAuctionFetchTypeSellerJs InterestGroupAuctionFetchType = "sellerJs" InterestGroupAuctionFetchTypeBidderTrustedSignals InterestGroupAuctionFetchType = "bidderTrustedSignals" InterestGroupAuctionFetchTypeSellerTrustedSignals InterestGroupAuctionFetchType = "sellerTrustedSignals" )
InterestGroupAuctionFetchType values.
func (InterestGroupAuctionFetchType) String ¶
func (t InterestGroupAuctionFetchType) String() string
String returns the InterestGroupAuctionFetchType as string value.
func (*InterestGroupAuctionFetchType) UnmarshalJSON ¶
func (t *InterestGroupAuctionFetchType) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies [json.Unmarshaler].
type InterestGroupAuctionID ¶
type InterestGroupAuctionID string
InterestGroupAuctionID protected audience interest group auction identifier.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-InterestGroupAuctionId
func (InterestGroupAuctionID) String ¶
func (t InterestGroupAuctionID) String() string
String returns the InterestGroupAuctionID as string value.
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 override quota for the specified origin.
func OverrideQuotaForOrigin ¶
func OverrideQuotaForOrigin(origin string) *OverrideQuotaForOriginParams
OverrideQuotaForOrigin override quota for the specified origin.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-overrideQuotaForOrigin
parameters:
origin - Security origin.
func (*OverrideQuotaForOriginParams) Do ¶
func (p *OverrideQuotaForOriginParams) Do(ctx context.Context) (err error)
Do executes Storage.overrideQuotaForOrigin against the provided context.
func (OverrideQuotaForOriginParams) WithQuotaSize ¶
func (p OverrideQuotaForOriginParams) WithQuotaSize(quotaSize float64) *OverrideQuotaForOriginParams
WithQuotaSize 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).
type RelatedWebsiteSet ¶
type RelatedWebsiteSet struct { PrimarySites []string `json:"primarySites"` // The primary site of this set, along with the ccTLDs if there is any. AssociatedSites []string `json:"associatedSites"` // The associated sites of this set, along with the ccTLDs if there is any. ServiceSites []string `json:"serviceSites"` // The service sites of this set, along with the ccTLDs if there is any. }
RelatedWebsiteSet a single Related Website Set object.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-RelatedWebsiteSet
type ResetSharedStorageBudgetParams ¶
type ResetSharedStorageBudgetParams struct {
}ResetSharedStorageBudgetParams resets the budget for ownerOrigin by clearing all budget withdrawals.
func ResetSharedStorageBudget ¶
func ResetSharedStorageBudget(ownerOrigin string) *ResetSharedStorageBudgetParams
ResetSharedStorageBudget resets the budget for ownerOrigin by clearing all budget withdrawals.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-resetSharedStorageBudget
parameters:
ownerOrigin
type RunBounceTrackingMitigationsParams ¶
type RunBounceTrackingMitigationsParams struct{}
RunBounceTrackingMitigationsParams deletes state for sites identified as potential bounce trackers, immediately.
func RunBounceTrackingMitigations ¶
func RunBounceTrackingMitigations() *RunBounceTrackingMitigationsParams
RunBounceTrackingMitigations deletes state for sites identified as potential bounce trackers, immediately.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-runBounceTrackingMitigations
type RunBounceTrackingMitigationsReturns ¶
type RunBounceTrackingMitigationsReturns struct {
DeletedSites []string `json:"deletedSites,omitempty,omitzero"`
}
RunBounceTrackingMitigationsReturns return values.
type SendPendingAttributionReportsParams ¶
type SendPendingAttributionReportsParams struct{}
SendPendingAttributionReportsParams sends all pending Attribution Reports immediately, regardless of their scheduled report time.
func SendPendingAttributionReports ¶
func SendPendingAttributionReports() *SendPendingAttributionReportsParams
SendPendingAttributionReports sends all pending Attribution Reports immediately, regardless of their scheduled report time.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-sendPendingAttributionReports
type SendPendingAttributionReportsReturns ¶
type SendPendingAttributionReportsReturns struct {
NumSent int64 `json:"numSent,omitempty,omitzero"` // The number of reports that were sent.
}
SendPendingAttributionReportsReturns return values.
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 SetAttributionReportingLocalTestingModeParams ¶
type SetAttributionReportingLocalTestingModeParams struct {
Enabled bool `json:"enabled"` // If enabled, noise is suppressed and reports are sent immediately.
}
SetAttributionReportingLocalTestingModeParams https://wicg.github.io/attribution-reporting-api/.
func SetAttributionReportingLocalTestingMode ¶
func SetAttributionReportingLocalTestingMode(enabled bool) *SetAttributionReportingLocalTestingModeParams
SetAttributionReportingLocalTestingMode https://wicg.github.io/attribution-reporting-api/.
parameters:
enabled - If enabled, noise is suppressed and reports are sent immediately.
type SetAttributionReportingTrackingParams ¶
type SetAttributionReportingTrackingParams struct {
Enable bool `json:"enable"`
}
SetAttributionReportingTrackingParams enables/disables issuing of Attribution Reporting events.
func SetAttributionReportingTracking ¶
func SetAttributionReportingTracking(enable bool) *SetAttributionReportingTrackingParams
SetAttributionReportingTracking enables/disables issuing of Attribution Reporting events.
parameters:
enable
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 sets given cookies.
func SetCookies ¶
func SetCookies(cookies []*network.CookieParam) *SetCookiesParams
SetCookies sets given cookies.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setCookies
parameters:
cookies - Cookies to be set.
func (*SetCookiesParams) Do ¶
func (p *SetCookiesParams) Do(ctx context.Context) (err error)
Do executes Storage.setCookies against the provided context.
func (SetCookiesParams) WithBrowserContextID ¶
func (p SetCookiesParams) WithBrowserContextID(browserContextID cdp.BrowserContextID) *SetCookiesParams
WithBrowserContextID browser context to use when called on the browser endpoint.
type SetInterestGroupAuctionTrackingParams ¶
type SetInterestGroupAuctionTrackingParams struct {
Enable bool `json:"enable"`
}
SetInterestGroupAuctionTrackingParams enables/Disables issuing of interestGroupAuctionEventOccurred and interestGroupAuctionNetworkRequestCreated.
func SetInterestGroupAuctionTracking ¶
func SetInterestGroupAuctionTracking(enable bool) *SetInterestGroupAuctionTrackingParams
SetInterestGroupAuctionTracking enables/Disables issuing of interestGroupAuctionEventOccurred and interestGroupAuctionNetworkRequestCreated.
parameters:
enable
type SetInterestGroupTrackingParams ¶
type SetInterestGroupTrackingParams struct {
Enable bool `json:"enable"`
}
SetInterestGroupTrackingParams enables/Disables issuing of interestGroupAccessed events.
func SetInterestGroupTracking ¶
func SetInterestGroupTracking(enable bool) *SetInterestGroupTrackingParams
SetInterestGroupTracking enables/Disables issuing of interestGroupAccessed events.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setInterestGroupTracking
parameters:
enable
type SetSharedStorageEntryParams ¶
type SetSharedStorageEntryParams struct {}
SetSharedStorageEntryParams sets entry with key and value for a given origin's shared storage.
func SetSharedStorageEntry ¶
func SetSharedStorageEntry(ownerOrigin string, key string, value string) *SetSharedStorageEntryParams
SetSharedStorageEntry sets entry with key and value for a given origin's shared storage.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setSharedStorageEntry
parameters:
ownerOrigin key value
func (*SetSharedStorageEntryParams) Do ¶
func (p *SetSharedStorageEntryParams) Do(ctx context.Context) (err error)
Do executes Storage.setSharedStorageEntry against the provided context.
func (SetSharedStorageEntryParams) WithIgnoreIfPresent ¶
func (p SetSharedStorageEntryParams) WithIgnoreIfPresent(ignoreIfPresent bool) *SetSharedStorageEntryParams
WithIgnoreIfPresent if ignoreIfPresent is included and true, then only sets the entry if key doesn't already exist.
type SetSharedStorageTrackingParams ¶
type SetSharedStorageTrackingParams struct {
}SetSharedStorageTrackingParams enables/disables issuing of sharedStorageAccessed events.
func SetSharedStorageTracking ¶
func SetSharedStorageTracking(enable bool) *SetSharedStorageTrackingParams
SetSharedStorageTracking enables/disables issuing of sharedStorageAccessed events.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setSharedStorageTracking
parameters:
enable
type SetStorageBucketTrackingParams ¶
type SetStorageBucketTrackingParams struct { StorageKey string `json:"storageKey"` Enable bool `json:"enable"` }
SetStorageBucketTrackingParams set tracking for a storage key's buckets.
func SetStorageBucketTracking ¶
func SetStorageBucketTracking(storageKey string, enable bool) *SetStorageBucketTrackingParams
SetStorageBucketTracking set tracking for a storage key's buckets.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-setStorageBucketTracking
parameters:
storageKey enable
type SharedStorageAccessParams ¶
type SharedStorageAccessParams struct {}
SharedStorageAccessParams bundles the parameters for shared storage access events whose presence/absence can vary according to SharedStorageAccessType.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SharedStorageAccessParams
type SharedStorageAccessType ¶
type SharedStorageAccessType string
SharedStorageAccessType enum of shared storage access types.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SharedStorageAccessType
const ()
SharedStorageAccessType values.
func (SharedStorageAccessType) String ¶
func (t SharedStorageAccessType) String() string
String returns the SharedStorageAccessType as string value.
func (*SharedStorageAccessType) UnmarshalJSON ¶
func (t *SharedStorageAccessType) UnmarshalJSON(buf []byte) error
UnmarshalJSON satisfies [json.Unmarshaler].
type SharedStorageEntry ¶
type SharedStorageEntry struct {}
SharedStorageEntry struct for a single key-value pair in an origin's shared storage.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SharedStorageEntry
type SharedStorageMetadata ¶
type SharedStorageMetadata struct {}
SharedStorageMetadata details for an origin's shared storage.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SharedStorageMetadata
type SharedStorageReportingMetadata ¶
type SharedStorageReportingMetadata struct {}
SharedStorageReportingMetadata pair of reporting metadata details for a candidate URL for selectURL().
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SharedStorageReportingMetadata
type SharedStorageURLWithMetadata ¶
type SharedStorageURLWithMetadata struct {}
SharedStorageURLWithMetadata bundles a candidate URL with its reporting metadata.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SharedStorageUrlWithMetadata
type SignedInt64asBase10 ¶
type SignedInt64asBase10 string
SignedInt64asBase10 [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-SignedInt64AsBase10
func (SignedInt64asBase10) String ¶
func (t SignedInt64asBase10) String() string
String returns the SignedInt64asBase10 as string value.
type TrackCacheStorageForOriginParams ¶
type TrackCacheStorageForOriginParams struct {
Origin string `json:"origin"` // Security origin.
}
TrackCacheStorageForOriginParams registers origin to be notified when an update occurs to its cache storage list.
func TrackCacheStorageForOrigin ¶
func TrackCacheStorageForOrigin(origin string) *TrackCacheStorageForOriginParams
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
parameters:
origin - Security origin.
type TrackCacheStorageForStorageKeyParams ¶
type TrackCacheStorageForStorageKeyParams struct {
StorageKey string `json:"storageKey"` // Storage key.
}
TrackCacheStorageForStorageKeyParams registers storage key to be notified when an update occurs to its cache storage list.
func TrackCacheStorageForStorageKey ¶
func TrackCacheStorageForStorageKey(storageKey string) *TrackCacheStorageForStorageKeyParams
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
parameters:
storageKey - Storage key.
type TrackIndexedDBForOriginParams ¶
type TrackIndexedDBForOriginParams struct {
Origin string `json:"origin"` // Security origin.
}
TrackIndexedDBForOriginParams registers origin to be notified when an update occurs to its IndexedDB.
func TrackIndexedDBForOrigin ¶
func TrackIndexedDBForOrigin(origin string) *TrackIndexedDBForOriginParams
TrackIndexedDBForOrigin registers origin to be notified when an update occurs to its IndexedDB.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-trackIndexedDBForOrigin
parameters:
origin - Security origin.
type TrackIndexedDBForStorageKeyParams ¶
type TrackIndexedDBForStorageKeyParams struct {
StorageKey string `json:"storageKey"` // Storage key.
}
TrackIndexedDBForStorageKeyParams registers storage key to be notified when an update occurs to its IndexedDB.
func TrackIndexedDBForStorageKey ¶
func TrackIndexedDBForStorageKey(storageKey string) *TrackIndexedDBForStorageKeyParams
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
parameters:
storageKey - Storage key.
type TrustTokens ¶
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" TypeInterestGroups Type = "interest_groups" TypeStorageBuckets Type = "storage_buckets" TypeAll Type = "all" TypeOther Type = "other" )
Type values.
func (*Type) UnmarshalJSON ¶
UnmarshalJSON satisfies [json.Unmarshaler].
type UnsignedInt128asBase16 ¶
type UnsignedInt128asBase16 string
UnsignedInt128asBase16 [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-UnsignedInt128AsBase16
func (UnsignedInt128asBase16) String ¶
func (t UnsignedInt128asBase16) String() string
String returns the UnsignedInt128asBase16 as string value.
type UnsignedInt64asBase10 ¶
type UnsignedInt64asBase10 string
UnsignedInt64asBase10 [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#type-UnsignedInt64AsBase10
func (UnsignedInt64asBase10) String ¶
func (t UnsignedInt64asBase10) String() string
String returns the UnsignedInt64asBase10 as string value.
type UntrackCacheStorageForOriginParams ¶
type UntrackCacheStorageForOriginParams struct {
Origin string `json:"origin"` // Security origin.
}
UntrackCacheStorageForOriginParams unregisters origin from receiving notifications for cache storage.
func UntrackCacheStorageForOrigin ¶
func UntrackCacheStorageForOrigin(origin string) *UntrackCacheStorageForOriginParams
UntrackCacheStorageForOrigin unregisters origin from receiving notifications for cache storage.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-untrackCacheStorageForOrigin
parameters:
origin - Security origin.
type UntrackCacheStorageForStorageKeyParams ¶
type UntrackCacheStorageForStorageKeyParams struct {
StorageKey string `json:"storageKey"` // Storage key.
}
UntrackCacheStorageForStorageKeyParams unregisters storage key from receiving notifications for cache storage.
func UntrackCacheStorageForStorageKey ¶
func UntrackCacheStorageForStorageKey(storageKey string) *UntrackCacheStorageForStorageKeyParams
UntrackCacheStorageForStorageKey unregisters storage key from receiving notifications for cache storage.
parameters:
storageKey - Storage key.
type UntrackIndexedDBForOriginParams ¶
type UntrackIndexedDBForOriginParams struct {
Origin string `json:"origin"` // Security origin.
}
UntrackIndexedDBForOriginParams unregisters origin from receiving notifications for IndexedDB.
func UntrackIndexedDBForOrigin ¶
func UntrackIndexedDBForOrigin(origin string) *UntrackIndexedDBForOriginParams
UntrackIndexedDBForOrigin unregisters origin from receiving notifications for IndexedDB.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-untrackIndexedDBForOrigin
parameters:
origin - Security origin.
type UntrackIndexedDBForStorageKeyParams ¶
type UntrackIndexedDBForStorageKeyParams struct {
StorageKey string `json:"storageKey"` // Storage key.
}
UntrackIndexedDBForStorageKeyParams unregisters storage key from receiving notifications for IndexedDB.
func UntrackIndexedDBForStorageKey ¶
func UntrackIndexedDBForStorageKey(storageKey string) *UntrackIndexedDBForStorageKeyParams
UntrackIndexedDBForStorageKey unregisters storage key from receiving notifications for IndexedDB.
See: https://chromedevtools.github.io/devtools-protocol/tot/Storage#method-untrackIndexedDBForStorageKey
parameters:
storageKey - Storage key.
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