devtools-protocol 0.0.1100268 → 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.
@@ -1542,7 +1542,8 @@
|
|
1542
1542
|
"FormEmptyIdAndNameAttributesForInputError",
|
1543
1543
|
"FormAriaLabelledByToNonExistingId",
|
1544
1544
|
"FormInputAssignedAutocompleteValueToIdOrNameAttributeError",
|
1545
|
-
"FormLabelHasNeitherForNorNestedInput"
|
1545
|
+
"FormLabelHasNeitherForNorNestedInput",
|
1546
|
+
"FormLabelForMatchesNonExistingIdError"
|
1546
1547
|
]
|
1547
1548
|
},
|
1548
1549
|
{
|
@@ -16481,7 +16482,8 @@
|
|
16481
16482
|
"ActivationFramePolicyNotCompatible",
|
16482
16483
|
"PreloadingDisabled",
|
16483
16484
|
"BatterySaverEnabled",
|
16484
|
-
"ActivatedDuringMainFrameNavigation"
|
16485
|
+
"ActivatedDuringMainFrameNavigation",
|
16486
|
+
"PreloadingUnsupportedByWebContents"
|
16485
16487
|
]
|
16486
16488
|
}
|
16487
16489
|
],
|
@@ -17641,6 +17643,22 @@
|
|
17641
17643
|
}
|
17642
17644
|
]
|
17643
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
|
+
},
|
17644
17662
|
{
|
17645
17663
|
"name": "generateTestReport",
|
17646
17664
|
"description": "Generates a report for testing.",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -751,6 +751,7 @@ experimental domain Audits
|
|
751
751
|
FormAriaLabelledByToNonExistingId
|
752
752
|
FormInputAssignedAutocompleteValueToIdOrNameAttributeError
|
753
753
|
FormLabelHasNeitherForNorNestedInput
|
754
|
+
FormLabelForMatchesNonExistingIdError
|
754
755
|
|
755
756
|
# Depending on the concrete errorType, different properties are set.
|
756
757
|
type GenericIssueDetails extends object
|
@@ -8158,6 +8159,15 @@ domain Page
|
|
8158
8159
|
autoReject
|
8159
8160
|
autoOptOut
|
8160
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
|
+
|
8161
8171
|
# Generates a report for testing.
|
8162
8172
|
experimental command generateTestReport
|
8163
8173
|
parameters
|
@@ -8586,6 +8596,7 @@ domain Page
|
|
8586
8596
|
PreloadingDisabled
|
8587
8597
|
BatterySaverEnabled
|
8588
8598
|
ActivatedDuringMainFrameNavigation
|
8599
|
+
PreloadingUnsupportedByWebContents
|
8589
8600
|
|
8590
8601
|
# Fired when a prerender attempt is completed.
|
8591
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
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -3442,7 +3442,7 @@ export namespace Protocol {
|
|
3442
3442
|
location?: SourceCodeLocation;
|
3443
3443
|
}
|
3444
3444
|
|
3445
|
-
export type GenericIssueErrorType = ('CrossOriginPortalPostMessageError' | 'FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingId' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInput');
|
3445
|
+
export type GenericIssueErrorType = ('CrossOriginPortalPostMessageError' | 'FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingId' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInput' | 'FormLabelForMatchesNonExistingIdError');
|
3446
3446
|
|
3447
3447
|
/**
|
3448
3448
|
* Depending on the concrete errorType, different properties are set.
|
@@ -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.
|