devtools-protocol 0.0.1286932 → 0.0.1289136

Sign up to get free protection for your applications and to get access to all the features.
@@ -2107,6 +2107,31 @@
2107
2107
  }
2108
2108
  ]
2109
2109
  },
2110
+ {
2111
+ "domain": "Extensions",
2112
+ "description": "Defines commands and events for browser extensions. Available if the client\nis connected using the --remote-debugging-pipe flag and\nthe --enable-unsafe-extension-debugging flag is set.",
2113
+ "experimental": true,
2114
+ "commands": [
2115
+ {
2116
+ "name": "loadUnpacked",
2117
+ "description": "Installs an unpacked extension from the filesystem similar to\n--load-extension CLI flags. Returns extension ID once the extension\nhas been installed.",
2118
+ "parameters": [
2119
+ {
2120
+ "name": "path",
2121
+ "description": "Absolute file path.",
2122
+ "type": "string"
2123
+ }
2124
+ ],
2125
+ "returns": [
2126
+ {
2127
+ "name": "id",
2128
+ "description": "Extension id.",
2129
+ "type": "string"
2130
+ }
2131
+ ]
2132
+ }
2133
+ ]
2134
+ },
2110
2135
  {
2111
2136
  "domain": "Autofill",
2112
2137
  "description": "Defines commands and events for Autofill.",
@@ -18331,7 +18356,7 @@
18331
18356
  },
