devtools-protocol 0.0.1132318 → 0.0.1133601
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.
@@ -23141,6 +23141,17 @@
|
|
23141
23141
|
"SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation"
|
23142
23142
|
]
|
23143
23143
|
},
|
23144
|
+
{
|
23145
|
+
"id": "PreloadEnabledState",
|
23146
|
+
"type": "string",
|
23147
|
+
"enum": [
|
23148
|
+
"Enabled",
|
23149
|
+
"DisabledByDataSaver",
|
23150
|
+
"DisabledByBatterySaver",
|
23151
|
+
"DisabledByPreference",
|
23152
|
+
"NotSupported"
|
23153
|
+
]
|
23154
|
+
},
|
23144
23155
|
{
|
23145
23156
|
"id": "PreloadingStatus",
|
23146
23157
|
"description": "Preloading status values, see also PreloadingTriggeringOutcome. This\nstatus is shared by prefetchStatusUpdated and prerenderStatusUpdated.",
|
@@ -23212,6 +23223,16 @@
|
|
23212
23223
|
}
|
23213
23224
|
]
|
23214
23225
|
},
|
23226
|
+
{
|
23227
|
+
"name": "preloadEnabledStateUpdated",
|
23228
|
+
"description": "Fired when a preload enabled state is updated.",
|
23229
|
+
"parameters": [
|
23230
|
+
{
|
23231
|
+
"name": "state",
|
23232
|
+
"$ref": "PreloadEnabledState"
|
23233
|
+
}
|
23234
|
+
]
|
23235
|
+
},
|
23215
23236
|
{
|
23216
23237
|
"name": "prefetchStatusUpdated",
|
23217
23238
|
"description": "Fired when a prefetch attempt is updated.",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -777,8 +777,8 @@ experimental domain Audits
|
|
777
777
|
|
778
778
|
# This issue warns about sites in the redirect chain of a finished navigation
|
779
779
|
# that may be flagged as trackers and have their state cleared if they don't
|
780
|
-
# receive a user interaction. Note that in this context 'site' means eTLD+1.
|
781
|
-
# For example, if the URL `https://example.test:80/bounce` was in the
|
780
|
+
# receive a user interaction. Note that in this context 'site' means eTLD+1.
|
781
|
+
# For example, if the URL `https://example.test:80/bounce` was in the
|
782
782
|
# redirect chain, the site reported would be `example.test`.
|
783
783
|
type BounceTrackingIssueDetails extends object
|
784
784
|
properties
|
@@ -10963,6 +10963,20 @@ experimental domain Preload
|
|
10963
10963
|
# that is incompatible with prerender and has caused the cancellation of the attempt
|
10964
10964
|
optional string disallowedApiMethod
|
10965
10965
|
|
10966
|
+
type PreloadEnabledState extends string
|
10967
|
+
enum
|
10968
|
+
Enabled
|
10969
|
+
DisabledByDataSaver
|
10970
|
+
DisabledByBatterySaver
|
10971
|
+
DisabledByPreference
|
10972
|
+
# Service not available.
|
10973
|
+
NotSupported
|
10974
|
+
|
10975
|
+
# Fired when a preload enabled state is updated.
|
10976
|
+
event preloadEnabledStateUpdated
|
10977
|
+
parameters
|
10978
|
+
PreloadEnabledState state
|
10979
|
+
|
10966
10980
|
# Preloading status values, see also PreloadingTriggeringOutcome. This
|
10967
10981
|
# status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
|
10968
10982
|
type PreloadingStatus extends string
|
@@ -716,6 +716,10 @@ export namespace ProtocolMapping {
|
|
716
716
|
* Fired when a prerender attempt is completed.
|
717
717
|
*/
|
718
718
|
'Preload.prerenderAttemptCompleted': [Protocol.Preload.PrerenderAttemptCompletedEvent];
|
719
|
+
/**
|
720
|
+
* Fired when a preload enabled state is updated.
|
721
|
+
*/
|
722
|
+
'Preload.preloadEnabledStateUpdated': [Protocol.Preload.PreloadEnabledStateUpdatedEvent];
|
719
723
|
/**
|
720
724
|
* Fired when a prefetch attempt is updated.
|
721
725
|
*/
|
@@ -3966,6 +3966,11 @@ export namespace ProtocolProxyApi {
|
|
3966
3966
|
*/
|
3967
3967
|
on(event: 'prerenderAttemptCompleted', listener: (params: Protocol.Preload.PrerenderAttemptCompletedEvent) => void): void;
|
3968
3968
|
|
3969
|
+
/**
|
3970
|
+
* Fired when a preload enabled state is updated.
|
3971
|
+
*/
|
3972
|
+
on(event: 'preloadEnabledStateUpdated', listener: (params: Protocol.Preload.PreloadEnabledStateUpdatedEvent) => void): void;
|
3973
|
+
|
3969
3974
|
/**
|
3970
3975
|
* Fired when a prefetch attempt is updated.
|
3971
3976
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -17031,6 +17031,8 @@ export namespace Protocol {
|
|
17031
17031
|
*/
|
17032
17032
|
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' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation');
|
17033
17033
|
|
17034
|
+
export type PreloadEnabledState = ('Enabled' | 'DisabledByDataSaver' | 'DisabledByBatterySaver' | 'DisabledByPreference' | 'NotSupported');
|
17035
|
+
|
17034
17036
|
/**
|
17035
17037
|
* Preloading status values, see also PreloadingTriggeringOutcome. This
|
17036
17038
|
* status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
|
@@ -17066,6 +17068,13 @@ export namespace Protocol {
|
|
17066
17068
|
disallowedApiMethod?: string;
|
17067
17069
|
}
|
17068
17070
|
|
17071
|
+
/**
|
17072
|
+
* Fired when a preload enabled state is updated.
|
17073
|
+
*/
|
17074
|
+
export interface PreloadEnabledStateUpdatedEvent {
|
17075
|
+
state: PreloadEnabledState;
|
17076
|
+
}
|
17077
|
+
|
17069
17078
|
/**
|
17070
17079
|
* Fired when a prefetch attempt is updated.
|
17071
17080
|
*/
|