devtools-protocol 0.0.1045489 → 0.0.1047822
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.
@@ -16333,7 +16333,8 @@
|
|
16333
16333
|
"MemoryLimitExceeded",
|
16334
16334
|
"FailToGetMemoryUsage",
|
16335
16335
|
"DataSaverEnabled",
|
16336
|
-
"HasEffectiveUrl"
|
16336
|
+
"HasEffectiveUrl",
|
16337
|
+
"ActivatedBeforeStarted"
|
16337
16338
|
]
|
16338
16339
|
}
|
16339
16340
|
],
|
@@ -17902,8 +17903,8 @@
|
|
17902
17903
|
"$ref": "PrerenderFinalStatus"
|
17903
17904
|
},
|
17904
17905
|
{
|
17905
|
-
"name": "
|
17906
|
-
"description": "This is used to give users more information about the
|
17906
|
+
"name": "disallowedApiMethod",
|
17907
|
+
"description": "This is used to give users more information about the name of the API call\nthat is incompatible with prerender and has caused the cancellation of the attempt",
|
17907
17908
|
"optional": true,
|
17908
17909
|
"type": "string"
|
17909
17910
|
}
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -8467,6 +8467,7 @@ domain Page
|
|
8467
8467
|
FailToGetMemoryUsage
|
8468
8468
|
DataSaverEnabled
|
8469
8469
|
HasEffectiveUrl
|
8470
|
+
ActivatedBeforeStarted
|
8470
8471
|
|
8471
8472
|
# Fired when a prerender attempt is completed.
|
8472
8473
|
experimental event prerenderAttemptCompleted
|
@@ -8475,9 +8476,9 @@ domain Page
|
|
8475
8476
|
FrameId initiatingFrameId
|
8476
8477
|
string prerenderingUrl
|
8477
8478
|
PrerenderFinalStatus finalStatus
|
8478
|
-
# This is used to give users more information about the
|
8479
|
-
# and
|
8480
|
-
optional string
|
8479
|
+
# This is used to give users more information about the name of the API call
|
8480
|
+
# that is incompatible with prerender and has caused the cancellation of the attempt
|
8481
|
+
optional string disallowedApiMethod
|
8481
8482
|
|
8482
8483
|
event loadEventFired
|
8483
8484
|
parameters
|
package/types/protocol.d.ts
CHANGED
@@ -12854,7 +12854,7 @@ export namespace Protocol {
|
|
12854
12854
|
/**
|
12855
12855
|
* List of FinalStatus reasons for Prerender2.
|
12856
12856
|
*/
|
12857
|
-
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'CrossOriginRedirect' | 'CrossOriginNavigation' | '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' | 'EmbedderTriggeredAndSameOriginRedirected' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl');
|
12857
|
+
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'CrossOriginRedirect' | 'CrossOriginNavigation' | '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' | 'EmbedderTriggeredAndSameOriginRedirected' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted');
|
12858
12858
|
|
12859
12859
|
export interface AddScriptToEvaluateOnLoadRequest {
|
12860
12860
|
scriptSource: string;
|
@@ -13879,10 +13879,10 @@ export namespace Protocol {
|
|
13879
13879
|
prerenderingUrl: string;
|
13880
13880
|
finalStatus: PrerenderFinalStatus;
|
13881
13881
|
/**
|
13882
|
-
* This is used to give users more information about the
|
13883
|
-
* and
|
13882
|
+
* This is used to give users more information about the name of the API call
|
13883
|
+
* that is incompatible with prerender and has caused the cancellation of the attempt
|
13884
13884
|
*/
|
13885
|
-
|
13885
|
+
disallowedApiMethod?: string;
|
13886
13886
|
}
|
13887
13887
|
|
13888
13888
|
export interface LoadEventFiredEvent {
|