devtools-protocol 0.0.1505444 → 0.0.1508733
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 +15 -2
- package/package.json +1 -1
- package/pdl/domains/Browser.pdl +6 -2
- package/pdl/domains/Network.pdl +4 -0
- package/types/protocol-mapping.d.ts +1 -1
- package/types/protocol-proxy-api.d.ts +1 -1
- package/types/protocol-tests-proxy-api.d.ts +1 -1
- package/types/protocol.d.ts +14 -1
@@ -3506,7 +3506,7 @@
|
|
3506
3506
|
"commands": [
|
3507
3507
|
{
|
3508
3508
|
"name": "setPermission",
|
3509
|
-
"description": "Set permission settings for given
|
3509
|
+
"description": "Set permission settings for given requesting and embedding origins.",
|
3510
3510
|
"experimental": true,
|
3511
3511
|
"parameters": [
|
3512
3512
|
{
|
@@ -3521,7 +3521,13 @@
|
|
3521
3521
|
},
|
3522
3522
|
{
|
3523
3523
|
"name": "origin",
|
3524
|
-
"description": "
|
3524
|
+
"description": "Requesting origin the permission applies to, all origins if not specified.",
|
3525
|
+
"optional": true,
|
3526
|
+
"type": "string"
|
3527
|
+
},
|
3528
|
+
{
|
3529
|
+
"name": "embeddingOrigin",
|
3530
|
+
"description": "Embedding origin the permission applies to. It is ignored unless the requesting origin is\npresent and valid. If the requesting origin is provided but the embedding origin isn't, the\nrequesting origin is used as the embedding origin.",
|
3525
3531
|
"optional": true,
|
3526
3532
|
"type": "string"
|
3527
3533
|
},
|
@@ -17165,6 +17171,13 @@
|
|
17165
17171
|
"experimental": true,
|
17166
17172
|
"optional": true,
|
17167
17173
|
"type": "boolean"
|
17174
|
+
},
|
17175
|
+
{
|
17176
|
+
"name": "enableDurableMessages",
|
17177
|
+
"description": "Enable storing response bodies outside of renderer, so that these survive\na cross-process navigation. Requires maxTotalBufferSize to be set.\nCurrently defaults to false.",
|
17178
|
+
"experimental": true,
|
17179
|
+
"optional": true,
|
17180
|
+
"type": "boolean"
|
17168
17181
|
}
|
17169
17182
|
]
|
17170
17183
|
},
|
package/package.json
CHANGED
package/pdl/domains/Browser.pdl
CHANGED
@@ -103,15 +103,19 @@ domain Browser
|
|
103
103
|
closeTabSearch
|
104
104
|
openGlic
|
105
105
|
|
106
|
-
# Set permission settings for given
|
106
|
+
# Set permission settings for given requesting and embedding origins.
|
107
107
|
experimental command setPermission
|
108
108
|
parameters
|
109
109
|
# Descriptor of permission to override.
|
110
110
|
PermissionDescriptor permission
|
111
111
|
# Setting of the permission.
|
112
112
|
PermissionSetting setting
|
113
|
-
#
|
113
|
+
# Requesting origin the permission applies to, all origins if not specified.
|
114
114
|
optional string origin
|
115
|
+
# Embedding origin the permission applies to. It is ignored unless the requesting origin is
|
116
|
+
# present and valid. If the requesting origin is provided but the embedding origin isn't, the
|
117
|
+
# requesting origin is used as the embedding origin.
|
118
|
+
optional string embeddingOrigin
|
115
119
|
# Context to override. When omitted, default browser context is used.
|
116
120
|
optional BrowserContextID browserContextId
|
117
121
|
|
package/pdl/domains/Network.pdl
CHANGED
@@ -1107,6 +1107,10 @@ domain Network
|
|
1107
1107
|
optional integer maxPostDataSize
|
1108
1108
|
# Whether DirectSocket chunk send/receive events should be reported.
|
1109
1109
|
experimental optional boolean reportDirectSocketTraffic
|
1110
|
+
# Enable storing response bodies outside of renderer, so that these survive
|
1111
|
+
# a cross-process navigation. Requires maxTotalBufferSize to be set.
|
1112
|
+
# Currently defaults to false.
|
1113
|
+
experimental optional boolean enableDurableMessages
|
1110
1114
|
|
1111
1115
|
# Returns all browser cookies. Depending on the backend support, will return detailed cookie
|
1112
1116
|
# information in the `cookies` field.
|
@@ -1919,7 +1919,7 @@ export namespace ProtocolMapping {
|
|
1919
1919
|
returnType: void;
|
1920
1920
|
};
|
1921
1921
|
/**
|
1922
|
-
* Set permission settings for given
|
1922
|
+
* Set permission settings for given requesting and embedding origins.
|
1923
1923
|
* @experimental
|
1924
1924
|
*/
|
1925
1925
|
'Browser.setPermission': {
|
@@ -1031,7 +1031,7 @@ export namespace ProtocolProxyApi {
|
|
1031
1031
|
|
1032
1032
|
export interface BrowserApi {
|
1033
1033
|
/**
|
1034
|
-
* Set permission settings for given
|
1034
|
+
* Set permission settings for given requesting and embedding origins.
|
1035
1035
|
* @experimental
|
1036
1036
|
*/
|
1037
1037
|
setPermission(params: Protocol.Browser.SetPermissionRequest): Promise<void>;
|
@@ -1101,7 +1101,7 @@ export namespace ProtocolTestsProxyApi {
|
|
1101
1101
|
|
1102
1102
|
export interface BrowserApi {
|
1103
1103
|
/**
|
1104
|
-
* Set permission settings for given
|
1104
|
+
* Set permission settings for given requesting and embedding origins.
|
1105
1105
|
* @experimental
|
1106
1106
|
*/
|
1107
1107
|
setPermission(params: Protocol.Browser.SetPermissionRequest): Promise<{id: number, result: void, sessionId: string}>;
|
package/types/protocol.d.ts
CHANGED
@@ -4606,9 +4606,15 @@ export namespace Protocol {
|
|
4606
4606
|
*/
|
4607
4607
|
setting: PermissionSetting;
|
4608
4608
|
/**
|
4609
|
-
*
|
4609
|
+
* Requesting origin the permission applies to, all origins if not specified.
|
4610
4610
|
*/
|
4611
4611
|
origin?: string;
|
4612
|
+
/**
|
4613
|
+
* Embedding origin the permission applies to. It is ignored unless the requesting origin is
|
4614
|
+
* present and valid. If the requesting origin is provided but the embedding origin isn't, the
|
4615
|
+
* requesting origin is used as the embedding origin.
|
4616
|
+
*/
|
4617
|
+
embeddingOrigin?: string;
|
4612
4618
|
/**
|
4613
4619
|
* Context to override. When omitted, default browser context is used.
|
4614
4620
|
*/
|
@@ -13532,6 +13538,13 @@ export namespace Protocol {
|
|
13532
13538
|
* @experimental
|
13533
13539
|
*/
|
13534
13540
|
reportDirectSocketTraffic?: boolean;
|
13541
|
+
/**
|
13542
|
+
* Enable storing response bodies outside of renderer, so that these survive
|
13543
|
+
* a cross-process navigation. Requires maxTotalBufferSize to be set.
|
13544
|
+
* Currently defaults to false.
|
13545
|
+
* @experimental
|
13546
|
+
*/
|
13547
|
+
enableDurableMessages?: boolean;
|
13535
13548
|
}
|
13536
13549
|
|
13537
13550
|
export interface GetAllCookiesResponse {
|