devtools-protocol 0.0.1105486 → 0.0.1109433
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.
@@ -1543,7 +1543,8 @@
|
|
1543
1543
|
"FormAriaLabelledByToNonExistingId",
|
1544
1544
|
"FormInputAssignedAutocompleteValueToIdOrNameAttributeError",
|
1545
1545
|
"FormLabelHasNeitherForNorNestedInput",
|
1546
|
-
"FormLabelForMatchesNonExistingIdError"
|
1546
|
+
"FormLabelForMatchesNonExistingIdError",
|
1547
|
+
"FormHasPasswordFieldWithoutUsernameFieldError"
|
1547
1548
|
]
|
1548
1549
|
},
|
1549
1550
|
{
|
@@ -16438,10 +16439,11 @@
|
|
16438
16439
|
]
|
16439
16440
|
},
|
16440
16441
|
{
|
16441
|
-
"id": "
|
16442
|
-
"description": "
|
16442
|
+
"id": "PreloadingStatus",
|
16443
|
+
"description": "Preloading status values, see also PreloadingTriggeringOutcome. This\nstatus is shared by prefetchStatusUpdated and prerenderStatusUpdated.",
|
16443
16444
|
"type": "string",
|
16444
16445
|
"enum": [
|
16446
|
+
"Pending",
|
16445
16447
|
"Running",
|
16446
16448
|
"Ready",
|
16447
16449
|
"Success",
|
@@ -18064,7 +18066,27 @@
|
|
18064
18066
|
},
|
18065
18067
|
{
|
18066
18068
|
"name": "status",
|
18067
|
-
"$ref": "
|
18069
|
+
"$ref": "PreloadingStatus"
|
18070
|
+
}
|
18071
|
+
]
|
18072
|
+
},
|
18073
|
+
{
|
18074
|
+
"name": "prerenderStatusUpdated",
|
18075
|
+
"description": "TODO(crbug/1384419): Create a dedicated domain for preloading.\nFired when a prerender attempt is updated.",
|
18076
|
+
"experimental": true,
|
18077
|
+
"parameters": [
|
18078
|
+
{
|
18079
|
+
"name": "initiatingFrameId",
|
18080
|
+
"description": "The frame id of the frame initiating prerender.",
|
18081
|
+
"$ref": "FrameId"
|
18082
|
+
},
|
18083
|
+
{
|
18084
|
+
"name": "prerenderingUrl",
|
18085
|
+
"type": "string"
|
18086
|
+
},
|
18087
|
+
{
|
18088
|
+
"name": "status",
|
18089
|
+
"$ref": "PreloadingStatus"
|
18068
18090
|
}
|
18069
18091
|
]
|
18070
18092
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -752,6 +752,7 @@ experimental domain Audits
|
|
752
752
|
FormInputAssignedAutocompleteValueToIdOrNameAttributeError
|
753
753
|
FormLabelHasNeitherForNorNestedInput
|
754
754
|
FormLabelForMatchesNonExistingIdError
|
755
|
+
FormHasPasswordFieldWithoutUsernameFieldError
|
755
756
|
|
756
757
|
# Depending on the concrete errorType, different properties are set.
|
757
758
|
type GenericIssueDetails extends object
|
@@ -8555,14 +8556,16 @@ domain Page
|
|
8555
8556
|
# that is incompatible with prerender and has caused the cancellation of the attempt
|
8556
8557
|
optional string disallowedApiMethod
|
8557
8558
|
|
8558
|
-
#
|
8559
|
-
|
8559
|
+
# Preloading status values, see also PreloadingTriggeringOutcome. This
|
8560
|
+
# status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
|
8561
|
+
type PreloadingStatus extends string
|
8560
8562
|
enum
|
8563
|
+
Pending
|
8561
8564
|
Running
|
8562
8565
|
Ready
|
8563
8566
|
Success
|
8564
8567
|
Failure
|
8565
|
-
# PreloadingTriggeringOutcome which not used by prefetch.
|
8568
|
+
# PreloadingTriggeringOutcome which not used by prefetch nor prerender.
|
8566
8569
|
NotSupported
|
8567
8570
|
|
8568
8571
|
# TODO(crbug/1384419): Create a dedicated domain for preloading.
|
@@ -8572,7 +8575,16 @@ domain Page
|
|
8572
8575
|
# The frame id of the frame initiating prefetch.
|
8573
8576
|
FrameId initiatingFrameId
|
8574
8577
|
string prefetchUrl
|
8575
|
-
|
8578
|
+
PreloadingStatus status
|
8579
|
+
|
8580
|
+
# TODO(crbug/1384419): Create a dedicated domain for preloading.
|
8581
|
+
# Fired when a prerender attempt is updated.
|
8582
|
+
experimental event prerenderStatusUpdated
|
8583
|
+
parameters
|
8584
|
+
# The frame id of the frame initiating prerender.
|
8585
|
+
FrameId initiatingFrameId
|
8586
|
+
string prerenderingUrl
|
8587
|
+
PreloadingStatus status
|
8576
8588
|
|
8577
8589
|
event loadEventFired
|
8578
8590
|
parameters
|
@@ -491,6 +491,11 @@ export namespace ProtocolMapping {
|
|
491
491
|
* Fired when a prefetch attempt is updated.
|
492
492
|
*/
|
493
493
|
'Page.prefetchStatusUpdated': [Protocol.Page.PrefetchStatusUpdatedEvent];
|
494
|
+
/**
|
495
|
+
* TODO(crbug/1384419): Create a dedicated domain for preloading.
|
496
|
+
* Fired when a prerender attempt is updated.
|
497
|
+
*/
|
498
|
+
'Page.prerenderStatusUpdated': [Protocol.Page.PrerenderStatusUpdatedEvent];
|
494
499
|
'Page.loadEventFired': [Protocol.Page.LoadEventFiredEvent];
|
495
500
|
/**
|
496
501
|
* Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
|
@@ -3079,6 +3079,12 @@ export namespace ProtocolProxyApi {
|
|
3079
3079
|
*/
|
3080
3080
|
on(event: 'prefetchStatusUpdated', listener: (params: Protocol.Page.PrefetchStatusUpdatedEvent) => void): void;
|
3081
3081
|
|
3082
|
+
/**
|
3083
|
+
* TODO(crbug/1384419): Create a dedicated domain for preloading.
|
3084
|
+
* Fired when a prerender attempt is updated.
|
3085
|
+
*/
|
3086
|
+
on(event: 'prerenderStatusUpdated', listener: (params: Protocol.Page.PrerenderStatusUpdatedEvent) => void): void;
|
3087
|
+
|
3082
3088
|
on(event: 'loadEventFired', listener: (params: Protocol.Page.LoadEventFiredEvent) => void): void;
|
3083
3089
|
|
3084
3090
|
/**
|
package/types/protocol.d.ts
CHANGED
@@ -3443,7 +3443,7 @@ export namespace Protocol {
|
|
3443
3443
|
location?: SourceCodeLocation;
|
3444
3444
|
}
|
3445
3445
|
|
3446
|
-
export type GenericIssueErrorType = ('CrossOriginPortalPostMessageError' | 'FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingId' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInput' | 'FormLabelForMatchesNonExistingIdError');
|
3446
|
+
export type GenericIssueErrorType = ('CrossOriginPortalPostMessageError' | 'FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingId' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInput' | 'FormLabelForMatchesNonExistingIdError' | 'FormHasPasswordFieldWithoutUsernameFieldError');
|
3447
3447
|
|
3448
3448
|
/**
|
3449
3449
|
* Depending on the concrete errorType, different properties are set.
|
@@ -12907,9 +12907,10 @@ export namespace Protocol {
|
|
12907
12907
|
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');
|
12908
12908
|
|
12909
12909
|
/**
|
12910
|
-
*
|
12910
|
+
* Preloading status values, see also PreloadingTriggeringOutcome. This
|
12911
|
+
* status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
|
12911
12912
|
*/
|
12912
|
-
export type
|
12913
|
+
export type PreloadingStatus = ('Pending' | 'Running' | 'Ready' | 'Success' | 'Failure' | 'NotSupported');
|
12913
12914
|
|
12914
12915
|
export interface AddScriptToEvaluateOnLoadRequest {
|
12915
12916
|
scriptSource: string;
|
@@ -13956,7 +13957,20 @@ export namespace Protocol {
|
|
13956
13957
|
*/
|
13957
13958
|
initiatingFrameId: FrameId;
|
13958
13959
|
prefetchUrl: string;
|
13959
|
-
status:
|
13960
|
+
status: PreloadingStatus;
|
13961
|
+
}
|
13962
|
+
|
13963
|
+
/**
|
13964
|
+
* TODO(crbug/1384419): Create a dedicated domain for preloading.
|
13965
|
+
* Fired when a prerender attempt is updated.
|
13966
|
+
*/
|
13967
|
+
export interface PrerenderStatusUpdatedEvent {
|
13968
|
+
/**
|
13969
|
+
* The frame id of the frame initiating prerender.
|
13970
|
+
*/
|
13971
|
+
initiatingFrameId: FrameId;
|
13972
|
+
prerenderingUrl: string;
|
13973
|
+
status: PreloadingStatus;
|
13960
13974
|
}
|
13961
13975
|
|
13962
13976
|
export interface LoadEventFiredEvent {
|