Running test: prefetchStatusUpdatedShouldBeEmittedForPrefetchAheadOfPrerender Preload.prefetchStatusUpadted should be emitted for prefetch ahead of prerender [ [0] : { method : Preload.prefetchStatusUpdated params : { initiatingFrameId : key : { action : Prefetch loaderId : url : http://127.0.0.1:8000/inspector-protocol/prerender/resources/empty.html } pipelineId : pipelineIdIndex : 0 prefetchStatus : PrefetchNotFinishedInTime prefetchUrl : http://127.0.0.1:8000/inspector-protocol/prerender/resources/empty.html requestId : status : Running } sessionId : } [1] : { method : Preload.prerenderStatusUpdated params : { key : { action : Prerender loaderId : url : http://127.0.0.1:8000/inspector-protocol/prerender/resources/empty.html } pipelineId : pipelineIdIndex : 0 status : Pending } sessionId : } [2] : { method : Preload.prerenderStatusUpdated params : { key : { action : Prerender loaderId : url : http://127.0.0.1:8000/inspector-protocol/prerender/resources/empty.html } pipelineId : pipelineIdIndex : 0 status : Running } sessionId : } [3] : { method : Preload.prefetchStatusUpdated params : { initiatingFrameId : key : { action : Prefetch loaderId : url : http://127.0.0.1:8000/inspector-protocol/prerender/resources/empty.html } pipelineId : pipelineIdIndex : 0 prefetchStatus : PrefetchResponseUsed prefetchUrl : http://127.0.0.1:8000/inspector-protocol/prerender/resources/empty.html requestId : status : Success } sessionId : } [4] : { method : Preload.prerenderStatusUpdated params : { key : { action : Prerender loaderId : url : http://127.0.0.1:8000/inspector-protocol/prerender/resources/empty.html } pipelineId : pipelineIdIndex : 0 status : Ready } sessionId : } ] [ [0] : { method : Network.requestWillBeSent params : { documentURL : frameId : hasUserGesture : false initiator : { type : other } loaderId : redirectHasExtraInfo : false request : { headers : { Accept-Language : en-us,en;q=0.9 Upgrade-Insecure-Requests : 1 User-Agent : sec-ch-ua : "content_shell";v="999" sec-ch-ua-mobile : ?0 sec-ch-ua-platform : "Unknown" } initialPriority : VeryHigh isSameSite : true method : GET mixedContentType : none referrerPolicy : strict-origin-when-cross-origin url : http://127.0.0.1:8000/inspector-protocol/prerender/resources/simple-prerender.html } requestId : timestamp : type : Document wallTime : } sessionId : } [1] : { method : Network.requestWillBeSent params : { documentURL : frameId : hasUserGesture : false initiator : { type : script url : http://127.0.0.1:8000/inspector-protocol/prerender/resources/simple-prerender.html } loaderId : redirectHasExtraInfo : false request : { headers : { Accept : text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7 Referer : http://127.0.0.1:8000/inspector-protocol/prerender/resources/simple-prerender.html Sec-Purpose : prefetch;prerender Sec-Speculation-Tags : null Upgrade-Insecure-Requests : 1 sec-ch-ua : "content_shell";v="999" sec-ch-ua-mobile : ?0 sec-ch-ua-platform : "Unknown" } initialPriority : VeryLow method : GET referrerPolicy : strict-origin-when-cross-origin url : http://127.0.0.1:8000/inspector-protocol/prerender/resources/empty.html } requestId : timestamp : type : Prefetch wallTime : } sessionId : } ] Running test: pipelineIdShouldDifferIfMigrated pipelineId should differ if a prefetch is triggered and then a prerender is triggered [ [0] : { method : Preload.prefetchStatusUpdated params : { initiatingFrameId : key : { action : Prefetch loaderId : url : http://127.0.0.1:8000/inspector-protocol/prerender/resources/empty.html } pipelineId : pipelineIdIndex : 0 prefetchStatus : PrefetchNotFinishedInTime prefetchUrl : http://127.0.0.1:8000/inspector-protocol/prerender/resources/empty.html requestId : status : Running } sessionId : } [1] : { method : Preload.prerenderStatusUpdated params : { key : { action : Prerender loaderId : url : http://127.0.0.1:8000/inspector-protocol/prerender/resources/empty.html } pipelineId : pipelineIdIndex : 1 status : Pending } sessionId : } [2] : { method : Preload.prerenderStatusUpdated params : { key : { action : Prerender loaderId : url : http://127.0.0.1:8000/inspector-protocol/prerender/resources/empty.html } pipelineId : pipelineIdIndex : 1 status : Running } sessionId : } [3] : { method : Preload.prefetchStatusUpdated params : { initiatingFrameId : key : { action : Prefetch loaderId : url : http://127.0.0.1:8000/inspector-protocol/prerender/resources/empty.html } pipelineId : pipelineIdIndex : 0 prefetchStatus : PrefetchResponseUsed prefetchUrl : http://127.0.0.1:8000/inspector-protocol/prerender/resources/empty.html requestId : status : Success } sessionId : } [4] : { method : Preload.prerenderStatusUpdated params : { key : { action : Prerender loaderId : url : http://127.0.0.1:8000/inspector-protocol/prerender/resources/empty.html } pipelineId : pipelineIdIndex : 1 status : Ready } sessionId : } ]