devtools-protocol 0.0.1144541 → 0.0.1145140
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.
@@ -23255,10 +23255,7 @@
|
|
23255
23255
|
"SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation",
|
23256
23256
|
"SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation",
|
23257
23257
|
"MemoryPressureOnTrigger",
|
23258
|
-
"MemoryPressureAfterTriggered"
|
23259
|
-
"SpeculationRuleRemoved",
|
23260
|
-
"TriggerPageNavigated",
|
23261
|
-
"OtherPrerenderedPageActivated"
|
23258
|
+
"MemoryPressureAfterTriggered"
|
23262
23259
|
]
|
23263
23260
|
},
|
23264
23261
|
{
|
@@ -23434,6 +23431,11 @@
|
|
23434
23431
|
{
|
23435
23432
|
"name": "status",
|
23436
23433
|
"$ref": "PreloadingStatus"
|
23434
|
+
},
|
23435
|
+
{
|
23436
|
+
"name": "prerenderStatus",
|
23437
|
+
"optional": true,
|
23438
|
+
"$ref": "PrerenderFinalStatus"
|
23437
23439
|
}
|
23438
23440
|
]
|
23439
23441
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -11004,9 +11004,6 @@ experimental domain Preload
|
|
11004
11004
|
SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation
|
11005
11005
|
MemoryPressureOnTrigger
|
11006
11006
|
MemoryPressureAfterTriggered
|
11007
|
-
SpeculationRuleRemoved
|
11008
|
-
TriggerPageNavigated
|
11009
|
-
OtherPrerenderedPageActivated
|
11010
11007
|
|
11011
11008
|
# Fired when a prerender attempt is completed.
|
11012
11009
|
event prerenderAttemptCompleted
|
@@ -11102,6 +11099,7 @@ experimental domain Preload
|
|
11102
11099
|
Page.FrameId initiatingFrameId
|
11103
11100
|
string prerenderingUrl
|
11104
11101
|
PreloadingStatus status
|
11102
|
+
optional PrerenderFinalStatus prerenderStatus
|
11105
11103
|
|
11106
11104
|
# Send a list of sources for all preloading attempts in a document.
|
11107
11105
|
event preloadingAttemptSourcesUpdated
|
package/types/protocol.d.ts
CHANGED
@@ -17161,7 +17161,7 @@ export namespace Protocol {
|
|
17161
17161
|
/**
|
17162
17162
|
* List of FinalStatus reasons for Prerender2.
|
17163
17163
|
*/
|
17164
|
-
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' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered'
|
17164
|
+
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' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered');
|
17165
17165
|
|
17166
17166
|
export type PreloadEnabledState = ('Enabled' | 'DisabledByDataSaver' | 'DisabledByBatterySaver' | 'DisabledByPreference' | 'NotSupported');
|
17167
17167
|
|
@@ -17238,6 +17238,7 @@ export namespace Protocol {
|
|
17238
17238
|
initiatingFrameId: Page.FrameId;
|
17239
17239
|
prerenderingUrl: string;
|
17240
17240
|
status: PreloadingStatus;
|
17241
|
+
prerenderStatus?: PrerenderFinalStatus;
|
17241
17242
|
}
|
17242
17243
|
|
17243
17244
|
/**
|