devtools-protocol 0.0.1100832 → 0.0.1101329

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.
@@ -16482,7 +16482,8 @@
16482
16482
  "ActivationFramePolicyNotCompatible",
16483
16483
  "PreloadingDisabled",
16484
16484
  "BatterySaverEnabled",
16485
- "ActivatedDuringMainFrameNavigation"
16485
+ "ActivatedDuringMainFrameNavigation",
16486
+ "PreloadingUnsupportedByWebContents"
16486
16487
  ]
16487
16488
  }
16488
16489
  ],
@@ -17642,6 +17643,22 @@
17642
17643
  }
17643
17644
  ]
17644
17645
  },
17646
+ {
17647
+ "name": "setRPHRegistrationMode",
17648
+ "description": "Extensions for Custom Handlers API:\nhttps://html.spec.whatwg.org/multipage/system-state.html#rph-automation",
17649
+ "experimental": true,
17650
+ "parameters": [
17651
+ {
17652
+ "name": "mode",
17653
+ "type": "string",
17654
+ "enum": [
17655
+ "none",
17656
+ "autoaccept",
17657
+ "autoreject"
17658
+ ]
17659
+ }
17660
+ ]
17661
+ },
17645
17662
  {
17646
17663
  "name": "generateTestReport",
17647
17664
  "description": "Generates a report for testing.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1100832",
3
+ "version": "0.0.1101329",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -8159,6 +8159,15 @@ domain Page
8159
8159
  autoReject
8160
8160
  autoOptOut
8161
8161
 
8162
+ # Extensions for Custom Handlers API:
8163
+ # https://html.spec.whatwg.org/multipage/system-state.html#rph-automation
8164
+ experimental command setRPHRegistrationMode
8165
+ parameters
8166
+ enum mode
8167
+ none
8168
+ autoaccept
8169
+ autoreject
8170
+
8162
8171
  # Generates a report for testing.
8163
8172
  experimental command generateTestReport
8164
8173
  parameters
@@ -8587,6 +8596,7 @@ domain Page
8587
8596
  PreloadingDisabled
8588
8597
  BatterySaverEnabled
8589
8598
  ActivatedDuringMainFrameNavigation
8599
+ PreloadingUnsupportedByWebContents
8590
8600
 
8591
8601
  # Fired when a prerender attempt is completed.
8592
8602
  experimental event prerenderAttemptCompleted
@@ -3826,6 +3826,14 @@ export namespace ProtocolMapping {
3826
3826
  paramsType: [Protocol.Page.SetSPCTransactionModeRequest];
3827
3827
  returnType: void;
3828
3828
  };
3829
+ /**
3830
+ * Extensions for Custom Handlers API:
3831
+ * https://html.spec.whatwg.org/multipage/system-state.html#rph-automation
3832
+ */
3833
+ 'Page.setRPHRegistrationMode': {
3834
+ paramsType: [Protocol.Page.SetRPHRegistrationModeRequest];
3835
+ returnType: void;
3836
+ };
3829
3837
  /**
3830
3838
  * Generates a report for testing.
3831
3839
  */
@@ -2935,6 +2935,12 @@ export namespace ProtocolProxyApi {
2935
2935
  */
2936
2936
  setSPCTransactionMode(params: Protocol.Page.SetSPCTransactionModeRequest): Promise<void>;
2937
2937
 
2938
+ /**
2939
+ * Extensions for Custom Handlers API:
2940
+ * https://html.spec.whatwg.org/multipage/system-state.html#rph-automation
2941
+ */
2942
+ setRPHRegistrationMode(params: Protocol.Page.SetRPHRegistrationModeRequest): Promise<void>;
2943
+
2938
2944
  /**
2939
2945
  * Generates a report for testing.
2940
2946
  */
@@ -12895,7 +12895,7 @@ export namespace Protocol {
12895
12895
  /**
12896
12896
  * List of FinalStatus reasons for Prerender2.
12897
12897
  */
12898
- export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirect' | 'CrossSiteNavigation' | 'SameSiteCrossOriginRedirect' | 'SameSiteCrossOriginNavigation' | 'SameSiteCrossOriginRedirectNotOptIn' | 'SameSiteCrossOriginNavigationNotOptIn' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation');
12898
+ export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirect' | 'CrossSiteNavigation' | 'SameSiteCrossOriginRedirect' | 'SameSiteCrossOriginNavigation' | 'SameSiteCrossOriginRedirectNotOptIn' | 'SameSiteCrossOriginNavigationNotOptIn' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents');
12899
12899
 
12900
12900
  export interface AddScriptToEvaluateOnLoadRequest {
12901
12901
  scriptSource: string;
@@ -13608,6 +13608,19 @@ export namespace Protocol {
13608
13608
  mode: ('none' | 'autoAccept' | 'autoReject' | 'autoOptOut');
13609
13609
  }
13610
13610
 
13611
+ export const enum SetRPHRegistrationModeRequestMode {
13612
+ None = 'none',
13613
+ Autoaccept = 'autoaccept',
13614
+ Autoreject = 'autoreject',
13615
+ }
13616
+
13617
+ export interface SetRPHRegistrationModeRequest {
13618
+ /**
13619
+ * (SetRPHRegistrationModeRequestMode enum)
13620
+ */
13621
+ mode: ('none' | 'autoaccept' | 'autoreject');
13622
+ }
13623
+
13611
13624
  export interface GenerateTestReportRequest {
13612
13625
  /**
13613
13626
  * Message to be displayed in the report.