stable (1.2) latest (tip-of-tree) v8-inspector (node) Home Domains Accessibility Animation ApplicationCache Browser CSS CacheStorage Console DOM DOMDebugger DOMSnapshot DOMStorage Database Debugger DeviceOrientation Emulation HeapProfiler IO IndexedDB Input Inspector LayerTree Log Memory Network Overlay Page 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).

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).