18332
18357
  {
18333
18358
  "name": "getAppManifest",
18334
- "description": "Gets the processed manifest for this current document.\n This API always waits for the manifest to be loaded.\n If manifestId is provided, and it does not match the manifest of the\n current document, this API errors out.\n If there isn\u2019t a loaded page, this API errors out immediately.",
18359
+ "description": "Gets the processed manifest for this current document.\n This API always waits for the manifest to be loaded.\n If manifestId is provided, and it does not match the manifest of the\n current document, this API errors out.\n If there is not a loaded page, this API errors out immediately.",
18335
18360
  "parameters": [
18336
18361
  {
18337
18362
  "name": "manifestId",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1286932",
3
+ "version": "0.0.1289136",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -1059,6 +1059,21 @@ experimental domain Audits
1059
1059
  parameters
1060
1060
  InspectorIssue issue
1061
1061
 
1062
+ # Defines commands and events for browser extensions. Available if the client
1063
+ # is connected using the --remote-debugging-pipe flag and
1064
+ # the --enable-unsafe-extension-debugging flag is set.
1065
+ experimental domain Extensions
1066
+ # Installs an unpacked extension from the filesystem similar to
1067
+ # --load-extension CLI flags. Returns extension ID once the extension
1068
+ # has been installed.
1069
+ command loadUnpacked
1070
+ parameters
1071
+ # Absolute file path.
1072
+ string path
1073
+ returns
1074
+ # Extension id.
1075
+ string id
1076
+
1062
1077
  # Defines commands and events for Autofill.
1063
1078
  experimental domain Autofill
1064
1079
  type CreditCard extends object
@@ -8440,7 +8455,7 @@ domain Page
8440
8455
  # This API always waits for the manifest to be loaded.
8441
8456
  # If manifestId is provided, and it does not match the manifest of the
8442
8457
  # current document, this API errors out.
8443
- # If there isn’t a loaded page, this API errors out immediately.
8458
+ # If there is not a loaded page, this API errors out immediately.
8444
8459
  command getAppManifest
8445
8460
  parameters
8446
8461
  optional string manifestId
@@ -1502,6 +1502,15 @@ export namespace ProtocolMapping {
1502
1502
  paramsType: [];
1503
1503
  returnType: Protocol.Audits.CheckFormsIssuesResponse;
1504
1504
  };
1505
+ /**
1506
+ * Installs an unpacked extension from the filesystem similar to
1507
+ * --load-extension CLI flags. Returns extension ID once the extension
1508
+ * has been installed.
1509
+ */
1510
+ 'Extensions.loadUnpacked': {
1511
+ paramsType: [Protocol.Extensions.LoadUnpackedRequest];
1512
+ returnType: Protocol.Extensions.LoadUnpackedResponse;
1513
+ };
1505
1514
  /**
1506
1515
  * Trigger autofill on a form identified by the fieldId.
1507
1516
  * If the field and related form cannot be autofilled, returns an error.
@@ -3716,7 +3725,7 @@ export namespace ProtocolMapping {
3716
3725
  * This API always waits for the manifest to be loaded.
3717
3726
  * If manifestId is provided, and it does not match the manifest of the
3718
3727
  * current document, this API errors out.
3719
- * If there isn’t a loaded page, this API errors out immediately.
3728
+ * If there is not a loaded page, this API errors out immediately.
3720
3729
  */
3721
3730
  'Page.getAppManifest': {
3722
3731
  paramsType: [Protocol.Page.GetAppManifestRequest?];
@@ -28,6 +28,8 @@ export namespace ProtocolProxyApi {
28
28
 
29
29
  Audits: AuditsApi;
30
30
 
31
+ Extensions: ExtensionsApi;
32
+
31
33
  Autofill: AutofillApi;
32
34
 
33
35
  BackgroundService: BackgroundServiceApi;
@@ -805,6 +807,16 @@ export namespace ProtocolProxyApi {
805
807
 
806
808
  }
807
809
 
810
+ export interface ExtensionsApi {
811
+ /**
812
+ * Installs an unpacked extension from the filesystem similar to
813
+ * --load-extension CLI flags. Returns extension ID once the extension
814
+ * has been installed.
815
+ */
816
+ loadUnpacked(params: Protocol.Extensions.LoadUnpackedRequest): Promise<Protocol.Extensions.LoadUnpackedResponse>;
817
+
818
+ }
819
+
808
820
  export interface AutofillApi {
809
821
  /**
810
822
  * Trigger autofill on a form identified by the fieldId.
@@ -2845,7 +2857,7 @@ export namespace ProtocolProxyApi {
2845
2857
  * This API always waits for the manifest to be loaded.
2846
2858
  * If manifestId is provided, and it does not match the manifest of the
2847
2859
  * current document, this API errors out.
2848
- * If there isn’t a loaded page, this API errors out immediately.
2860
+ * If there is not a loaded page, this API errors out immediately.
2849
2861
  */
2850
2862
  getAppManifest(params: Protocol.Page.GetAppManifestRequest): Promise<Protocol.Page.GetAppManifestResponse>;
2851
2863
 
@@ -28,6 +28,8 @@ export namespace ProtocolTestsProxyApi {
28
28
 
29
29
  Audits: AuditsApi;
30
30
 
31
+ Extensions: ExtensionsApi;
32
+
31
33
  Autofill: AutofillApi;
32
34
 
33
35
  BackgroundService: BackgroundServiceApi;
@@ -863,6 +865,16 @@ export namespace ProtocolTestsProxyApi {
863
865
 
864
866
  }
865
867
 
868
+ export interface ExtensionsApi {
869
+ /**
870
+ * Installs an unpacked extension from the filesystem similar to
871
+ * --load-extension CLI flags. Returns extension ID once the extension
872
+ * has been installed.
873
+ */
874
+ loadUnpacked(params: Protocol.Extensions.LoadUnpackedRequest): Promise<{id: number, result: Protocol.Extensions.LoadUnpackedResponse, sessionId: string}>;
875
+
876
+ }
877
+
866
878
  export interface AutofillApi {
867
879
  /**
868
880
  * Trigger autofill on a form identified by the fieldId.
@@ -3053,7 +3065,7 @@ export namespace ProtocolTestsProxyApi {
3053
3065
  * This API always waits for the manifest to be loaded.
3054
3066
  * If manifestId is provided, and it does not match the manifest of the
3055
3067
  * current document, this API errors out.
3056
- * If there isn’t a loaded page, this API errors out immediately.
3068
+ * If there is not a loaded page, this API errors out immediately.
3057
3069
  */
3058
3070
  getAppManifest(params: Protocol.Page.GetAppManifestRequest): Promise<{id: number, result: Protocol.Page.GetAppManifestResponse, sessionId: string}>;
3059
3071
 
@@ -3754,6 +3754,28 @@ export namespace Protocol {
3754
3754
  }
3755
3755
  }
3756
3756
 
3757
+ /**
3758
+ * Defines commands and events for browser extensions. Available if the client
3759
+ * is connected using the --remote-debugging-pipe flag and
3760
+ * the --enable-unsafe-extension-debugging flag is set.
3761
+ */
3762
+ export namespace Extensions {
3763
+
3764
+ export interface LoadUnpackedRequest {
3765
+ /**
3766
+ * Absolute file path.
3767
+ */
3768
+ path: string;
3769
+ }
3770
+
3771
+ export interface LoadUnpackedResponse {
3772
+ /**
3773
+ * Extension id.
3774
+ */
3775
+ id: string;
3776
+ }
3777
+ }
3778
+
3757
3779
  /**
3758
3780
  * Defines commands and events for Autofill.
3759
3781
  */