devtools-protocol 0.0.1101329 → 0.0.1102555

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.
@@ -5414,7 +5414,7 @@
5414
5414
  },
5415
5415
  {
5416
5416
  "name": "getDocument",
5417
- "description": "Returns the root DOM node (and optionally the subtree) to the caller.",
5417
+ "description": "Returns the root DOM node (and optionally the subtree) to the caller.\nImplicitly enables the DOM domain events for the current target.",
5418
5418
  "parameters": [
5419
5419
  {
5420
5420
  "name": "depth",
@@ -16219,6 +16219,18 @@
16219
16219
  }
16220
16220
  ]
16221
16221
  },
16222
+ {
16223
+ "id": "AutoResponseMode",
16224
+ "description": "Enum of possible auto-reponse for permisison / prompt dialogs.",
16225
+ "experimental": true,
16226
+ "type": "string",
16227
+ "enum": [
16228
+ "none",
16229
+ "autoAccept",
16230
+ "autoReject",
16231
+ "autoOptOut"
16232
+ ]
16233
+ },
16222
16234
  {
16223
16235
  "id": "NavigationType",
16224
16236
  "description": "The type of a frameNavigated event.",
@@ -16744,7 +16756,9 @@
16744
16756
  },
16745
16757
  {
16746
16758
  "name": "getManifestIcons",
16759
+ "description": "Deprecated because it's not guaranteed that the returned icon is in fact the one used for PWA installation.",
16747
16760
  "experimental": true,
16761
+ "deprecated": true,
16748
16762
  "returns": [
16749
16763
  {
16750
16764
  "name": "primaryIcon",
@@ -17633,13 +17647,7 @@
17633
17647
  "parameters": [
17634
17648
  {
17635
17649
  "name": "mode",
17636
- "type": "string",
17637
- "enum": [
17638
- "none",
17639
- "autoAccept",
17640
- "autoReject",
17641
- "autoOptOut"
17642
- ]
17650
+ "$ref": "AutoResponseMode"
17643
17651
  }
17644
17652
  ]
17645
17653
  },
@@ -17650,12 +17658,7 @@
17650
17658
  "parameters": [
17651
17659
  {
17652
17660
  "name": "mode",
17653
- "type": "string",
17654
- "enum": [
17655
- "none",
17656
- "autoaccept",
17657
- "autoreject"
17658
- ]
17661
+ "$ref": "AutoResponseMode"
17659
17662
  }
17660
17663
  ]
17661
17664
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1101329",
3
+ "version": "0.0.1102555",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -2556,6 +2556,7 @@ domain DOM
2556
2556
  array of Quad quads
2557
2557
 
2558
2558
  # Returns the root DOM node (and optionally the subtree) to the caller.
2559
+ # Implicitly enables the DOM domain events for the current target.
2559
2560
  command getDocument
2560
2561
  parameters
2561
2562
  # The maximum depth at which children should be retrieved, defaults to 1. Use -1 for the
@@ -7735,7 +7736,8 @@ domain Page
7735
7736
  returns
7736
7737
  array of InstallabilityError installabilityErrors
7737
7738
 
7738
- experimental command getManifestIcons
7739
+ # Deprecated because it's not guaranteed that the returned icon is in fact the one used for PWA installation.
7740
+ experimental deprecated command getManifestIcons
7739
7741
  returns
7740
7742
  optional binary primaryIcon
7741
7743
 
@@ -8149,24 +8151,25 @@ domain Page
8149
8151
  # Clears seeded compilation cache.
8150
8152
  experimental command clearCompilationCache
8151
8153
 
8152
- # Sets the Secure Payment Confirmation transaction mode.
8154
+ # Enum of possible auto-reponse for permisison / prompt dialogs.
8155
+ experimental type AutoResponseMode extends string
8156
+ enum
8157
+ none
8158
+ autoAccept
8159
+ autoReject
8160
+ autoOptOut
8161
+
8162
+ # Sets the Secure Payment Confirmation transaction mode.
8153
8163
  # https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
8154
8164
  experimental command setSPCTransactionMode
8155
8165
  parameters
8156
- enum mode
8157
- none
8158
- autoAccept
8159
- autoReject
8160
- autoOptOut
8166
+ AutoResponseMode mode
8161
8167
 
8162
8168
  # Extensions for Custom Handlers API:
8163
8169
  # https://html.spec.whatwg.org/multipage/system-state.html#rph-automation
8164
8170
  experimental command setRPHRegistrationMode
8165
8171
  parameters
8166
- enum mode
8167
- none
8168
- autoaccept
8169
- autoreject
8172
+ AutoResponseMode mode
8170
8173
 
8171
8174
  # Generates a report for testing.
8172
8175
  experimental command generateTestReport
@@ -1961,6 +1961,7 @@ export namespace ProtocolMapping {
1961
1961
  };
1962
1962
  /**
1963
1963
  * Returns the root DOM node (and optionally the subtree) to the caller.
1964
+ * Implicitly enables the DOM domain events for the current target.
1964
1965
  */
1965
1966
  'DOM.getDocument': {
1966
1967
  paramsType: [Protocol.DOM.GetDocumentRequest?];
@@ -3523,6 +3524,9 @@ export namespace ProtocolMapping {
3523
3524
  paramsType: [];
3524
3525
  returnType: Protocol.Page.GetInstallabilityErrorsResponse;
3525
3526
  };
3527
+ /**
3528
+ * Deprecated because it's not guaranteed that the returned icon is in fact the one used for PWA installation.
3529
+ */
3526
3530
  'Page.getManifestIcons': {
3527
3531
  paramsType: [];
3528
3532
  returnType: Protocol.Page.GetManifestIconsResponse;
@@ -1247,6 +1247,7 @@ export namespace ProtocolProxyApi {
1247
1247
 
1248
1248
  /**
1249
1249
  * Returns the root DOM node (and optionally the subtree) to the caller.
1250
+ * Implicitly enables the DOM domain events for the current target.
1250
1251
  */
1251
1252
  getDocument(params: Protocol.DOM.GetDocumentRequest): Promise<Protocol.DOM.GetDocumentResponse>;
1252
1253
 
@@ -2716,6 +2717,9 @@ export namespace ProtocolProxyApi {
2716
2717
 
2717
2718
  getInstallabilityErrors(): Promise<Protocol.Page.GetInstallabilityErrorsResponse>;
2718
2719
 
2720
+ /**
2721
+ * Deprecated because it's not guaranteed that the returned icon is in fact the one used for PWA installation.
2722
+ */
2719
2723
  getManifestIcons(): Promise<Protocol.Page.GetManifestIconsResponse>;
2720
2724
 
2721
2725
  /**
@@ -12845,6 +12845,11 @@ export namespace Protocol {
12845
12845
  eager?: boolean;
12846
12846
  }
12847
12847
 
12848
+ /**
12849
+ * Enum of possible auto-reponse for permisison / prompt dialogs.
12850
+ */
12851
+ export type AutoResponseMode = ('none' | 'autoAccept' | 'autoReject' | 'autoOptOut');
12852
+
12848
12853
  /**
12849
12854
  * The type of a frameNavigated event.
12850
12855
  */
@@ -13594,31 +13599,12 @@ export namespace Protocol {
13594
13599
  data: string;
13595
13600
  }
13596
13601
 
13597
- export const enum SetSPCTransactionModeRequestMode {
13598
- None = 'none',
13599
- AutoAccept = 'autoAccept',
13600
- AutoReject = 'autoReject',
13601
- AutoOptOut = 'autoOptOut',
13602
- }
13603
-
13604
13602
  export interface SetSPCTransactionModeRequest {
13605
- /**
13606
- * (SetSPCTransactionModeRequestMode enum)
13607
- */
13608
- mode: ('none' | 'autoAccept' | 'autoReject' | 'autoOptOut');
13609
- }
13610
-
13611
- export const enum SetRPHRegistrationModeRequestMode {
13612
- None = 'none',
13613
- Autoaccept = 'autoaccept',
13614
- Autoreject = 'autoreject',
13603
+ mode: AutoResponseMode;
13615
13604
  }
13616
13605
 
13617
13606
  export interface SetRPHRegistrationModeRequest {
13618
- /**
13619
- * (SetRPHRegistrationModeRequestMode enum)
13620
- */
13621
- mode: ('none' | 'autoaccept' | 'autoreject');
13607
+ mode: AutoResponseMode;
13622
13608
  }
13623
13609
 
13624
13610
  export interface GenerateTestReportRequest {