devtools-protocol 0.0.1403989 → 0.0.1406504
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 +21 -131
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +13 -50
- 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 +12 -69
@@ -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",
|
@@ -23899,6 +23771,18 @@
|
|
23899
23771
|
"type": "integer"
|
23900
23772
|
}
|
23901
23773
|
]
|
23774
|
+
},
|
23775
|
+
{
|
23776
|
+
"id": "WindowState",
|
23777
|
+
"description": "The state of the target window.",
|
23778
|
+
"experimental": true,
|
23779
|
+
"type": "string",
|
23780
|
+
"enum": [
|
23781
|
+
"normal",
|
23782
|
+
"minimized",
|
23783
|
+
"maximized",
|
23784
|
+
"fullscreen"
|
23785
|
+
]
|
23902
23786
|
}
|
23903
23787
|
],
|
23904
23788
|
"commands": [
|
@@ -24075,6 +23959,12 @@
|
|
24075
23959
|
"optional": true,
|
24076
23960
|
"type": "integer"
|
24077
23961
|
},
|
23962
|
+
{
|
23963
|
+
"name": "windowState",
|
23964
|
+
"description": "Frame window state (requires newWindow to be true or headless shell).\nDefault is normal.",
|
23965
|
+
"optional": true,
|
23966
|
+
"$ref": "WindowState"
|
23967
|
+
},
|
24078
23968
|
{
|
24079
23969
|
"name": "browserContextId",
|
24080
23970
|
"description": "The browser context to create the page in.",
|
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
|
@@ -11222,6 +11174,14 @@ domain Target
|
|
11222
11174
|
string host
|
11223
11175
|
integer port
|
11224
11176
|
|
11177
|
+
# The state of the target window.
|
11178
|
+
experimental type WindowState extends string
|
11179
|
+
enum
|
11180
|
+
normal
|
11181
|
+
minimized
|
11182
|
+
maximized
|
11183
|
+
fullscreen
|
11184
|
+
|
11225
11185
|
# Activates (focuses) the target.
|
11226
11186
|
command activateTarget
|
11227
11187
|
parameters
|
@@ -11303,6 +11263,9 @@ domain Target
|
|
11303
11263
|
optional integer width
|
11304
11264
|
# Frame height in DIP (requires newWindow to be true or headless shell).
|
11305
11265
|
optional integer height
|
11266
|
+
# Frame window state (requires newWindow to be true or headless shell).
|
11267
|
+
# Default is normal.
|
11268
|
+
optional WindowState windowState
|
11306
11269
|
# The browser context to create the page in.
|
11307
11270
|
experimental optional Browser.BrowserContextID browserContextId
|
11308
11271
|
# Whether BeginFrames for this target will be controlled via DevTools (headless shell only,
|
@@ -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.
|
@@ -17168,6 +17101,11 @@ export namespace Protocol {
|
|
17168
17101
|
port: integer;
|
17169
17102
|
}
|
17170
17103
|
|
17104
|
+
/**
|
17105
|
+
* The state of the target window.
|
17106
|
+
*/
|
17107
|
+
export type WindowState = ('normal' | 'minimized' | 'maximized' | 'fullscreen');
|
17108
|
+
|
17171
17109
|
export interface ActivateTargetRequest {
|
17172
17110
|
targetId: TargetID;
|
17173
17111
|
}
|
@@ -17270,6 +17208,11 @@ export namespace Protocol {
|
|
17270
17208
|
* Frame height in DIP (requires newWindow to be true or headless shell).
|
17271
17209
|
*/
|
17272
17210
|
height?: integer;
|
17211
|
+
/**
|
17212
|
+
* Frame window state (requires newWindow to be true or headless shell).
|
17213
|
+
* Default is normal.
|
17214
|
+
*/
|
17215
|
+
windowState?: WindowState;
|
17273
17216
|
/**
|
17274
17217
|
* The browser context to create the page in.
|
17275
17218
|
*/
|