devtools-protocol 0.0.1403386 → 0.0.1404580
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json/browser_protocol.json +10 -138
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +10 -58
- package/types/protocol-mapping.d.ts +0 -23
- package/types/protocol-proxy-api.d.ts +0 -21
- package/types/protocol-tests-proxy-api.d.ts +0 -23
- package/types/protocol.d.ts +10 -77
@@ -1820,7 +1820,8 @@
|
|
1820
1820
|
"ReplacedByActiveMode",
|
1821
1821
|
"InvalidFieldsSpecified",
|
1822
1822
|
"RelyingPartyOriginIsOpaque",
|
1823
|
-
"TypeNotMatching"
|
1823
|
+
"TypeNotMatching",
|
1824
|
+
"UiDismissedNoEmbargo"
|
1824
1825
|
]
|
1825
1826
|
},
|
1826
1827
|
{
|
@@ -9126,136 +9127,6 @@
|
|
9126
9127
|
}
|
9127
9128
|
]
|
9128
9129
|
},
|
9129
|
-
{
|
9130
|
-
"domain": "Database",
|
9131
|
-
"experimental": true,
|
9132
|
-
"types": [
|
9133
|
-
{
|
9134
|
-
"id": "DatabaseId",
|
9135
|
-
"description": "Unique identifier of Database object.",
|
9136
|
-
"type": "string"
|
9137
|
-
},
|
9138
|
-
{
|
9139
|
-
"id": "Database",
|
9140
|
-
"description": "Database object.",
|
9141
|
-
"type": "object",
|
9142
|
-
"properties": [
|
9143
|
-
{
|
9144
|
-
"name": "id",
|
9145
|
-
"description": "Database ID.",
|
9146
|
-
"$ref": "DatabaseId"
|
9147
|
-
},
|
9148
|
-
{
|
9149
|
-
"name": "domain",
|
9150
|
-
"description": "Database domain.",
|
9151
|
-
"type": "string"
|
9152
|
-
},
|
9153
|
-
{
|
9154
|
-
"name": "name",
|
9155
|
-
"description": "Database name.",
|
9156
|
-
"type": "string"
|
9157
|
-
},
|
9158
|
-
{
|
9159
|
-
"name": "version",
|
9160
|
-
"description": "Database version.",
|
9161
|
-
"type": "string"
|
9162
|
-
}
|
9163
|
-
]
|
9164
|
-
},
|
9165
|
-
{
|
9166
|
-
"id": "Error",
|
9167
|
-
"description": "Database error.",
|
9168
|
-
"type": "object",
|
9169
|
-
"properties": [
|
9170
|
-
{
|
9171
|
-
"name": "message",
|
9172
|
-
"description": "Error message.",
|
9173
|
-
"type": "string"
|
9174
|
-
},
|
9175
|
-
{
|
9176
|
-
"name": "code",
|
9177
|
-
"description": "Error code.",
|
9178
|
-
"type": "integer"
|
9179
|
-
}
|
9180
|
-
]
|
9181
|
-
}
|
9182
|
-
],
|
9183
|
-
"commands": [
|
9184
|
-
{
|
9185
|
-
"name": "disable",
|
9186
|
-
"description": "Disables database tracking, prevents database events from being sent to the client."
|
9187
|
-
},
|
9188
|
-
{
|
9189
|
-
"name": "enable",
|
9190
|
-
"description": "Enables database tracking, database events will now be delivered to the client."
|
9191
|
-
},
|
9192
|
-
{
|
9193
|
-
"name": "executeSQL",
|
9194
|
-
"parameters": [
|
9195
|
-
{
|
9196
|
-
"name": "databaseId",
|
9197
|
-
"$ref": "DatabaseId"
|
9198
|
-
},
|
9199
|
-
{
|
9200
|
-
"name": "query",
|
9201
|
-
"type": "string"
|
9202
|
-
}
|
9203
|
-
],
|
9204
|
-
"returns": [
|
9205
|
-
{
|
9206
|
-
"name": "columnNames",
|
9207
|
-
"optional": true,
|
9208
|
-
"type": "array",
|
9209
|
-
"items": {
|
9210
|
-
"type": "string"
|
9211
|
-
}
|
9212
|
-
},
|
9213
|
-
{
|
9214
|
-
"name": "values",
|
9215
|
-
"optional": true,
|
9216
|
-
"type": "array",
|
9217
|
-
"items": {
|
9218
|
-
"type": "any"
|
9219
|
-
}
|
9220
|
-
},
|
9221
|
-
{
|
9222
|
-
"name": "sqlError",
|
9223
|
-
"optional": true,
|
9224
|
-
"$ref": "Error"
|
9225
|
-
}
|
9226
|
-
]
|
9227
|
-
},
|
9228
|
-
{
|
9229
|
-
"name": "getDatabaseTableNames",
|
9230
|
-
"parameters": [
|
9231
|
-
{
|
9232
|
-
"name": "databaseId",
|
9233
|
-
"$ref": "DatabaseId"
|
9234
|
-
}
|
9235
|
-
],
|
9236
|
-
"returns": [
|
9237
|
-
{
|
9238
|
-
"name": "tableNames",
|
9239
|
-
"type": "array",
|
9240
|
-
"items": {
|
9241
|
-
"type": "string"
|
9242
|
-
}
|
9243
|
-
}
|
9244
|
-
]
|
9245
|
-
}
|
9246
|
-
],
|
9247
|
-
"events": [
|
9248
|
-
{
|
9249
|
-
"name": "addDatabase",
|
9250
|
-
"parameters": [
|
9251
|
-
{
|
9252
|
-
"name": "database",
|
9253
|
-
"$ref": "Database"
|
9254
|
-
}
|
9255
|
-
]
|
9256
|
-
}
|
9257
|
-
]
|
9258
|
-
},
|
9259
9130
|
{
|
9260
9131
|
"domain": "DeviceOrientation",
|
9261
9132
|
"experimental": true,
|
@@ -17508,6 +17379,7 @@
|
|
17508
17379
|
"ch-ua",
|
17509
17380
|
"ch-ua-arch",
|
17510
17381
|
"ch-ua-bitness",
|
17382
|
+
"ch-ua-high-entropy-values",
|
17511
17383
|
"ch-ua-platform",
|
17512
17384
|
"ch-ua-model",
|
17513
17385
|
"ch-ua-mobile",
|
@@ -24051,27 +23923,27 @@
|
|
24051
23923
|
},
|
24052
23924
|
{
|
24053
23925
|
"name": "left",
|
24054
|
-
"description": "Frame left origin in DIP (headless
|
23926
|
+
"description": "Frame left origin in DIP (requires newWindow to be true or headless shell).",
|
24055
23927
|
"experimental": true,
|
24056
23928
|
"optional": true,
|
24057
23929
|
"type": "integer"
|
24058
23930
|
},
|
24059
23931
|
{
|
24060
23932
|
"name": "top",
|
24061
|
-
"description": "Frame top origin in DIP (headless
|
23933
|
+
"description": "Frame top origin in DIP (requires newWindow to be true or headless shell).",
|
24062
23934
|
"experimental": true,
|
24063
23935
|
"optional": true,
|
24064
23936
|
"type": "integer"
|
24065
23937
|
},
|
24066
23938
|
{
|
24067
23939
|
"name": "width",
|
24068
|
-
"description": "Frame width in DIP (headless
|
23940
|
+
"description": "Frame width in DIP (requires newWindow to be true or headless shell).",
|
24069
23941
|
"optional": true,
|
24070
23942
|
"type": "integer"
|
24071
23943
|
},
|
24072
23944
|
{
|
24073
23945
|
"name": "height",
|
24074
|
-
"description": "Frame height in DIP (headless
|
23946
|
+
"description": "Frame height in DIP (requires newWindow to be true or headless shell).",
|
24075
23947
|
"optional": true,
|
24076
23948
|
"type": "integer"
|
24077
23949
|
},
|
@@ -24084,20 +23956,20 @@
|
|
24084
23956
|
},
|
24085
23957
|
{
|
24086
23958
|
"name": "enableBeginFrameControl",
|
24087
|
-
"description": "Whether BeginFrames for this target will be controlled via DevTools (headless
|
23959
|
+
"description": "Whether BeginFrames for this target will be controlled via DevTools (headless shell only,\nnot supported on MacOS yet, false by default).",
|
24088
23960
|
"experimental": true,
|
24089
23961
|
"optional": true,
|
24090
23962
|
"type": "boolean"
|
24091
23963
|
},
|
24092
23964
|
{
|
24093
23965
|
"name": "newWindow",
|
24094
|
-
"description": "Whether to create a new Window or Tab (
|
23966
|
+
"description": "Whether to create a new Window or Tab (false by default, not supported by headless shell).",
|
24095
23967
|
"optional": true,
|
24096
23968
|
"type": "boolean"
|
24097
23969
|
},
|
24098
23970
|
{
|
24099
23971
|
"name": "background",
|
24100
|
-
"description": "Whether to create the target in background or foreground (
|
23972
|
+
"description": "Whether to create the target in background or foreground (false by default, not supported\nby headless shell).",
|
24101
23973
|
"optional": true,
|
24102
23974
|
"type": "boolean"
|
24103
23975
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -949,6 +949,7 @@ experimental domain Audits
|
|
949
949
|
InvalidFieldsSpecified
|
950
950
|
RelyingPartyOriginIsOpaque
|
951
951
|
TypeNotMatching
|
952
|
+
UiDismissedNoEmbargo
|
952
953
|
|
953
954
|
type FederatedAuthUserInfoRequestIssueDetails extends object
|
954
955
|
properties
|
@@ -4217,56 +4218,6 @@ experimental domain DOMStorage
|
|
4217
4218
|
parameters
|
4218
4219
|
StorageId storageId
|
4219
4220
|
|
4220
|
-
experimental domain Database
|
4221
|
-
|
4222
|
-
# Unique identifier of Database object.
|
4223
|
-
type DatabaseId extends string
|
4224
|
-
|
4225
|
-
# Database object.
|
4226
|
-
type Database extends object
|
4227
|
-
properties
|
4228
|
-
# Database ID.
|
4229
|
-
DatabaseId id
|
4230
|
-
# Database domain.
|
4231
|
-
string domain
|
4232
|
-
# Database name.
|
4233
|
-
string name
|
4234
|
-
# Database version.
|
4235
|
-
string version
|
4236
|
-
|
4237
|
-
# Database error.
|
4238
|
-
type Error extends object
|
4239
|
-
properties
|
4240
|
-
# Error message.
|
4241
|
-
string message
|
4242
|
-
# Error code.
|
4243
|
-
integer code
|
4244
|
-
|
4245
|
-
# Disables database tracking, prevents database events from being sent to the client.
|
4246
|
-
command disable
|
4247
|
-
|
4248
|
-
# Enables database tracking, database events will now be delivered to the client.
|
4249
|
-
command enable
|
4250
|
-
|
4251
|
-
command executeSQL
|
4252
|
-
parameters
|
4253
|
-
DatabaseId databaseId
|
4254
|
-
string query
|
4255
|
-
returns
|
4256
|
-
optional array of string columnNames
|
4257
|
-
optional array of any values
|
4258
|
-
optional Error sqlError
|
4259
|
-
|
4260
|
-
command getDatabaseTableNames
|
4261
|
-
parameters
|
4262
|
-
DatabaseId databaseId
|
4263
|
-
returns
|
4264
|
-
array of string tableNames
|
4265
|
-
|
4266
|
-
event addDatabase
|
4267
|
-
parameters
|
4268
|
-
Database database
|
4269
|
-
|
4270
4221
|
experimental domain DeviceOrientation
|
4271
4222
|
|
4272
4223
|
# Clears the overridden Device Orientation.
|
@@ -8246,6 +8197,7 @@ domain Page
|
|
8246
8197
|
ch-ua
|
8247
8198
|
ch-ua-arch
|
8248
8199
|
ch-ua-bitness
|
8200
|
+
ch-ua-high-entropy-values
|
8249
8201
|
ch-ua-platform
|
8250
8202
|
ch-ua-model
|
8251
8203
|
ch-ua-mobile
|
@@ -11295,23 +11247,23 @@ domain Target
|
|
11295
11247
|
parameters
|
11296
11248
|
# The initial URL the page will be navigated to. An empty string indicates about:blank.
|
11297
11249
|
string url
|
11298
|
-
# Frame left origin in DIP (headless
|
11250
|
+
# Frame left origin in DIP (requires newWindow to be true or headless shell).
|
11299
11251
|
experimental optional integer left
|
11300
|
-
# Frame top origin in DIP (headless
|
11252
|
+
# Frame top origin in DIP (requires newWindow to be true or headless shell).
|
11301
11253
|
experimental optional integer top
|
11302
|
-
# Frame width in DIP (headless
|
11254
|
+
# Frame width in DIP (requires newWindow to be true or headless shell).
|
11303
11255
|
optional integer width
|
11304
|
-
# Frame height in DIP (headless
|
11256
|
+
# Frame height in DIP (requires newWindow to be true or headless shell).
|
11305
11257
|
optional integer height
|
11306
11258
|
# The browser context to create the page in.
|
11307
11259
|
experimental optional Browser.BrowserContextID browserContextId
|
11308
|
-
# Whether BeginFrames for this target will be controlled via DevTools (headless
|
11260
|
+
# Whether BeginFrames for this target will be controlled via DevTools (headless shell only,
|
11309
11261
|
# not supported on MacOS yet, false by default).
|
11310
11262
|
experimental optional boolean enableBeginFrameControl
|
11311
|
-
# Whether to create a new Window or Tab (
|
11263
|
+
# Whether to create a new Window or Tab (false by default, not supported by headless shell).
|
11312
11264
|
optional boolean newWindow
|
11313
|
-
# Whether to create the target in background or foreground (
|
11314
|
-
#
|
11265
|
+
# Whether to create the target in background or foreground (false by default, not supported
|
11266
|
+
# by headless shell).
|
11315
11267
|
optional boolean background
|
11316
11268
|
# Whether to create the target of type "tab".
|
11317
11269
|
experimental optional boolean forTab
|
@@ -241,7 +241,6 @@ export namespace ProtocolMapping {
|
|
241
241
|
'DOMStorage.domStorageItemRemoved': [Protocol.DOMStorage.DomStorageItemRemovedEvent];
|
242
242
|
'DOMStorage.domStorageItemUpdated': [Protocol.DOMStorage.DomStorageItemUpdatedEvent];
|
243
243
|
'DOMStorage.domStorageItemsCleared': [Protocol.DOMStorage.DomStorageItemsClearedEvent];
|
244
|
-
'Database.addDatabase': [Protocol.Database.AddDatabaseEvent];
|
245
244
|
/**
|
246
245
|
* Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
|
247
246
|
*/
|
@@ -2662,28 +2661,6 @@ export namespace ProtocolMapping {
|
|
2662
2661
|
paramsType: [Protocol.DOMStorage.SetDOMStorageItemRequest];
|
2663
2662
|
returnType: void;
|
2664
2663
|
};
|
2665
|
-
/**
|
2666
|
-
* Disables database tracking, prevents database events from being sent to the client.
|
2667
|
-
*/
|
2668
|
-
'Database.disable': {
|
2669
|
-
paramsType: [];
|
2670
|
-
returnType: void;
|
2671
|
-
};
|
2672
|
-
/**
|
2673
|
-
* Enables database tracking, database events will now be delivered to the client.
|
2674
|
-
*/
|
2675
|
-
'Database.enable': {
|
2676
|
-
paramsType: [];
|
2677
|
-
returnType: void;
|
2678
|
-
};
|
2679
|
-
'Database.executeSQL': {
|
2680
|
-
paramsType: [Protocol.Database.ExecuteSQLRequest];
|
2681
|
-
returnType: Protocol.Database.ExecuteSQLResponse;
|
2682
|
-
};
|
2683
|
-
'Database.getDatabaseTableNames': {
|
2684
|
-
paramsType: [Protocol.Database.GetDatabaseTableNamesRequest];
|
2685
|
-
returnType: Protocol.Database.GetDatabaseTableNamesResponse;
|
2686
|
-
};
|
2687
2664
|
/**
|
2688
2665
|
* Clears the overridden Device Orientation.
|
2689
2666
|
*/
|
@@ -52,8 +52,6 @@ export namespace ProtocolProxyApi {
|
|
52
52
|
|
53
53
|
DOMStorage: DOMStorageApi;
|
54
54
|
|
55
|
-
Database: DatabaseApi;
|
56
|
-
|
57
55
|
DeviceOrientation: DeviceOrientationApi;
|
58
56
|
|
59
57
|
Emulation: EmulationApi;
|
@@ -1830,25 +1828,6 @@ export namespace ProtocolProxyApi {
|
|
1830
1828
|
|
1831
1829
|
}
|
1832
1830
|
|
1833
|
-
export interface DatabaseApi {
|
1834
|
-
/**
|
1835
|
-
* Disables database tracking, prevents database events from being sent to the client.
|
1836
|
-
*/
|
1837
|
-
disable(): Promise<void>;
|
1838
|
-
|
1839
|
-
/**
|
1840
|
-
* Enables database tracking, database events will now be delivered to the client.
|
1841
|
-
*/
|
1842
|
-
enable(): Promise<void>;
|
1843
|
-
|
1844
|
-
executeSQL(params: Protocol.Database.ExecuteSQLRequest): Promise<Protocol.Database.ExecuteSQLResponse>;
|
1845
|
-
|
1846
|
-
getDatabaseTableNames(params: Protocol.Database.GetDatabaseTableNamesRequest): Promise<Protocol.Database.GetDatabaseTableNamesResponse>;
|
1847
|
-
|
1848
|
-
on(event: 'addDatabase', listener: (params: Protocol.Database.AddDatabaseEvent) => void): void;
|
1849
|
-
|
1850
|
-
}
|
1851
|
-
|
1852
1831
|
export interface DeviceOrientationApi {
|
1853
1832
|
/**
|
1854
1833
|
* Clears the overridden Device Orientation.
|
@@ -52,8 +52,6 @@ export namespace ProtocolTestsProxyApi {
|
|
52
52
|
|
53
53
|
DOMStorage: DOMStorageApi;
|
54
54
|
|
55
|
-
Database: DatabaseApi;
|
56
|
-
|
57
55
|
DeviceOrientation: DeviceOrientationApi;
|
58
56
|
|
59
57
|
Emulation: EmulationApi;
|
@@ -1954,27 +1952,6 @@ export namespace ProtocolTestsProxyApi {
|
|
1954
1952
|
|
1955
1953
|
}
|
1956
1954
|
|
1957
|
-
export interface DatabaseApi {
|
1958
|
-
/**
|
1959
|
-
* Disables database tracking, prevents database events from being sent to the client.
|
1960
|
-
*/
|
1961
|
-
disable(): Promise<{id: number, result: void, sessionId: string}>;
|
1962
|
-
|
1963
|
-
/**
|
1964
|
-
* Enables database tracking, database events will now be delivered to the client.
|
1965
|
-
*/
|
1966
|
-
enable(): Promise<{id: number, result: void, sessionId: string}>;
|
1967
|
-
|
1968
|
-
executeSQL(params: Protocol.Database.ExecuteSQLRequest): Promise<{id: number, result: Protocol.Database.ExecuteSQLResponse, sessionId: string}>;
|
1969
|
-
|
1970
|
-
getDatabaseTableNames(params: Protocol.Database.GetDatabaseTableNamesRequest): Promise<{id: number, result: Protocol.Database.GetDatabaseTableNamesResponse, sessionId: string}>;
|
1971
|
-
|
1972
|
-
onAddDatabase(listener: (event: { params: Protocol.Database.AddDatabaseEvent }) => void): void;
|
1973
|
-
offAddDatabase(listener: (event: { params: Protocol.Database.AddDatabaseEvent }) => void): void;
|
1974
|
-
onceAddDatabase(eventMatcher?: (event: { params: Protocol.Database.AddDatabaseEvent }) => boolean): Promise<{ params: Protocol.Database.AddDatabaseEvent }>;
|
1975
|
-
|
1976
|
-
}
|
1977
|
-
|
1978
1955
|
export interface DeviceOrientationApi {
|
1979
1956
|
/**
|
1980
1957
|
* Clears the overridden Device Orientation.
|
package/types/protocol.d.ts
CHANGED
@@ -3617,7 +3617,7 @@ export namespace Protocol {
|
|
3617
3617
|
* third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
|
3618
3618
|
* all cases except for success.
|
3619
3619
|
*/
|
3620
|
-
export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'IdpNotPotentiallyTrustworthy' | 'DisabledInSettings' | 'DisabledInFlags' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByActiveMode' | 'InvalidFieldsSpecified' | 'RelyingPartyOriginIsOpaque' | 'TypeNotMatching');
|
3620
|
+
export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'IdpNotPotentiallyTrustworthy' | 'DisabledInSettings' | 'DisabledInFlags' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByActiveMode' | 'InvalidFieldsSpecified' | 'RelyingPartyOriginIsOpaque' | 'TypeNotMatching' | 'UiDismissedNoEmbargo');
|
3621
3621
|
|
3622
3622
|
export interface FederatedAuthUserInfoRequestIssueDetails {
|
3623
3623
|
federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
|
@@ -8224,73 +8224,6 @@ export namespace Protocol {
|
|
8224
8224
|
}
|
8225
8225
|
}
|
8226
8226
|
|
8227
|
-
export namespace Database {
|
8228
|
-
|
8229
|
-
/**
|
8230
|
-
* Unique identifier of Database object.
|
8231
|
-
*/
|
8232
|
-
export type DatabaseId = string;
|
8233
|
-
|
8234
|
-
/**
|
8235
|
-
* Database object.
|
8236
|
-
*/
|
8237
|
-
export interface Database {
|
8238
|
-
/**
|
8239
|
-
* Database ID.
|
8240
|
-
*/
|
8241
|
-
id: DatabaseId;
|
8242
|
-
/**
|
8243
|
-
* Database domain.
|
8244
|
-
*/
|
8245
|
-
domain: string;
|
8246
|
-
/**
|
8247
|
-
* Database name.
|
8248
|
-
*/
|
8249
|
-
name: string;
|
8250
|
-
/**
|
8251
|
-
* Database version.
|
8252
|
-
*/
|
8253
|
-
version: string;
|
8254
|
-
}
|
8255
|
-
|
8256
|
-
/**
|
8257
|
-
* Database error.
|
8258
|
-
*/
|
8259
|
-
export interface Error {
|
8260
|
-
/**
|
8261
|
-
* Error message.
|
8262
|
-
*/
|
8263
|
-
message: string;
|
8264
|
-
/**
|
8265
|
-
* Error code.
|
8266
|
-
*/
|
8267
|
-
code: integer;
|
8268
|
-
}
|
8269
|
-
|
8270
|
-
export interface ExecuteSQLRequest {
|
8271
|
-
databaseId: DatabaseId;
|
8272
|
-
query: string;
|
8273
|
-
}
|
8274
|
-
|
8275
|
-
export interface ExecuteSQLResponse {
|
8276
|
-
columnNames?: string[];
|
8277
|
-
values?: any[];
|
8278
|
-
sqlError?: Error;
|
8279
|
-
}
|
8280
|
-
|
8281
|
-
export interface GetDatabaseTableNamesRequest {
|
8282
|
-
databaseId: DatabaseId;
|
8283
|
-
}
|
8284
|
-
|
8285
|
-
export interface GetDatabaseTableNamesResponse {
|
8286
|
-
tableNames: string[];
|
8287
|
-
}
|
8288
|
-
|
8289
|
-
export interface AddDatabaseEvent {
|
8290
|
-
database: Database;
|
8291
|
-
}
|
8292
|
-
}
|
8293
|
-
|
8294
8227
|
export namespace DeviceOrientation {
|
8295
8228
|
|
8296
8229
|
export interface SetDeviceOrientationOverrideRequest {
|
@@ -13632,7 +13565,7 @@ export namespace Protocol {
|
|
13632
13565
|
* All Permissions Policy features. This enum should match the one defined
|
13633
13566
|
* in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
|
13634
13567
|
*/
|
13635
|
-
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'xr-spatial-tracking');
|
13568
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'xr-spatial-tracking');
|
13636
13569
|
|
13637
13570
|
/**
|
13638
13571
|
* Reason for a permissions policy feature to be disabled.
|
@@ -17255,19 +17188,19 @@ export namespace Protocol {
|
|
17255
17188
|
*/
|
17256
17189
|
url: string;
|
17257
17190
|
/**
|
17258
|
-
* Frame left origin in DIP (headless
|
17191
|
+
* Frame left origin in DIP (requires newWindow to be true or headless shell).
|
17259
17192
|
*/
|
17260
17193
|
left?: integer;
|
17261
17194
|
/**
|
17262
|
-
* Frame top origin in DIP (headless
|
17195
|
+
* Frame top origin in DIP (requires newWindow to be true or headless shell).
|
17263
17196
|
*/
|
17264
17197
|
top?: integer;
|
17265
17198
|
/**
|
17266
|
-
* Frame width in DIP (headless
|
17199
|
+
* Frame width in DIP (requires newWindow to be true or headless shell).
|
17267
17200
|
*/
|
17268
17201
|
width?: integer;
|
17269
17202
|
/**
|
17270
|
-
* Frame height in DIP (headless
|
17203
|
+
* Frame height in DIP (requires newWindow to be true or headless shell).
|
17271
17204
|
*/
|
17272
17205
|
height?: integer;
|
17273
17206
|
/**
|
@@ -17275,17 +17208,17 @@ export namespace Protocol {
|
|
17275
17208
|
*/
|
17276
17209
|
browserContextId?: Browser.BrowserContextID;
|
17277
17210
|
/**
|
17278
|
-
* Whether BeginFrames for this target will be controlled via DevTools (headless
|
17211
|
+
* Whether BeginFrames for this target will be controlled via DevTools (headless shell only,
|
17279
17212
|
* not supported on MacOS yet, false by default).
|
17280
17213
|
*/
|
17281
17214
|
enableBeginFrameControl?: boolean;
|
17282
17215
|
/**
|
17283
|
-
* Whether to create a new Window or Tab (
|
17216
|
+
* Whether to create a new Window or Tab (false by default, not supported by headless shell).
|
17284
17217
|
*/
|
17285
17218
|
newWindow?: boolean;
|
17286
17219
|
/**
|
17287
|
-
* Whether to create the target in background or foreground (
|
17288
|
-
*
|
17220
|
+
* Whether to create the target in background or foreground (false by default, not supported
|
17221
|
+
* by headless shell).
|
17289
17222
|
*/
|
17290
17223
|
background?: boolean;
|
17291
17224
|
/**
|