devtools-protocol 0.0.1112051 → 0.0.1113120
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.
- package/json/browser_protocol.json +139 -142
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +101 -103
- package/types/protocol-mapping.d.ts +12 -14
- package/types/protocol-proxy-api.d.ts +15 -17
- package/types/protocol.d.ts +52 -54
@@ -16373,82 +16373,6 @@
|
|
16373
16373
|
}
|
16374
16374
|
}
|
16375
16375
|
]
|
16376
|
-
},
|
16377
|
-
{
|
16378
|
-
"id": "PrerenderFinalStatus",
|
16379
|
-
"description": "List of FinalStatus reasons for Prerender2.",
|
16380
|
-
"type": "string",
|
16381
|
-
"enum": [
|
16382
|
-
"Activated",
|
16383
|
-
"Destroyed",
|
16384
|
-
"LowEndDevice",
|
16385
|
-
"InvalidSchemeRedirect",
|
16386
|
-
"InvalidSchemeNavigation",
|
16387
|
-
"InProgressNavigation",
|
16388
|
-
"NavigationRequestBlockedByCsp",
|
16389
|
-
"MainFrameNavigation",
|
16390
|
-
"MojoBinderPolicy",
|
16391
|
-
"RendererProcessCrashed",
|
16392
|
-
"RendererProcessKilled",
|
16393
|
-
"Download",
|
16394
|
-
"TriggerDestroyed",
|
16395
|
-
"NavigationNotCommitted",
|
16396
|
-
"NavigationBadHttpStatus",
|
16397
|
-
"ClientCertRequested",
|
16398
|
-
"NavigationRequestNetworkError",
|
16399
|
-
"MaxNumOfRunningPrerendersExceeded",
|
16400
|
-
"CancelAllHostsForTesting",
|
16401
|
-
"DidFailLoad",
|
16402
|
-
"Stop",
|
16403
|
-
"SslCertificateError",
|
16404
|
-
"LoginAuthRequested",
|
16405
|
-
"UaChangeRequiresReload",
|
16406
|
-
"BlockedByClient",
|
16407
|
-
"AudioOutputDeviceRequested",
|
16408
|
-
"MixedContent",
|
16409
|
-
"TriggerBackgrounded",
|
16410
|
-
"EmbedderTriggeredAndCrossOriginRedirected",
|
16411
|
-
"MemoryLimitExceeded",
|
16412
|
-
"FailToGetMemoryUsage",
|
16413
|
-
"DataSaverEnabled",
|
16414
|
-
"HasEffectiveUrl",
|
16415
|
-
"ActivatedBeforeStarted",
|
16416
|
-
"InactivePageRestriction",
|
16417
|
-
"StartFailed",
|
16418
|
-
"TimeoutBackgrounded",
|
16419
|
-
"CrossSiteRedirect",
|
16420
|
-
"CrossSiteNavigation",
|
16421
|
-
"SameSiteCrossOriginRedirect",
|
16422
|
-
"SameSiteCrossOriginNavigation",
|
16423
|
-
"SameSiteCrossOriginRedirectNotOptIn",
|
16424
|
-
"SameSiteCrossOriginNavigationNotOptIn",
|
16425
|
-
"ActivationNavigationParameterMismatch",
|
16426
|
-
"ActivatedInBackground",
|
16427
|
-
"EmbedderHostDisallowed",
|
16428
|
-
"ActivationNavigationDestroyedBeforeSuccess",
|
16429
|
-
"TabClosedByUserGesture",
|
16430
|
-
"TabClosedWithoutUserGesture",
|
16431
|
-
"PrimaryMainFrameRendererProcessCrashed",
|
16432
|
-
"PrimaryMainFrameRendererProcessKilled",
|
16433
|
-
"ActivationFramePolicyNotCompatible",
|
16434
|
-
"PreloadingDisabled",
|
16435
|
-
"BatterySaverEnabled",
|
16436
|
-
"ActivatedDuringMainFrameNavigation",
|
16437
|
-
"PreloadingUnsupportedByWebContents"
|
16438
|
-
]
|
16439
|
-
},
|
16440
|
-
{
|
16441
|
-
"id": "PreloadingStatus",
|
16442
|
-
"description": "Preloading status values, see also PreloadingTriggeringOutcome. This\nstatus is shared by prefetchStatusUpdated and prerenderStatusUpdated.",
|
16443
|
-
"type": "string",
|
16444
|
-
"enum": [
|
16445
|
-
"Pending",
|
16446
|
-
"Running",
|
16447
|
-
"Ready",
|
16448
|
-
"Success",
|
16449
|
-
"Failure",
|
16450
|
-
"NotSupported"
|
16451
|
-
]
|
16452
16376
|
}
|
16453
16377
|
],
|
16454
16378
|
"commands": [
|
@@ -18023,72 +17947,6 @@
|
|
18023
17947
|
}
|
18024
17948
|
]
|
18025
17949
|
},
|
18026
|
-
{
|
18027
|
-
"name": "prerenderAttemptCompleted",
|
18028
|
-
"description": "Fired when a prerender attempt is completed.",
|
18029
|
-
"experimental": true,
|
18030
|
-
"parameters": [
|
18031
|
-
{
|
18032
|
-
"name": "initiatingFrameId",
|
18033
|
-
"description": "The frame id of the frame initiating prerendering.",
|
18034
|
-
"$ref": "FrameId"
|
18035
|
-
},
|
18036
|
-
{
|
18037
|
-
"name": "prerenderingUrl",
|
18038
|
-
"type": "string"
|
18039
|
-
},
|
18040
|
-
{
|
18041
|
-
"name": "finalStatus",
|
18042
|
-
"$ref": "PrerenderFinalStatus"
|
18043
|
-
},
|
18044
|
-
{
|
18045
|
-
"name": "disallowedApiMethod",
|
18046
|
-
"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",
|
18047
|
-
"optional": true,
|
18048
|
-
"type": "string"
|
18049
|
-
}
|
18050
|
-
]
|
18051
|
-
},
|
18052
|
-
{
|
18053
|
-
"name": "prefetchStatusUpdated",
|
18054
|
-
"description": "TODO(crbug/1384419): Create a dedicated domain for preloading.\nFired when a prefetch attempt is updated.",
|
18055
|
-
"experimental": true,
|
18056
|
-
"parameters": [
|
18057
|
-
{
|
18058
|
-
"name": "initiatingFrameId",
|
18059
|
-
"description": "The frame id of the frame initiating prefetch.",
|
18060
|
-
"$ref": "FrameId"
|
18061
|
-
},
|
18062
|
-
{
|
18063
|
-
"name": "prefetchUrl",
|
18064
|
-
"type": "string"
|
18065
|
-
},
|
18066
|
-
{
|
18067
|
-
"name": "status",
|
18068
|
-
"$ref": "PreloadingStatus"
|
18069
|
-
}
|
18070
|
-
]
|
18071
|
-
},
|
18072
|
-
{
|
18073
|
-
"name": "prerenderStatusUpdated",
|
18074
|
-
"description": "TODO(crbug/1384419): Create a dedicated domain for preloading.\nFired when a prerender attempt is updated.",
|
18075
|
-
"experimental": true,
|
18076
|
-
"parameters": [
|
18077
|
-
{
|
18078
|
-
"name": "initiatingFrameId",
|
18079
|
-
"description": "The frame id of the frame initiating prerender.",
|
18080
|
-
"$ref": "FrameId"
|
18081
|
-
},
|
18082
|
-
{
|
18083
|
-
"name": "prerenderingUrl",
|
18084
|
-
"type": "string"
|
18085
|
-
},
|
18086
|
-
{
|
18087
|
-
"name": "status",
|
18088
|
-
"$ref": "PreloadingStatus"
|
18089
|
-
}
|
18090
|
-
]
|
18091
|
-
},
|
18092
17950
|
{
|
18093
17951
|
"name": "loadEventFired",
|
18094
17952
|
"parameters": [
|
@@ -22931,6 +22789,82 @@
|
|
22931
22789
|
"type": "string"
|
22932
22790
|
}
|
22933
22791
|
]
|
22792
|
+
},
|
22793
|
+
{
|
22794
|
+
"id": "PrerenderFinalStatus",
|
22795
|
+
"description": "List of FinalStatus reasons for Prerender2.",
|
22796
|
+
"type": "string",
|
22797
|
+
"enum": [
|
22798
|
+
"Activated",
|
22799
|
+
"Destroyed",
|
22800
|
+
"LowEndDevice",
|
22801
|
+
"InvalidSchemeRedirect",
|
22802
|
+
"InvalidSchemeNavigation",
|
22803
|
+
"InProgressNavigation",
|
22804
|
+
"NavigationRequestBlockedByCsp",
|
22805
|
+
"MainFrameNavigation",
|
22806
|
+
"MojoBinderPolicy",
|
22807
|
+
"RendererProcessCrashed",
|
22808
|
+
"RendererProcessKilled",
|
22809
|
+
"Download",
|
22810
|
+
"TriggerDestroyed",
|
22811
|
+
"NavigationNotCommitted",
|
22812
|
+
"NavigationBadHttpStatus",
|
22813
|
+
"ClientCertRequested",
|
22814
|
+
"NavigationRequestNetworkError",
|
22815
|
+
"MaxNumOfRunningPrerendersExceeded",
|
22816
|
+
"CancelAllHostsForTesting",
|
22817
|
+
"DidFailLoad",
|
22818
|
+
"Stop",
|
22819
|
+
"SslCertificateError",
|
22820
|
+
"LoginAuthRequested",
|
22821
|
+
"UaChangeRequiresReload",
|
22822
|
+
"BlockedByClient",
|
22823
|
+
"AudioOutputDeviceRequested",
|
22824
|
+
"MixedContent",
|
22825
|
+
"TriggerBackgrounded",
|
22826
|
+
"EmbedderTriggeredAndCrossOriginRedirected",
|
22827
|
+
"MemoryLimitExceeded",
|
22828
|
+
"FailToGetMemoryUsage",
|
22829
|
+
"DataSaverEnabled",
|
22830
|
+
"HasEffectiveUrl",
|
22831
|
+
"ActivatedBeforeStarted",
|
22832
|
+
"InactivePageRestriction",
|
22833
|
+
"StartFailed",
|
22834
|
+
"TimeoutBackgrounded",
|
22835
|
+
"CrossSiteRedirect",
|
22836
|
+
"CrossSiteNavigation",
|
22837
|
+
"SameSiteCrossOriginRedirect",
|
22838
|
+
"SameSiteCrossOriginNavigation",
|
22839
|
+
"SameSiteCrossOriginRedirectNotOptIn",
|
22840
|
+
"SameSiteCrossOriginNavigationNotOptIn",
|
22841
|
+
"ActivationNavigationParameterMismatch",
|
22842
|
+
"ActivatedInBackground",
|
22843
|
+
"EmbedderHostDisallowed",
|
22844
|
+
"ActivationNavigationDestroyedBeforeSuccess",
|
22845
|
+
"TabClosedByUserGesture",
|
22846
|
+
"TabClosedWithoutUserGesture",
|
22847
|
+
"PrimaryMainFrameRendererProcessCrashed",
|
22848
|
+
"PrimaryMainFrameRendererProcessKilled",
|
22849
|
+
"ActivationFramePolicyNotCompatible",
|
22850
|
+
"PreloadingDisabled",
|
22851
|
+
"BatterySaverEnabled",
|
22852
|
+
"ActivatedDuringMainFrameNavigation",
|
22853
|
+
"PreloadingUnsupportedByWebContents"
|
22854
|
+
]
|
22855
|
+
},
|
22856
|
+
{
|
22857
|
+
"id": "PreloadingStatus",
|
22858
|
+
"description": "Preloading status values, see also PreloadingTriggeringOutcome. This\nstatus is shared by prefetchStatusUpdated and prerenderStatusUpdated.",
|
22859
|
+
"type": "string",
|
22860
|
+
"enum": [
|
22861
|
+
"Pending",
|
22862
|
+
"Running",
|
22863
|
+
"Ready",
|
22864
|
+
"Success",
|
22865
|
+
"Failure",
|
22866
|
+
"NotSupported"
|
22867
|
+
]
|
22934
22868
|
}
|
22935
22869
|
],
|
22936
22870
|
"commands": [
|
@@ -22960,6 +22894,69 @@
|
|
22960
22894
|
"$ref": "RuleSetId"
|
22961
22895
|
}
|
22962
22896
|
]
|
22897
|
+
},
|
22898
|
+
{
|
22899
|
+
"name": "prerenderAttemptCompleted",
|
22900
|
+
"description": "Fired when a prerender attempt is completed.",
|
22901
|
+
"parameters": [
|
22902
|
+
{
|
22903
|
+
"name": "initiatingFrameId",
|
22904
|
+
"description": "The frame id of the frame initiating prerendering.",
|
22905
|
+
"$ref": "Page.FrameId"
|
22906
|
+
},
|
22907
|
+
{
|
22908
|
+
"name": "prerenderingUrl",
|
22909
|
+
"type": "string"
|
22910
|
+
},
|
22911
|
+
{
|
22912
|
+
"name": "finalStatus",
|
22913
|
+
"$ref": "PrerenderFinalStatus"
|
22914
|
+
},
|
22915
|
+
{
|
22916
|
+
"name": "disallowedApiMethod",
|
22917
|
+
"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",
|
22918
|
+
"optional": true,
|
22919
|
+
"type": "string"
|
22920
|
+
}
|
22921
|
+
]
|
22922
|
+
},
|
22923
|
+
{
|
22924
|
+
"name": "prefetchStatusUpdated",
|
22925
|
+
"description": "Fired when a prefetch attempt is updated.",
|
22926
|
+
"parameters": [
|
22927
|
+
{
|
22928
|
+
"name": "initiatingFrameId",
|
22929
|
+
"description": "The frame id of the frame initiating prefetch.",
|
22930
|
+
"$ref": "Page.FrameId"
|
22931
|
+
},
|
22932
|
+
{
|
22933
|
+
"name": "prefetchUrl",
|
22934
|
+
"type": "string"
|
22935
|
+
},
|
22936
|
+
{
|
22937
|
+
"name": "status",
|
22938
|
+
"$ref": "PreloadingStatus"
|
22939
|
+
}
|
22940
|
+
]
|
22941
|
+
},
|
22942
|
+
{
|
22943
|
+
"name": "prerenderStatusUpdated",
|
22944
|
+
"description": "Fired when a prerender attempt is updated.",
|
22945
|
+
"parameters": [
|
22946
|
+
{
|
22947
|
+
"name": "initiatingFrameId",
|
22948
|
+
"description": "The frame id of the frame initiating prerender.",
|
22949
|
+
"$ref": "Page.FrameId"
|
22950
|
+
},
|
22951
|
+
{
|
22952
|
+
"name": "prerenderingUrl",
|
22953
|
+
"type": "string"
|
22954
|
+
},
|
22955
|
+
{
|
22956
|
+
"name": "status",
|
22957
|
+
"$ref": "PreloadingStatus"
|
22958
|
+
}
|
22959
|
+
]
|
22963
22960
|
}
|
22964
22961
|
]
|
22965
22962
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -8482,109 +8482,6 @@ domain Page
|
|
8482
8482
|
# Tree structure of reasons why the page could not be cached for each frame.
|
8483
8483
|
optional BackForwardCacheNotRestoredExplanationTree notRestoredExplanationsTree
|
8484
8484
|
|
8485
|
-
# List of FinalStatus reasons for Prerender2.
|
8486
|
-
type PrerenderFinalStatus extends string
|
8487
|
-
enum
|
8488
|
-
Activated
|
8489
|
-
Destroyed
|
8490
|
-
LowEndDevice
|
8491
|
-
InvalidSchemeRedirect
|
8492
|
-
InvalidSchemeNavigation
|
8493
|
-
InProgressNavigation
|
8494
|
-
NavigationRequestBlockedByCsp
|
8495
|
-
MainFrameNavigation
|
8496
|
-
MojoBinderPolicy
|
8497
|
-
RendererProcessCrashed
|
8498
|
-
RendererProcessKilled
|
8499
|
-
Download
|
8500
|
-
TriggerDestroyed
|
8501
|
-
NavigationNotCommitted
|
8502
|
-
NavigationBadHttpStatus
|
8503
|
-
ClientCertRequested
|
8504
|
-
NavigationRequestNetworkError
|
8505
|
-
MaxNumOfRunningPrerendersExceeded
|
8506
|
-
CancelAllHostsForTesting
|
8507
|
-
DidFailLoad
|
8508
|
-
Stop
|
8509
|
-
SslCertificateError
|
8510
|
-
LoginAuthRequested
|
8511
|
-
UaChangeRequiresReload
|
8512
|
-
BlockedByClient
|
8513
|
-
AudioOutputDeviceRequested
|
8514
|
-
MixedContent
|
8515
|
-
TriggerBackgrounded
|
8516
|
-
EmbedderTriggeredAndCrossOriginRedirected
|
8517
|
-
MemoryLimitExceeded
|
8518
|
-
# Prerenders can be cancelled when Chrome uses excessive memory. This is
|
8519
|
-
# recorded when it fails to get the memory usage.
|
8520
|
-
FailToGetMemoryUsage
|
8521
|
-
DataSaverEnabled
|
8522
|
-
HasEffectiveUrl
|
8523
|
-
ActivatedBeforeStarted
|
8524
|
-
InactivePageRestriction
|
8525
|
-
StartFailed
|
8526
|
-
TimeoutBackgrounded
|
8527
|
-
CrossSiteRedirect
|
8528
|
-
CrossSiteNavigation
|
8529
|
-
SameSiteCrossOriginRedirect
|
8530
|
-
SameSiteCrossOriginNavigation
|
8531
|
-
SameSiteCrossOriginRedirectNotOptIn
|
8532
|
-
SameSiteCrossOriginNavigationNotOptIn
|
8533
|
-
ActivationNavigationParameterMismatch
|
8534
|
-
ActivatedInBackground
|
8535
|
-
EmbedderHostDisallowed
|
8536
|
-
ActivationNavigationDestroyedBeforeSuccess
|
8537
|
-
TabClosedByUserGesture
|
8538
|
-
TabClosedWithoutUserGesture
|
8539
|
-
PrimaryMainFrameRendererProcessCrashed
|
8540
|
-
PrimaryMainFrameRendererProcessKilled
|
8541
|
-
ActivationFramePolicyNotCompatible
|
8542
|
-
PreloadingDisabled
|
8543
|
-
BatterySaverEnabled
|
8544
|
-
ActivatedDuringMainFrameNavigation
|
8545
|
-
PreloadingUnsupportedByWebContents
|
8546
|
-
|
8547
|
-
# Fired when a prerender attempt is completed.
|
8548
|
-
experimental event prerenderAttemptCompleted
|
8549
|
-
parameters
|
8550
|
-
# The frame id of the frame initiating prerendering.
|
8551
|
-
FrameId initiatingFrameId
|
8552
|
-
string prerenderingUrl
|
8553
|
-
PrerenderFinalStatus finalStatus
|
8554
|
-
# This is used to give users more information about the name of the API call
|
8555
|
-
# that is incompatible with prerender and has caused the cancellation of the attempt
|
8556
|
-
optional string disallowedApiMethod
|
8557
|
-
|
8558
|
-
# Preloading status values, see also PreloadingTriggeringOutcome. This
|
8559
|
-
# status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
|
8560
|
-
type PreloadingStatus extends string
|
8561
|
-
enum
|
8562
|
-
Pending
|
8563
|
-
Running
|
8564
|
-
Ready
|
8565
|
-
Success
|
8566
|
-
Failure
|
8567
|
-
# PreloadingTriggeringOutcome which not used by prefetch nor prerender.
|
8568
|
-
NotSupported
|
8569
|
-
|
8570
|
-
# TODO(crbug/1384419): Create a dedicated domain for preloading.
|
8571
|
-
# Fired when a prefetch attempt is updated.
|
8572
|
-
experimental event prefetchStatusUpdated
|
8573
|
-
parameters
|
8574
|
-
# The frame id of the frame initiating prefetch.
|
8575
|
-
FrameId initiatingFrameId
|
8576
|
-
string prefetchUrl
|
8577
|
-
PreloadingStatus status
|
8578
|
-
|
8579
|
-
# TODO(crbug/1384419): Create a dedicated domain for preloading.
|
8580
|
-
# Fired when a prerender attempt is updated.
|
8581
|
-
experimental event prerenderStatusUpdated
|
8582
|
-
parameters
|
8583
|
-
# The frame id of the frame initiating prerender.
|
8584
|
-
FrameId initiatingFrameId
|
8585
|
-
string prerenderingUrl
|
8586
|
-
PreloadingStatus status
|
8587
|
-
|
8588
8485
|
event loadEventFired
|
8589
8486
|
parameters
|
8590
8487
|
Network.MonotonicTime timestamp
|
@@ -10858,6 +10755,107 @@ experimental domain Preload
|
|
10858
10755
|
parameters
|
10859
10756
|
RuleSetId id
|
10860
10757
|
|
10758
|
+
# List of FinalStatus reasons for Prerender2.
|
10759
|
+
type PrerenderFinalStatus extends string
|
10760
|
+
enum
|
10761
|
+
Activated
|
10762
|
+
Destroyed
|
10763
|
+
LowEndDevice
|
10764
|
+
InvalidSchemeRedirect
|
10765
|
+
InvalidSchemeNavigation
|
10766
|
+
InProgressNavigation
|
10767
|
+
NavigationRequestBlockedByCsp
|
10768
|
+
MainFrameNavigation
|
10769
|
+
MojoBinderPolicy
|
10770
|
+
RendererProcessCrashed
|
10771
|
+
RendererProcessKilled
|
10772
|
+
Download
|
10773
|
+
TriggerDestroyed
|
10774
|
+
NavigationNotCommitted
|
10775
|
+
NavigationBadHttpStatus
|
10776
|
+
ClientCertRequested
|
10777
|
+
NavigationRequestNetworkError
|
10778
|
+
MaxNumOfRunningPrerendersExceeded
|
10779
|
+
CancelAllHostsForTesting
|
10780
|
+
DidFailLoad
|
10781
|
+
Stop
|
10782
|
+
SslCertificateError
|
10783
|
+
LoginAuthRequested
|
10784
|
+
UaChangeRequiresReload
|
10785
|
+
BlockedByClient
|
10786
|
+
AudioOutputDeviceRequested
|
10787
|
+
MixedContent
|
10788
|
+
TriggerBackgrounded
|
10789
|
+
EmbedderTriggeredAndCrossOriginRedirected
|
10790
|
+
MemoryLimitExceeded
|
10791
|
+
# Prerenders can be cancelled when Chrome uses excessive memory. This is
|
10792
|
+
# recorded when it fails to get the memory usage.
|
10793
|
+
FailToGetMemoryUsage
|
10794
|
+
DataSaverEnabled
|
10795
|
+
HasEffectiveUrl
|
10796
|
+
ActivatedBeforeStarted
|
10797
|
+
InactivePageRestriction
|
10798
|
+
StartFailed
|
10799
|
+
TimeoutBackgrounded
|
10800
|
+
CrossSiteRedirect
|
10801
|
+
CrossSiteNavigation
|
10802
|
+
SameSiteCrossOriginRedirect
|
10803
|
+
SameSiteCrossOriginNavigation
|
10804
|
+
SameSiteCrossOriginRedirectNotOptIn
|
10805
|
+
SameSiteCrossOriginNavigationNotOptIn
|
10806
|
+
ActivationNavigationParameterMismatch
|
10807
|
+
ActivatedInBackground
|
10808
|
+
EmbedderHostDisallowed
|
10809
|
+
ActivationNavigationDestroyedBeforeSuccess
|
10810
|
+
TabClosedByUserGesture
|
10811
|
+
TabClosedWithoutUserGesture
|
10812
|
+
PrimaryMainFrameRendererProcessCrashed
|
10813
|
+
PrimaryMainFrameRendererProcessKilled
|
10814
|
+
ActivationFramePolicyNotCompatible
|
10815
|
+
PreloadingDisabled
|
10816
|
+
BatterySaverEnabled
|
10817
|
+
ActivatedDuringMainFrameNavigation
|
10818
|
+
PreloadingUnsupportedByWebContents
|
10819
|
+
|
10820
|
+
# Fired when a prerender attempt is completed.
|
10821
|
+
event prerenderAttemptCompleted
|
10822
|
+
parameters
|
10823
|
+
# The frame id of the frame initiating prerendering.
|
10824
|
+
Page.FrameId initiatingFrameId
|
10825
|
+
string prerenderingUrl
|
10826
|
+
PrerenderFinalStatus finalStatus
|
10827
|
+
# This is used to give users more information about the name of the API call
|
10828
|
+
# that is incompatible with prerender and has caused the cancellation of the attempt
|
10829
|
+
optional string disallowedApiMethod
|
10830
|
+
|
10831
|
+
# Preloading status values, see also PreloadingTriggeringOutcome. This
|
10832
|
+
# status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
|
10833
|
+
type PreloadingStatus extends string
|
10834
|
+
enum
|
10835
|
+
Pending
|
10836
|
+
Running
|
10837
|
+
Ready
|
10838
|
+
Success
|
10839
|
+
Failure
|
10840
|
+
# PreloadingTriggeringOutcome which not used by prefetch nor prerender.
|
10841
|
+
NotSupported
|
10842
|
+
|
10843
|
+
# Fired when a prefetch attempt is updated.
|
10844
|
+
event prefetchStatusUpdated
|
10845
|
+
parameters
|
10846
|
+
# The frame id of the frame initiating prefetch.
|
10847
|
+
Page.FrameId initiatingFrameId
|
10848
|
+
string prefetchUrl
|
10849
|
+
PreloadingStatus status
|
10850
|
+
|
10851
|
+
# Fired when a prerender attempt is updated.
|
10852
|
+
event prerenderStatusUpdated
|
10853
|
+
parameters
|
10854
|
+
# The frame id of the frame initiating prerender.
|
10855
|
+
Page.FrameId initiatingFrameId
|
10856
|
+
string prerenderingUrl
|
10857
|
+
PreloadingStatus status
|
10858
|
+
|
10861
10859
|
# This domain allows interacting with the FedCM dialog.
|
10862
10860
|
experimental domain FedCm
|
10863
10861
|
event dialogShown
|
@@ -482,20 +482,6 @@ export namespace ProtocolMapping {
|
|
482
482
|
* when bfcache navigation fails.
|
483
483
|
*/
|
484
484
|
'Page.backForwardCacheNotUsed': [Protocol.Page.BackForwardCacheNotUsedEvent];
|
485
|
-
/**
|
486
|
-
* Fired when a prerender attempt is completed.
|
487
|
-
*/
|
488
|
-
'Page.prerenderAttemptCompleted': [Protocol.Page.PrerenderAttemptCompletedEvent];
|
489
|
-
/**
|
490
|
-
* TODO(crbug/1384419): Create a dedicated domain for preloading.
|
491
|
-
* Fired when a prefetch attempt is updated.
|
492
|
-
*/
|
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];
|
499
485
|
'Page.loadEventFired': [Protocol.Page.LoadEventFiredEvent];
|
500
486
|
/**
|
501
487
|
* Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
|
@@ -724,6 +710,18 @@ export namespace ProtocolMapping {
|
|
724
710
|
*/
|
725
711
|
'Preload.ruleSetUpdated': [Protocol.Preload.RuleSetUpdatedEvent];
|
726
712
|
'Preload.ruleSetRemoved': [Protocol.Preload.RuleSetRemovedEvent];
|
713
|
+
/**
|
714
|
+
* Fired when a prerender attempt is completed.
|
715
|
+
*/
|
716
|
+
'Preload.prerenderAttemptCompleted': [Protocol.Preload.PrerenderAttemptCompletedEvent];
|
717
|
+
/**
|
718
|
+
* Fired when a prefetch attempt is updated.
|
719
|
+
*/
|
720
|
+
'Preload.prefetchStatusUpdated': [Protocol.Preload.PrefetchStatusUpdatedEvent];
|
721
|
+
/**
|
722
|
+
* Fired when a prerender attempt is updated.
|
723
|
+
*/
|
724
|
+
'Preload.prerenderStatusUpdated': [Protocol.Preload.PrerenderStatusUpdatedEvent];
|
727
725
|
'FedCm.dialogShown': [];
|
728
726
|
}
|
729
727
|
|
@@ -3070,23 +3070,6 @@ export namespace ProtocolProxyApi {
|
|
3070
3070
|
*/
|
3071
3071
|
on(event: 'backForwardCacheNotUsed', listener: (params: Protocol.Page.BackForwardCacheNotUsedEvent) => void): void;
|
3072
3072
|
|
3073
|
-
/**
|
3074
|
-
* Fired when a prerender attempt is completed.
|
3075
|
-
*/
|
3076
|
-
on(event: 'prerenderAttemptCompleted', listener: (params: Protocol.Page.PrerenderAttemptCompletedEvent) => void): void;
|
3077
|
-
|
3078
|
-
/**
|
3079
|
-
* TODO(crbug/1384419): Create a dedicated domain for preloading.
|
3080
|
-
* Fired when a prefetch attempt is updated.
|
3081
|
-
*/
|
3082
|
-
on(event: 'prefetchStatusUpdated', listener: (params: Protocol.Page.PrefetchStatusUpdatedEvent) => void): void;
|
3083
|
-
|
3084
|
-
/**
|
3085
|
-
* TODO(crbug/1384419): Create a dedicated domain for preloading.
|
3086
|
-
* Fired when a prerender attempt is updated.
|
3087
|
-
*/
|
3088
|
-
on(event: 'prerenderStatusUpdated', listener: (params: Protocol.Page.PrerenderStatusUpdatedEvent) => void): void;
|
3089
|
-
|
3090
3073
|
on(event: 'loadEventFired', listener: (params: Protocol.Page.LoadEventFiredEvent) => void): void;
|
3091
3074
|
|
3092
3075
|
/**
|
@@ -3964,6 +3947,21 @@ export namespace ProtocolProxyApi {
|
|
3964
3947
|
|
3965
3948
|
on(event: 'ruleSetRemoved', listener: (params: Protocol.Preload.RuleSetRemovedEvent) => void): void;
|
3966
3949
|
|
3950
|
+
/**
|
3951
|
+
* Fired when a prerender attempt is completed.
|
3952
|
+
*/
|
3953
|
+
on(event: 'prerenderAttemptCompleted', listener: (params: Protocol.Preload.PrerenderAttemptCompletedEvent) => void): void;
|
3954
|
+
|
3955
|
+
/**
|
3956
|
+
* Fired when a prefetch attempt is updated.
|
3957
|
+
*/
|
3958
|
+
on(event: 'prefetchStatusUpdated', listener: (params: Protocol.Preload.PrefetchStatusUpdatedEvent) => void): void;
|
3959
|
+
|
3960
|
+
/**
|
3961
|
+
* Fired when a prerender attempt is updated.
|
3962
|
+
*/
|
3963
|
+
on(event: 'prerenderStatusUpdated', listener: (params: Protocol.Preload.PrerenderStatusUpdatedEvent) => void): void;
|
3964
|
+
|
3967
3965
|
}
|
3968
3966
|
|
3969
3967
|
export interface FedCmApi {
|
package/types/protocol.d.ts
CHANGED
@@ -12901,17 +12901,6 @@ export namespace Protocol {
|
|
12901
12901
|
children: BackForwardCacheNotRestoredExplanationTree[];
|
12902
12902
|
}
|
12903
12903
|
|
12904
|
-
/**
|
12905
|
-
* List of FinalStatus reasons for Prerender2.
|
12906
|
-
*/
|
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
|
-
|
12909
|
-
/**
|
12910
|
-
* Preloading status values, see also PreloadingTriggeringOutcome. This
|
12911
|
-
* status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
|
12912
|
-
*/
|
12913
|
-
export type PreloadingStatus = ('Pending' | 'Running' | 'Ready' | 'Success' | 'Failure' | 'NotSupported');
|
12914
|
-
|
12915
12904
|
export interface AddScriptToEvaluateOnLoadRequest {
|
12916
12905
|
scriptSource: string;
|
12917
12906
|
}
|
@@ -13930,49 +13919,6 @@ export namespace Protocol {
|
|
13930
13919
|
notRestoredExplanationsTree?: BackForwardCacheNotRestoredExplanationTree;
|
13931
13920
|
}
|
13932
13921
|
|
13933
|
-
/**
|
13934
|
-
* Fired when a prerender attempt is completed.
|
13935
|
-
*/
|
13936
|
-
export interface PrerenderAttemptCompletedEvent {
|
13937
|
-
/**
|
13938
|
-
* The frame id of the frame initiating prerendering.
|
13939
|
-
*/
|
13940
|
-
initiatingFrameId: FrameId;
|
13941
|
-
prerenderingUrl: string;
|
13942
|
-
finalStatus: PrerenderFinalStatus;
|
13943
|
-
/**
|
13944
|
-
* This is used to give users more information about the name of the API call
|
13945
|
-
* that is incompatible with prerender and has caused the cancellation of the attempt
|
13946
|
-
*/
|
13947
|
-
disallowedApiMethod?: string;
|
13948
|
-
}
|
13949
|
-
|
13950
|
-
/**
|
13951
|
-
* TODO(crbug/1384419): Create a dedicated domain for preloading.
|
13952
|
-
* Fired when a prefetch attempt is updated.
|
13953
|
-
*/
|
13954
|
-
export interface PrefetchStatusUpdatedEvent {
|
13955
|
-
/**
|
13956
|
-
* The frame id of the frame initiating prefetch.
|
13957
|
-
*/
|
13958
|
-
initiatingFrameId: FrameId;
|
13959
|
-
prefetchUrl: string;
|
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;
|
13974
|
-
}
|
13975
|
-
|
13976
13922
|
export interface LoadEventFiredEvent {
|
13977
13923
|
timestamp: Network.MonotonicTime;
|
13978
13924
|
}
|
@@ -16938,6 +16884,17 @@ export namespace Protocol {
|
|
16938
16884
|
sourceText: string;
|
16939
16885
|
}
|
16940
16886
|
|
16887
|
+
/**
|
16888
|
+
* List of FinalStatus reasons for Prerender2.
|
16889
|
+
*/
|
16890
|
+
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');
|
16891
|
+
|
16892
|
+
/**
|
16893
|
+
* Preloading status values, see also PreloadingTriggeringOutcome. This
|
16894
|
+
* status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
|
16895
|
+
*/
|
16896
|
+
export type PreloadingStatus = ('Pending' | 'Running' | 'Ready' | 'Success' | 'Failure' | 'NotSupported');
|
16897
|
+
|
16941
16898
|
/**
|
16942
16899
|
* Upsert. Currently, it is only emitted when a rule set added.
|
16943
16900
|
*/
|
@@ -16948,6 +16905,47 @@ export namespace Protocol {
|
|
16948
16905
|
export interface RuleSetRemovedEvent {
|
16949
16906
|
id: RuleSetId;
|
16950
16907
|
}
|
16908
|
+
|
16909
|
+
/**
|
16910
|
+
* Fired when a prerender attempt is completed.
|
16911
|
+
*/
|
16912
|
+
export interface PrerenderAttemptCompletedEvent {
|
16913
|
+
/**
|
16914
|
+
* The frame id of the frame initiating prerendering.
|
16915
|
+
*/
|
16916
|
+
initiatingFrameId: Page.FrameId;
|
16917
|
+
prerenderingUrl: string;
|
16918
|
+
finalStatus: PrerenderFinalStatus;
|
16919
|
+
/**
|
16920
|
+
* This is used to give users more information about the name of the API call
|
16921
|
+
* that is incompatible with prerender and has caused the cancellation of the attempt
|
16922
|
+
*/
|
16923
|
+
disallowedApiMethod?: string;
|
16924
|
+
}
|
16925
|
+
|
16926
|
+
/**
|
16927
|
+
* Fired when a prefetch attempt is updated.
|
16928
|
+
*/
|
16929
|
+
export interface PrefetchStatusUpdatedEvent {
|
16930
|
+
/**
|
16931
|
+
* The frame id of the frame initiating prefetch.
|
16932
|
+
*/
|
16933
|
+
initiatingFrameId: Page.FrameId;
|
16934
|
+
prefetchUrl: string;
|
16935
|
+
status: PreloadingStatus;
|
16936
|
+
}
|
16937
|
+
|
16938
|
+
/**
|
16939
|
+
* Fired when a prerender attempt is updated.
|
16940
|
+
*/
|
16941
|
+
export interface PrerenderStatusUpdatedEvent {
|
16942
|
+
/**
|
16943
|
+
* The frame id of the frame initiating prerender.
|
16944
|
+
*/
|
16945
|
+
initiatingFrameId: Page.FrameId;
|
16946
|
+
prerenderingUrl: string;
|
16947
|
+
status: PreloadingStatus;
|
16948
|
+
}
|
16951
16949
|
}
|
16952
16950
|
|
16953
16951
|
/**
|