@@ -59,6 +59,7 @@ describeWithMockConnection('PreloadingModel', () => {
5959 action : Protocol . Preload . SpeculationAction . Prefetch ,
6060 url : 'https://example.com/subresource.js' ,
6161 } ,
62+ pipelineId : 'pipelineId:1' ,
6263 status : SDK . PreloadingModel . PreloadingStatus . RUNNING ,
6364 requestId : 'requestId:1' ,
6465 } ) ;
@@ -92,6 +93,7 @@ describeWithMockConnection('PreloadingModel', () => {
9293 action : Protocol . Preload . SpeculationAction . Prefetch ,
9394 url : 'https://example.com/subresource.js' as Platform . DevToolsPath . UrlString ,
9495 } ,
96+ pipelineId : 'pipelineId:1' as Protocol . Preload . PreloadPipelineId ,
9597 status : SDK . PreloadingModel . PreloadingStatus . RUNNING ,
9698 prefetchStatus : null ,
9799 requestId : 'requestId:1' as Protocol . Network . RequestId ,
@@ -146,6 +148,7 @@ describeWithMockConnection('PreloadingModel', () => {
146148 action : Protocol . Preload . SpeculationAction . Prerender ,
147149 url : 'https://example.com/page.html' ,
148150 } ,
151+ pipelineId : 'pipelineId:2' ,
149152 status : SDK . PreloadingModel . PreloadingStatus . RUNNING ,
150153 } ) ;
151154
@@ -196,6 +199,7 @@ describeWithMockConnection('PreloadingModel', () => {
196199 action : Protocol . Preload . SpeculationAction . Prefetch ,
197200 url : 'https://example.com/subresource.js' as Platform . DevToolsPath . UrlString ,
198201 } ,
202+ pipelineId : 'pipelineId:1' as Protocol . Preload . PreloadPipelineId ,
199203 status : SDK . PreloadingModel . PreloadingStatus . RUNNING ,
200204 prefetchStatus : null ,
201205 requestId : 'requestId:1' as Protocol . Network . RequestId ,
@@ -212,6 +216,7 @@ describeWithMockConnection('PreloadingModel', () => {
212216 action : Protocol . Preload . SpeculationAction . Prerender ,
213217 url : 'https://example.com/page.html' as Platform . DevToolsPath . UrlString ,
214218 } ,
219+ pipelineId : 'pipelineId:2' as Protocol . Preload . PreloadPipelineId ,
215220 status : SDK . PreloadingModel . PreloadingStatus . RUNNING ,
216221 prerenderStatus : null ,
217222 disallowedMojoInterface : null ,
@@ -245,6 +250,7 @@ describeWithMockConnection('PreloadingModel', () => {
245250 action : Protocol . Preload . SpeculationAction . Prefetch ,
246251 url : 'https://example.com/subresource.js' ,
247252 } ,
253+ pipelineId : 'pipelineId:1' ,
248254 status : SDK . PreloadingModel . PreloadingStatus . FAILURE ,
249255 prefetchStatus : Protocol . Preload . PrefetchStatus . PrefetchEvictedAfterCandidateRemoved ,
250256 requestId : 'requestId:1' ,
@@ -279,6 +285,7 @@ describeWithMockConnection('PreloadingModel', () => {
279285 action : Protocol . Preload . SpeculationAction . Prerender ,
280286 url : 'https://example.com/page.html' as Platform . DevToolsPath . UrlString ,
281287 } ,
288+ pipelineId : 'pipelineId:2' as Protocol . Preload . PreloadPipelineId ,
282289 status : SDK . PreloadingModel . PreloadingStatus . RUNNING ,
283290 prerenderStatus : null ,
284291 disallowedMojoInterface : null ,
@@ -339,6 +346,7 @@ describeWithMockConnection('PreloadingModel', () => {
339346 action : Protocol . Preload . SpeculationAction . Prefetch ,
340347 url : 'https://example.com/subresource.js' as Platform . DevToolsPath . UrlString ,
341348 } ,
349+ pipelineId : null ,
342350 status : SDK . PreloadingModel . PreloadingStatus . NOT_TRIGGERED ,
343351 prefetchStatus : null ,
344352 // Invalid request id
@@ -396,6 +404,7 @@ describeWithMockConnection('PreloadingModel', () => {
396404 action : Protocol . Preload . SpeculationAction . Prefetch ,
397405 url : 'https://example.com/subresource1.js' ,
398406 } ,
407+ pipelineId : 'pipelineId:1' ,
399408 status : SDK . PreloadingModel . PreloadingStatus . RUNNING ,
400409 } ) ;
401410
@@ -438,6 +447,7 @@ describeWithMockConnection('PreloadingModel', () => {
438447 action : Protocol . Preload . SpeculationAction . Prefetch ,
439448 url : 'https://example.com/subresource2.js' ,
440449 } ,
450+ pipelineId : 'pipelineId:1' ,
441451 status : SDK . PreloadingModel . PreloadingStatus . RUNNING ,
442452 requestId : 'requestId:1' ,
443453 } ) ;
@@ -471,6 +481,7 @@ describeWithMockConnection('PreloadingModel', () => {
471481 action : Protocol . Preload . SpeculationAction . Prefetch ,
472482 url : 'https://example.com/subresource2.js' as Platform . DevToolsPath . UrlString ,
473483 } ,
484+ pipelineId : 'pipelineId:1' as Protocol . Preload . PreloadPipelineId ,
474485 status : SDK . PreloadingModel . PreloadingStatus . RUNNING ,
475486 prefetchStatus : null ,
476487 requestId : 'requestId:1' as Protocol . Network . RequestId ,
@@ -554,6 +565,7 @@ describeWithMockConnection('PreloadingModel', () => {
554565 action : Protocol . Preload . SpeculationAction . Prefetch ,
555566 url : 'https://example.com/subresource12.js' ,
556567 } ,
568+ pipelineId : 'pipelineId:1' ,
557569 status : SDK . PreloadingModel . PreloadingStatus . RUNNING ,
558570 requestId : 'requestId:1' ,
559571 } ) ;
@@ -563,6 +575,7 @@ describeWithMockConnection('PreloadingModel', () => {
563575 action : Protocol . Preload . SpeculationAction . Prefetch ,
564576 url : 'https://example.com/subresource2.js' ,
565577 } ,
578+ pipelineId : 'pipelineId:2' ,
566579 status : SDK . PreloadingModel . PreloadingStatus . RUNNING ,
567580 requestId : 'requestId:2' ,
568581 } ) ;
@@ -577,6 +590,7 @@ describeWithMockConnection('PreloadingModel', () => {
577590 action : Protocol . Preload . SpeculationAction . Prefetch ,
578591 url : 'https://example.com/subresource12.js' as Platform . DevToolsPath . UrlString ,
579592 } ,
593+ pipelineId : 'pipelineId:1' as Protocol . Preload . PreloadPipelineId ,
580594 status : SDK . PreloadingModel . PreloadingStatus . RUNNING ,
581595 prefetchStatus : null ,
582596 requestId : 'requestId:1' as Protocol . Network . RequestId ,
@@ -593,6 +607,7 @@ describeWithMockConnection('PreloadingModel', () => {
593607 action : Protocol . Preload . SpeculationAction . Prefetch ,
594608 url : 'https://example.com/subresource2.js' as Platform . DevToolsPath . UrlString ,
595609 } ,
610+ pipelineId : 'pipelineId:2' as Protocol . Preload . PreloadPipelineId ,
596611 status : SDK . PreloadingModel . PreloadingStatus . RUNNING ,
597612 prefetchStatus : null ,
598613 requestId : 'requestId:2' as Protocol . Network . RequestId ,
@@ -612,6 +627,7 @@ describeWithMockConnection('PreloadingModel', () => {
612627 action : Protocol . Preload . SpeculationAction . Prefetch ,
613628 url : 'https://example.com/subresource12.js' as Platform . DevToolsPath . UrlString ,
614629 } ,
630+ pipelineId : 'pipelineId:1' as Protocol . Preload . PreloadPipelineId ,
615631 status : SDK . PreloadingModel . PreloadingStatus . RUNNING ,
616632 prefetchStatus : null ,
617633 requestId : 'requestId:1' as Protocol . Network . RequestId ,
@@ -631,6 +647,7 @@ describeWithMockConnection('PreloadingModel', () => {
631647 action : Protocol . Preload . SpeculationAction . Prefetch ,
632648 url : 'https://example.com/subresource12.js' as Platform . DevToolsPath . UrlString ,
633649 } ,
650+ pipelineId : 'pipelineId:1' as Protocol . Preload . PreloadPipelineId ,
634651 status : SDK . PreloadingModel . PreloadingStatus . RUNNING ,
635652 prefetchStatus : null ,
636653 requestId : 'requestId:1' as Protocol . Network . RequestId ,
@@ -647,6 +664,7 @@ describeWithMockConnection('PreloadingModel', () => {
647664 action : Protocol . Preload . SpeculationAction . Prefetch ,
648665 url : 'https://example.com/subresource2.js' as Platform . DevToolsPath . UrlString ,
649666 } ,
667+ pipelineId : 'pipelineId:2' as Protocol . Preload . PreloadPipelineId ,
650668 status : SDK . PreloadingModel . PreloadingStatus . RUNNING ,
651669 prefetchStatus : null ,
652670 requestId : 'requestId:2' as Protocol . Network . RequestId ,
0 commit comments