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)

Database Domain

Experimental

Methods

Database.enable

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

Database.disable

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

Database.getDatabaseTableNames

Parameters
databaseId
DatabaseId
Return object
tableNames
array [string]

Database.executeSQL

Parameters
databaseId
DatabaseId
query
string
Return object
columnNames
array [string]
values
array [any]
sqlError
Error

Events

Database.addDatabase

Parameters
database
Database

Types

DatabaseId

Unique identifier of Database object. Experimental

Type: string

Database

Database object. Experimental

Type: object

Properties
id
DatabaseId Database ID.
domain
string Database domain.
name
string Database name.
version
string Database version.

Error

Database error.

Type: object

Properties
message
string Error message.
code
integer Error code.