stable (1.2) latest (tip-of-tree) v8-inspector (node) Home Domains Accessibility Animation ApplicationCache Audits Browser CSS CacheStorage Console DOM DOMDebugger DOMSnapshot DOMStorage Database Debugger DeviceOrientation Emulation HeapProfiler IO IndexedDB Input Inspector LayerTree Log Memory Network Overlay Page Performance Profiler Runtime Schema Security ServiceWorker Storage SystemInfo Target Tethering Tracing
Chrome DevTools Protocol Viewer - latest (tip-of-tree)

Storage Domain

Experimental

Methods

Storage.clearDataForOrigin

Clears storage for origin.

Parameters
origin
string Security origin.
storageTypes
string Comma separated origin names.

Storage.getUsageAndQuota

Returns usage and quota in bytes.

Parameters
origin
string Security origin.
Return object
usage
number Storage usage (bytes).
quota
number Storage quota (bytes).
usageBreakdown
array [ UsageForType ] Storage usage per type (bytes).

Storage.trackCacheStorageForOrigin

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

Parameters
origin
string Security origin.

Storage.untrackCacheStorageForOrigin

Unregisters origin from receiving notifications for cache storage.

Parameters
origin
string Security origin.

Events

Storage.cacheStorageListUpdated

A cache has been added/deleted.

Parameters
origin
string Origin to update.

Storage.cacheStorageContentUpdated

A cache's contents have been modified.

Parameters
origin
string Origin to update.
cacheName
string Name of cache in origin.

Types

StorageType

Enum of possible storage types.

Type: string

Allowed values

appcache, cookies, file_systems, indexeddb, local_storage, shader_cache, websql, service_workers, cache_storage, all, other.

UsageForType

Usage for a storage type.

Type: object

Properties
storageType
StorageType Name of storage type.
usage
number Storage usage (bytes).