devtools-protocol 0.0.1100832 → 0.0.1101985
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.
@@ -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.",
|
@@ -16482,7 +16494,8 @@
|
|
16482
16494
|
"ActivationFramePolicyNotCompatible",
|
16483
16495
|
"PreloadingDisabled",
|
16484
16496
|
"BatterySaverEnabled",
|
16485
|
-
"ActivatedDuringMainFrameNavigation"
|
16497
|
+
"ActivatedDuringMainFrameNavigation",
|
16498
|
+
"PreloadingUnsupportedByWebContents"
|
16486
16499
|
]
|
16487
16500
|
}
|
16488
16501
|
],
|
@@ -16743,7 +16756,9 @@
|
|
16743
16756
|
},
|
16744
16757
|
{
|
16745
16758
|
"name": "getManifestIcons",
|
16759
|
+
"description": "Deprecated because it's not guaranteed that the returned icon is in fact the one used for PWA installation.",
|
16746
16760
|
"experimental": true,
|
16761
|
+
"deprecated": true,
|
16747
16762
|
"returns": [
|
16748
16763
|
{
|
16749
16764
|
"name": "primaryIcon",
|
@@ -17632,13 +17647,18 @@
|
|
17632
17647
|
"parameters": [
|
17633
17648
|
{
|
17634
17649
|
"name": "mode",
|
17635
|
-
"
|
17636
|
-
|
17637
|
-
|
17638
|
-
|
17639
|
-
|
17640
|
-
|
17641
|
-
|
17650
|
+
"$ref": "AutoResponseMode"
|
17651
|
+
}
|
17652
|
+
]
|
17653
|
+
},
|
17654
|
+
{
|
17655
|
+
"name": "setRPHRegistrationMode",
|
17656
|
+
"description": "Extensions for Custom Handlers API:\nhttps://html.spec.whatwg.org/multipage/system-state.html#rph-automation",
|
17657
|
+
"experimental": true,
|
17658
|
+
"parameters": [
|
17659
|
+
{
|
17660
|
+
"name": "mode",
|
17661
|
+
"$ref": "AutoResponseMode"
|
17642
17662
|
}
|
17643
17663
|
]
|
17644
17664
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -7735,7 +7735,8 @@ domain Page
|
|
7735
7735
|
returns
|
7736
7736
|
array of InstallabilityError installabilityErrors
|
7737
7737
|
|
7738
|
-
|
7738
|
+
# Deprecated because it's not guaranteed that the returned icon is in fact the one used for PWA installation.
|
7739
|
+
experimental deprecated command getManifestIcons
|
7739
7740
|
returns
|
7740
7741
|
optional binary primaryIcon
|
7741
7742
|
|
@@ -8149,15 +8150,25 @@ domain Page
|
|
8149
8150
|
# Clears seeded compilation cache.
|
8150
8151
|
experimental command clearCompilationCache
|
8151
8152
|
|
8152
|
-
#
|
8153
|
+
# Enum of possible auto-reponse for permisison / prompt dialogs.
|
8154
|
+
experimental type AutoResponseMode extends string
|
8155
|
+
enum
|
8156
|
+
none
|
8157
|
+
autoAccept
|
8158
|
+
autoReject
|
8159
|
+
autoOptOut
|
8160
|
+
|
8161
|
+
# Sets the Secure Payment Confirmation transaction mode.
|
8153
8162
|
# https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
|
8154
8163
|
experimental command setSPCTransactionMode
|
8155
8164
|
parameters
|
8156
|
-
|
8157
|
-
|
8158
|
-
|
8159
|
-
|
8160
|
-
|
8165
|
+
AutoResponseMode mode
|
8166
|
+
|
8167
|
+
# Extensions for Custom Handlers API:
|
8168
|
+
# https://html.spec.whatwg.org/multipage/system-state.html#rph-automation
|
8169
|
+
experimental command setRPHRegistrationMode
|
8170
|
+
parameters
|
8171
|
+
AutoResponseMode mode
|
8161
8172
|
|
8162
8173
|
# Generates a report for testing.
|
8163
8174
|
experimental command generateTestReport
|
@@ -8587,6 +8598,7 @@ domain Page
|
|
8587
8598
|
PreloadingDisabled
|
8588
8599
|
BatterySaverEnabled
|
8589
8600
|
ActivatedDuringMainFrameNavigation
|
8601
|
+
PreloadingUnsupportedByWebContents
|
8590
8602
|
|
8591
8603
|
# Fired when a prerender attempt is completed.
|
8592
8604
|
experimental event prerenderAttemptCompleted
|
@@ -3523,6 +3523,9 @@ export namespace ProtocolMapping {
|
|
3523
3523
|
paramsType: [];
|
3524
3524
|
returnType: Protocol.Page.GetInstallabilityErrorsResponse;
|
3525
3525
|
};
|
3526
|
+
/**
|
3527
|
+
* Deprecated because it's not guaranteed that the returned icon is in fact the one used for PWA installation.
|
3528
|
+
*/
|
3526
3529
|
'Page.getManifestIcons': {
|
3527
3530
|
paramsType: [];
|
3528
3531
|
returnType: Protocol.Page.GetManifestIconsResponse;
|
@@ -3826,6 +3829,14 @@ export namespace ProtocolMapping {
|
|
3826
3829
|
paramsType: [Protocol.Page.SetSPCTransactionModeRequest];
|
3827
3830
|
returnType: void;
|
3828
3831
|
};
|
3832
|
+
/**
|
3833
|
+
* Extensions for Custom Handlers API:
|
3834
|
+
* https://html.spec.whatwg.org/multipage/system-state.html#rph-automation
|
3835
|
+
*/
|
3836
|
+
'Page.setRPHRegistrationMode': {
|
3837
|
+
paramsType: [Protocol.Page.SetRPHRegistrationModeRequest];
|
3838
|
+
returnType: void;
|
3839
|
+
};
|
3829
3840
|
/**
|
3830
3841
|
* Generates a report for testing.
|
3831
3842
|
*/
|
@@ -2716,6 +2716,9 @@ export namespace ProtocolProxyApi {
|
|
2716
2716
|
|
2717
2717
|
getInstallabilityErrors(): Promise<Protocol.Page.GetInstallabilityErrorsResponse>;
|
2718
2718
|
|
2719
|
+
/**
|
2720
|
+
* Deprecated because it's not guaranteed that the returned icon is in fact the one used for PWA installation.
|
2721
|
+
*/
|
2719
2722
|
getManifestIcons(): Promise<Protocol.Page.GetManifestIconsResponse>;
|
2720
2723
|
|
2721
2724
|
/**
|
@@ -2935,6 +2938,12 @@ export namespace ProtocolProxyApi {
|
|
2935
2938
|
*/
|
2936
2939
|
setSPCTransactionMode(params: Protocol.Page.SetSPCTransactionModeRequest): Promise<void>;
|
2937
2940
|
|
2941
|
+
/**
|
2942
|
+
* Extensions for Custom Handlers API:
|
2943
|
+
* https://html.spec.whatwg.org/multipage/system-state.html#rph-automation
|
2944
|
+
*/
|
2945
|
+
setRPHRegistrationMode(params: Protocol.Page.SetRPHRegistrationModeRequest): Promise<void>;
|
2946
|
+
|
2938
2947
|
/**
|
2939
2948
|
* Generates a report for testing.
|
2940
2949
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -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
|
*/
|
@@ -12895,7 +12900,7 @@ export namespace Protocol {
|
|
12895
12900
|
/**
|
12896
12901
|
* List of FinalStatus reasons for Prerender2.
|
12897
12902
|
*/
|
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');
|
12903
|
+
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
12904
|
|
12900
12905
|
export interface AddScriptToEvaluateOnLoadRequest {
|
12901
12906
|
scriptSource: string;
|
@@ -13594,18 +13599,12 @@ export namespace Protocol {
|
|
13594
13599
|
data: string;
|
13595
13600
|
}
|
13596
13601
|
|
13597
|
-
export
|
13598
|
-
|
13599
|
-
AutoAccept = 'autoAccept',
|
13600
|
-
AutoReject = 'autoReject',
|
13601
|
-
AutoOptOut = 'autoOptOut',
|
13602
|
+
export interface SetSPCTransactionModeRequest {
|
13603
|
+
mode: AutoResponseMode;
|
13602
13604
|
}
|
13603
13605
|
|
13604
|
-
export interface
|
13605
|
-
|
13606
|
-
* (SetSPCTransactionModeRequestMode enum)
|
13607
|
-
*/
|
13608
|
-
mode: ('none' | 'autoAccept' | 'autoReject' | 'autoOptOut');
|
13606
|
+
export interface SetRPHRegistrationModeRequest {
|
13607
|
+
mode: AutoResponseMode;
|
13609
13608
|
}
|
13610
13609
|
|
13611
13610
|
export interface GenerateTestReportRequest {
|