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.
@@ -3506,7 +3506,7 @@
3506
3506
  "commands": [
3507
3507
  {
3508
3508
  "name": "setPermission",
3509
- "description": "Set permission settings for given origin.",
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": "Origin the permission applies to, all origins if not specified.",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1505444",
3
+ "version": "0.0.1508733",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -103,15 +103,19 @@ domain Browser
103
103
  closeTabSearch
104
104
  openGlic
105
105
 
106
- # Set permission settings for given origin.
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
- # Origin the permission applies to, all origins if not specified.
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
 
@@ -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 origin.
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 origin.
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 origin.
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}>;
@@ -4606,9 +4606,15 @@ export namespace Protocol {
4606
4606
  */
4607
4607
  setting: PermissionSetting;
4608
4608
  /**
4609
- * Origin the permission applies to, all origins if not specified.
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 {