devtools-protocol 0.0.1391447 → 0.0.1392070
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 +13 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +11 -0
- package/types/protocol.d.ts +13 -0
@@ -26354,6 +26354,11 @@
|
|
26354
26354
|
}
|
26355
26355
|
]
|
26356
26356
|
},
|
26357
|
+
{
|
26358
|
+
"id": "PreloadPipelineId",
|
26359
|
+
"description": "Chrome manages different types of preloads together using a\nconcept of preloading pipeline. For example, if a site uses a\nSpeculationRules for prerender, Chrome first starts a prefetch and\nthen upgrades it to prerender.\n\nCDP events for them are emitted separately but they share\n`PreloadPipelineId`.",
|
26360
|
+
"type": "string"
|
26361
|
+
},
|
26357
26362
|
{
|
26358
26363
|
"id": "PrerenderFinalStatus",
|
26359
26364
|
"description": "List of FinalStatus reasons for Prerender2.",
|
@@ -26568,6 +26573,10 @@
|
|
26568
26573
|
"name": "key",
|
26569
26574
|
"$ref": "PreloadingAttemptKey"
|
26570
26575
|
},
|
26576
|
+
{
|
26577
|
+
"name": "pipelineId",
|
26578
|
+
"$ref": "PreloadPipelineId"
|
26579
|
+
},
|
26571
26580
|
{
|
26572
26581
|
"name": "initiatingFrameId",
|
26573
26582
|
"description": "The frame id of the frame initiating prefetch.",
|
@@ -26599,6 +26608,10 @@
|
|
26599
26608
|
"name": "key",
|
26600
26609
|
"$ref": "PreloadingAttemptKey"
|
26601
26610
|
},
|
26611
|
+
{
|
26612
|
+
"name": "pipelineId",
|
26613
|
+
"$ref": "PreloadPipelineId"
|
26614
|
+
},
|
26602
26615
|
{
|
26603
26616
|
"name": "status",
|
26604
26617
|
"$ref": "PreloadingStatus"
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -12424,6 +12424,15 @@ experimental domain Preload
|
|
12424
12424
|
array of RuleSetId ruleSetIds
|
12425
12425
|
array of DOM.BackendNodeId nodeIds
|
12426
12426
|
|
12427
|
+
# Chrome manages different types of preloads together using a
|
12428
|
+
# concept of preloading pipeline. For example, if a site uses a
|
12429
|
+
# SpeculationRules for prerender, Chrome first starts a prefetch and
|
12430
|
+
# then upgrades it to prerender.
|
12431
|
+
#
|
12432
|
+
# CDP events for them are emitted separately but they share
|
12433
|
+
# `PreloadPipelineId`.
|
12434
|
+
type PreloadPipelineId extends string
|
12435
|
+
|
12427
12436
|
command enable
|
12428
12437
|
|
12429
12438
|
command disable
|
@@ -12580,6 +12589,7 @@ experimental domain Preload
|
|
12580
12589
|
event prefetchStatusUpdated
|
12581
12590
|
parameters
|
12582
12591
|
PreloadingAttemptKey key
|
12592
|
+
PreloadPipelineId pipelineId
|
12583
12593
|
# The frame id of the frame initiating prefetch.
|
12584
12594
|
Page.FrameId initiatingFrameId
|
12585
12595
|
string prefetchUrl
|
@@ -12598,6 +12608,7 @@ experimental domain Preload
|
|
12598
12608
|
event prerenderStatusUpdated
|
12599
12609
|
parameters
|
12600
12610
|
PreloadingAttemptKey key
|
12611
|
+
PreloadPipelineId pipelineId
|
12601
12612
|
PreloadingStatus status
|
12602
12613
|
optional PrerenderFinalStatus prerenderStatus
|
12603
12614
|
# This is used to give users more information about the name of Mojo interface
|
package/types/protocol.d.ts
CHANGED
@@ -18697,6 +18697,17 @@ export namespace Protocol {
|
|
18697
18697
|
nodeIds: DOM.BackendNodeId[];
|
18698
18698
|
}
|
18699
18699
|
|
18700
|
+
/**
|
18701
|
+
* Chrome manages different types of preloads together using a
|
18702
|
+
* concept of preloading pipeline. For example, if a site uses a
|
18703
|
+
* SpeculationRules for prerender, Chrome first starts a prefetch and
|
18704
|
+
* then upgrades it to prerender.
|
18705
|
+
*
|
18706
|
+
* CDP events for them are emitted separately but they share
|
18707
|
+
* `PreloadPipelineId`.
|
18708
|
+
*/
|
18709
|
+
export type PreloadPipelineId = string;
|
18710
|
+
|
18700
18711
|
/**
|
18701
18712
|
* List of FinalStatus reasons for Prerender2.
|
18702
18713
|
*/
|
@@ -18750,6 +18761,7 @@ export namespace Protocol {
|
|
18750
18761
|
*/
|
18751
18762
|
export interface PrefetchStatusUpdatedEvent {
|
18752
18763
|
key: PreloadingAttemptKey;
|
18764
|
+
pipelineId: PreloadPipelineId;
|
18753
18765
|
/**
|
18754
18766
|
* The frame id of the frame initiating prefetch.
|
18755
18767
|
*/
|
@@ -18765,6 +18777,7 @@ export namespace Protocol {
|
|
18765
18777
|
*/
|
18766
18778
|
export interface PrerenderStatusUpdatedEvent {
|
18767
18779
|
key: PreloadingAttemptKey;
|
18780
|
+
pipelineId: PreloadPipelineId;
|
18768
18781
|
status: PreloadingStatus;
|
18769
18782
|
prerenderStatus?: PrerenderFinalStatus;
|
18770
18783
|
/**
|