Click or drag to resize

StorageClient Methods

Version 130.1.90

The StorageClient type exposes the following members.

Methods
 NameDescription
Public methodClearCookiesAsync Clears cookies.
Public methodClearDataForOriginAsync Clears storage for origin.
Public methodClearDataForStorageKeyAsync Clears storage for storage key.
Public methodClearSharedStorageEntriesAsync Clears all entries for a given origin's shared storage.
Public methodClearTrustTokensAsync Removes all Trust Tokens issued by the provided issuerOrigin. Leaves other stored data, including the issuer's Redemption Records, intact.
Public methodDeleteSharedStorageEntryAsync Deletes entry for `key` (if it exists) for a given origin's shared storage.
Public methodDeleteStorageBucketAsync Deletes the Storage Bucket with the given storage key and bucket name.
Protected methodEnumToString(ContentEncoding)
(Inherited from DevToolsDomainBase)
Protected methodEnumToString(CSPViolationType)
(Inherited from DevToolsDomainBase)
Protected methodEnumToString(DisabledImageType)
(Inherited from DevToolsDomainBase)
Protected methodEnumToString(Enum)
(Inherited from DevToolsDomainBase)
Protected methodEnumToString(PermissionType)
(Inherited from DevToolsDomainBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetCookiesAsync Returns all browser cookies.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetInterestGroupDetailsAsync Gets details for a named interest group.
Public methodGetRelatedWebsiteSetsAsync 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.
Public methodGetSharedStorageEntriesAsync Gets the entries in an given origin's shared storage.
Public methodGetSharedStorageMetadataAsync Gets metadata for an origin's shared storage.
Public methodGetStorageKeyForFrameAsync Returns a storage key given a frame id.
Public methodGetTrustTokensAsync Returns the number of stored Trust Tokens per issuer for the current browsing context.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetUsageAndQuotaAsync Returns usage and quota in bytes.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOverrideQuotaForOriginAsync Override quota for the specified origin
Public methodResetSharedStorageBudgetAsync Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
Public methodRunBounceTrackingMitigationsAsync Deletes state for sites identified as potential bounce trackers, immediately.
Public methodSendPendingAttributionReportsAsync Sends all pending Attribution Reports immediately, regardless of their scheduled report time.
Public methodSetAttributionReportingLocalTestingModeAsync https://wicg.github.io/attribution-reporting-api/
Public methodSetAttributionReportingTrackingAsync Enables/disables issuing of Attribution Reporting events.
Public methodSetCookiesAsync Sets given cookies.
Public methodSetInterestGroupAuctionTrackingAsync Enables/Disables issuing of interestGroupAuctionEventOccurred and interestGroupAuctionNetworkRequestCreated.
Public methodSetInterestGroupTrackingAsync Enables/Disables issuing of interestGroupAccessed events.
Public methodSetSharedStorageEntryAsync Sets entry with `key` and `value` for a given origin's shared storage.
Public methodSetSharedStorageTrackingAsync Enables/disables issuing of sharedStorageAccessed events.
Public methodSetStorageBucketTrackingAsync Set tracking for a storage key's buckets.
Protected methodToBase64String
(Inherited from DevToolsDomainBase)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTrackCacheStorageForOriginAsync Registers origin to be notified when an update occurs to its cache storage list.
Public methodTrackCacheStorageForStorageKeyAsync Registers storage key to be notified when an update occurs to its cache storage list.
Public methodTrackIndexedDBForOriginAsync Registers origin to be notified when an update occurs to its IndexedDB.
Public methodTrackIndexedDBForStorageKeyAsync Registers storage key to be notified when an update occurs to its IndexedDB.
Public methodUntrackCacheStorageForOriginAsync Unregisters origin from receiving notifications for cache storage.
Public methodUntrackCacheStorageForStorageKeyAsync Unregisters storage key from receiving notifications for cache storage.
Public methodUntrackIndexedDBForOriginAsync Unregisters origin from receiving notifications for IndexedDB.
Public methodUntrackIndexedDBForStorageKeyAsync Unregisters storage key from receiving notifications for IndexedDB.
Top
See Also