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

DOMStorage Domain

Query and modify DOM storage.

Experimental

Methods

DOMStorage. enable

Enables storage tracking, storage events will now be delivered to the client.

DOMStorage. disable

Disables storage tracking, prevents storage events from being sent to the client.

DOMStorage. clear

Parameters
storageId
StorageId

DOMStorage. getDOMStorageItems

Parameters
storageId
StorageId
Return object
entries
array [ Item ]

DOMStorage. setDOMStorageItem

Parameters
storageId
StorageId
key
string
value
string

DOMStorage. removeDOMStorageItem

Parameters
storageId
StorageId
key
string

Events

DOMStorage. domStorageItemsCleared

Parameters
storageId
StorageId

DOMStorage. domStorageItemRemoved

Parameters
storageId
StorageId
key
string

DOMStorage. domStorageItemAdded

Parameters
storageId
StorageId
key
string
newValue
string

DOMStorage. domStorageItemUpdated

Parameters
storageId
StorageId
key
string
oldValue
string
newValue
string

Types

StorageId

DOM Storage identifier. Experimental

Type: object

Properties
securityOrigin
string Security origin for the storage.
isLocalStorage
boolean Whether the storage is local storage (not session storage).

Item

DOM Storage item. Experimental

Type: array