devtools-protocol 0.0.1481382 → 0.0.1483532

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.
@@ -7153,6 +7153,13 @@
7153
7153
  "description": "JavaScript object id of the node wrapper.",
7154
7154
  "optional": true,
7155
7155
  "$ref": "Runtime.RemoteObjectId"
7156
+ },
7157
+ {
7158
+ "name": "includeShadowDOM",
7159
+ "description": "Include all shadow roots. Equals to false if not specified.",
7160
+ "experimental": true,
7161
+ "optional": true,
7162
+ "type": "boolean"
7156
7163
  }
7157
7164
  ],
7158
7165
  "returns": [
@@ -10491,6 +10498,19 @@
10491
10498
  }
10492
10499
  ]
10493
10500
  },
10501
+ {
10502
+ "name": "setDataSaverOverride",
10503
+ "description": "Override the value of navigator.connection.saveData",
10504
+ "experimental": true,
10505
+ "parameters": [
10506
+ {
10507
+ "name": "dataSaverEnabled",
10508
+ "description": "Override value. Omitting the parameter disables the override.",
10509
+ "optional": true,
10510
+ "type": "boolean"
10511
+ }
10512
+ ]
10513
+ },
10494
10514
  {
10495
10515
  "name": "setHardwareConcurrencyOverride",
10496
10516
  "experimental": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1481382",
3
+ "version": "0.0.1483532",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -3386,6 +3386,8 @@ domain DOM
3386
3386
  optional BackendNodeId backendNodeId
3387
3387
  # JavaScript object id of the node wrapper.
3388
3388
  optional Runtime.RemoteObjectId objectId
3389
+ # Include all shadow roots. Equals to false if not specified.
3390
+ experimental optional boolean includeShadowDOM
3389
3391
  returns
3390
3392
  # Outer HTML markup.
3391
3393
  string outerHTML
@@ -4874,6 +4876,13 @@ domain Emulation
4874
4876
  # Image types to disable.
4875
4877
  array of DisabledImageType imageTypes
4876
4878
 
4879
+
4880
+ # Override the value of navigator.connection.saveData
4881
+ experimental command setDataSaverOverride
4882
+ parameters
4883
+ # Override value. Omitting the parameter disables the override.
4884
+ optional boolean dataSaverEnabled
4885
+
4877
4886
  experimental command setHardwareConcurrencyOverride
4878
4887
  parameters
4879
4888
  # Hardware concurrency to report
@@ -3062,6 +3062,13 @@ export namespace ProtocolMapping {
3062
3062
  paramsType: [Protocol.Emulation.SetDisabledImageTypesRequest];
3063
3063
  returnType: void;
3064
3064
  };
3065
+ /**
3066
+ * Override the value of navigator.connection.saveData
3067
+ */
3068
+ 'Emulation.setDataSaverOverride': {
3069
+ paramsType: [Protocol.Emulation.SetDataSaverOverrideRequest?];
3070
+ returnType: void;
3071
+ };
3065
3072
  'Emulation.setHardwareConcurrencyOverride': {
3066
3073
  paramsType: [Protocol.Emulation.SetHardwareConcurrencyOverrideRequest];
3067
3074
  returnType: void;
@@ -2067,6 +2067,11 @@ export namespace ProtocolProxyApi {
2067
2067
 
2068
2068
  setDisabledImageTypes(params: Protocol.Emulation.SetDisabledImageTypesRequest): Promise<void>;
2069
2069
 
2070
+ /**
2071
+ * Override the value of navigator.connection.saveData
2072
+ */
2073
+ setDataSaverOverride(params: Protocol.Emulation.SetDataSaverOverrideRequest): Promise<void>;
2074
+
2070
2075
  setHardwareConcurrencyOverride(params: Protocol.Emulation.SetHardwareConcurrencyOverrideRequest): Promise<void>;
2071
2076
 
2072
2077
  /**
@@ -2191,6 +2191,11 @@ export namespace ProtocolTestsProxyApi {
2191
2191
 
2192
2192
  setDisabledImageTypes(params: Protocol.Emulation.SetDisabledImageTypesRequest): Promise<{id: number, result: void, sessionId: string}>;
2193
2193
 
2194
+ /**
2195
+ * Override the value of navigator.connection.saveData
2196
+ */
2197
+ setDataSaverOverride(params: Protocol.Emulation.SetDataSaverOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
2198
+
2194
2199
  setHardwareConcurrencyOverride(params: Protocol.Emulation.SetHardwareConcurrencyOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
2195
2200
 
2196
2201
  /**
@@ -6951,6 +6951,10 @@ export namespace Protocol {
6951
6951
  * JavaScript object id of the node wrapper.
6952
6952
  */
6953
6953
  objectId?: Runtime.RemoteObjectId;
6954
+ /**
6955
+ * Include all shadow roots. Equals to false if not specified.
6956
+ */
6957
+ includeShadowDOM?: boolean;
6954
6958
  }
6955
6959
 
6956
6960
  export interface GetOuterHTMLResponse {
@@ -8967,6 +8971,13 @@ export namespace Protocol {
8967
8971
  imageTypes: DisabledImageType[];
8968
8972
  }
8969
8973
 
8974
+ export interface SetDataSaverOverrideRequest {
8975
+ /**
8976
+ * Override value. Omitting the parameter disables the override.
8977
+ */
8978
+ dataSaverEnabled?: boolean;
8979
+ }
8980
+
8970
8981
  export interface SetHardwareConcurrencyOverrideRequest {
8971
8982
  /**
8972
8983
  * Hardware concurrency to report