Domains Accessibility Animation ApplicationCache CSS CacheStorage Console DOM DOMDebugger DOMStorage Database Debugger DeviceOrientation Emulation FileSystem HeapProfiler IndexedDB Input Inspector LayerTree Memory Network Page Power Profiler Rendering Runtime ScreenOrientation Security ServiceWorker Timeline Tracing Worker
Chrome Debugger Protocol Viewer

Database Domain

Methods

enable

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

disable

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

getDatabaseTableNames

Parameters
databaseId
DatabaseId
Return object
tableNames
array [string]

executeSQL

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

Events

addDatabase

Parameters
database
Database

Types

DatabaseId

Unique identifier of Database object.

Type: string

Database

Database object.

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.