devtools-protocol 0.0.1413303 → 0.0.1415363

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.
@@ -2288,6 +2288,17 @@
2288
2288
  }
2289
2289
  ]
2290
2290
  },
2291
+ {
2292
+ "name": "uninstall",
2293
+ "description": "Uninstalls an unpacked extension (others not supported) from the profile.\nAvailable if the client is connected using the --remote-debugging-pipe flag\nand the --enable-unsafe-extension-debugging.",
2294
+ "parameters": [
2295
+ {
2296
+ "name": "id",
2297
+ "description": "Extension id.",
2298
+ "type": "string"
2299
+ }
2300
+ ]
2301
+ },
2291
2302
  {
2292
2303
  "name": "getStorageItems",
2293
2304
  "description": "Gets data from extension storage in the given `storageArea`. If `keys` is\nspecified, these are used to filter the result.",
@@ -4684,6 +4695,12 @@
4684
4695
  "name": "frameId",
4685
4696
  "description": "Identifier of the frame where \"via-inspector\" stylesheet should be created.",
4686
4697
  "$ref": "Page.FrameId"
4698
+ },
4699
+ {
4700
+ "name": "force",
4701
+ "description": "If true, creates a new stylesheet for every call. If false,\nreturns a stylesheet previously created by a call with force=false\nfor the frame's document if it exists or creates a new stylesheet\n(default: false).",
4702
+ "optional": true,
4703
+ "type": "boolean"
4687
4704
  }
4688
4705
  ],
4689
4706
  "returns": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1413303",
3
+ "version": "0.0.1415363",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -1171,6 +1171,13 @@ experimental domain Extensions
1171
1171
  returns
1172
1172
  # Extension id.
1173
1173
  string id
1174
+ # Uninstalls an unpacked extension (others not supported) from the profile.
1175
+ # Available if the client is connected using the --remote-debugging-pipe flag
1176
+ # and the --enable-unsafe-extension-debugging.
1177
+ command uninstall
1178
+ parameters
1179
+ # Extension id.
1180
+ string id
1174
1181
  # Gets data from extension storage in the given `storageArea`. If `keys` is
1175
1182
  # specified, these are used to filter the result.
1176
1183
  command getStorageItems
@@ -2253,6 +2260,11 @@ experimental domain CSS
2253
2260
  parameters
2254
2261
  # Identifier of the frame where "via-inspector" stylesheet should be created.
2255
2262
  Page.FrameId frameId
2263
+ # If true, creates a new stylesheet for every call. If false,
2264
+ # returns a stylesheet previously created by a call with force=false
2265
+ # for the frame's document if it exists or creates a new stylesheet
2266
+ # (default: false).
2267
+ optional boolean force
2256
2268
  returns
2257
2269
  # Identifier of the created "via-inspector" stylesheet.
2258
2270
  StyleSheetId styleSheetId
@@ -1557,6 +1557,15 @@ export namespace ProtocolMapping {
1557
1557
  paramsType: [Protocol.Extensions.LoadUnpackedRequest];
1558
1558
  returnType: Protocol.Extensions.LoadUnpackedResponse;
1559
1559
  };
1560
+ /**
1561
+ * Uninstalls an unpacked extension (others not supported) from the profile.
1562
+ * Available if the client is connected using the --remote-debugging-pipe flag
1563
+ * and the --enable-unsafe-extension-debugging.
1564
+ */
1565
+ 'Extensions.uninstall': {
1566
+ paramsType: [Protocol.Extensions.UninstallRequest];
1567
+ returnType: void;
1568
+ };
1560
1569
  /**
1561
1570
  * Gets data from extension storage in the given `storageArea`. If `keys` is
1562
1571
  * specified, these are used to filter the result.
@@ -827,6 +827,13 @@ export namespace ProtocolProxyApi {
827
827
  */
828
828
  loadUnpacked(params: Protocol.Extensions.LoadUnpackedRequest): Promise<Protocol.Extensions.LoadUnpackedResponse>;
829
829
 
830
+ /**
831
+ * Uninstalls an unpacked extension (others not supported) from the profile.
832
+ * Available if the client is connected using the --remote-debugging-pipe flag
833
+ * and the --enable-unsafe-extension-debugging.
834
+ */
835
+ uninstall(params: Protocol.Extensions.UninstallRequest): Promise<void>;
836
+
830
837
  /**
831
838
  * Gets data from extension storage in the given `storageArea`. If `keys` is
832
839
  * specified, these are used to filter the result.
@@ -885,6 +885,13 @@ export namespace ProtocolTestsProxyApi {
885
885
  */
886
886
  loadUnpacked(params: Protocol.Extensions.LoadUnpackedRequest): Promise<{id: number, result: Protocol.Extensions.LoadUnpackedResponse, sessionId: string}>;
887
887
 
888
+ /**
889
+ * Uninstalls an unpacked extension (others not supported) from the profile.
890
+ * Available if the client is connected using the --remote-debugging-pipe flag
891
+ * and the --enable-unsafe-extension-debugging.
892
+ */
893
+ uninstall(params: Protocol.Extensions.UninstallRequest): Promise<{id: number, result: void, sessionId: string}>;
894
+
888
895
  /**
889
896
  * Gets data from extension storage in the given `storageArea`. If `keys` is
890
897
  * specified, these are used to filter the result.
@@ -3865,6 +3865,13 @@ export namespace Protocol {
3865
3865
  id: string;
3866
3866
  }
3867
3867
 
3868
+ export interface UninstallRequest {
3869
+ /**
3870
+ * Extension id.
3871
+ */
3872
+ id: string;
3873
+ }
3874
+
3868
3875
  export interface GetStorageItemsRequest {
3869
3876
  /**
3870
3877
  * ID of extension.
@@ -5492,6 +5499,13 @@ export namespace Protocol {
5492
5499
  * Identifier of the frame where "via-inspector" stylesheet should be created.
5493
5500
  */
5494
5501
  frameId: Page.FrameId;
5502
+ /**
5503
+ * If true, creates a new stylesheet for every call. If false,
5504
+ * returns a stylesheet previously created by a call with force=false
5505
+ * for the frame's document if it exists or creates a new stylesheet
5506
+ * (default: false).
5507
+ */
5508
+ force?: boolean;
5495
5509
  }
5496
5510
 
5497
5511
  export interface CreateStyleSheetResponse {