Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IFrame frameNavigated panic #1500

Open
1 of 2 tasks
inancgumus opened this issue Oct 28, 2024 · 3 comments
Open
1 of 2 tasks

IFrame frameNavigated panic #1500

inancgumus opened this issue Oct 28, 2024 · 3 comments
Assignees
Labels
bug Something isn't working next Might be eligible for the next planning (not guaranteed!)

Comments

@inancgumus
Copy link
Member

inancgumus commented Oct 28, 2024

What?

Fix the panic that happens in frameNavigated.

Why?

We get panic with k6-browser 1.8.5.

panic: GoError: handling frameNavigated event to "https://fpt.dfp.microsoft.com/Clear.HTML?...": we either navigate top level or have old version of the navigated frame.

goroutine 2410 [running]:
go.k6.io/k6/js/common.Throw(...)
go.k6.io/k6/js/common/util.go:17
github.com/grafana/xk6-browser/k6ext.Panic.func1(0xc000191c08, {0xc000ab4e80?, 0x1ef9328?, 0xc000377880?})
github.com/grafana/xk6-browser@v1.8.5/k6ext/panic.go:35 +0x74
github.com/grafana/xk6-browser/k6ext.sharedPanic({0x1f19628, 0xc0000a55e0}, 0xc000829d40, {0xc000ab4e80, 0x2, 0x2})
github.com/grafana/xk6-browser@v1.8.5/k6ext/panic.go:64 +0x274
github.com/grafana/xk6-browser/k6ext.Panic({0x1f19628?, 0xc0000a55e0?}, {0x1bf2dab?, 0x0?}, {0xc000ab4e80?, 0x20?, 0xc000b748e0?})
github.com/grafana/xk6-browser@v1.8.5/k6ext/panic.go:37 +0x4b
github.com/grafana/xk6-browser/common.(*FrameSession).onFrameNavigated(0xc000919ec0, 0xc00054e120, 0x0)
github.com/grafana/xk6-browser@v1.8.5/common/frame_session.go:791 +0x33c
github.com/grafana/xk6-browser/common.(*FrameSession).initEvents.func1()
github.com/grafana/xk6-browser@v1.8.5/common/frame_session.go:280 +0x4c5
created by github.com/grafana/xk6-browser/common.(*FrameSession).initEvents in goroutine 92
github.com/grafana/xk6-browser@v1.8.5/common/frame_session.go:238 +0x19b

How?

TBA, but the test run ID is: 3409482.

Tasks

Tasks

Related PR(s)/Issue(s)

No response

@inancgumus inancgumus added bug Something isn't working next Might be eligible for the next planning (not guaranteed!) labels Oct 28, 2024
@ankur22 ankur22 self-assigned this Nov 14, 2024
@ankur22
Copy link
Collaborator

ankur22 commented Nov 18, 2024

I've taken a look at this and here's what i have found:

Issue

This issue is replicated when working against a remote setup rather than locally. The test page can be found here. For some reason we don't get a frameNavigated event back from chrome when a test is ran locally, but in the remote setup we do.

When frameNavigated is received by k6 browser, at that point there is no frame in memory and this is why the error is returned. We currently expect to receive a frameAttached event first before seeing a frameNavigated.

getFrameTree

This is an interesting CDP request that the browser module makes when a new frame session is created. The response of this usually has the frame tree for the given tree. For this WuT, the response does indeed contain the missing frame that is needed, and when that response is received it calls onFrameAttached and onFrameNavigated (link to code).

This request is made before the browser module gets the problematic frameNavigated event, but before it receives the response from getFrameTree.

Possible workarounds

Since we're working with getFrameTree, which calls the necessary methods to prepare the frame, I believe it is ok to return from here instead of erroring, and assume that the frame will be in place soon.

From what i've gathered by looking at PW (1 -> 2) and Puppeteer (1 -> 2), they have similar workarounds.

@ankur22 ankur22 mentioned this issue Nov 18, 2024
3 tasks
@ankur22
Copy link
Collaborator

ankur22 commented Nov 18, 2024

Here's the CDP request log for when it failed:

-> {"id":1,"method":"Target.setAutoAttach","params":{"autoAttach":true,"waitForDebuggerOnStart":true,"flatten":true}} category=cdp:send elapsed=1 ms iteration_id=ba568653d19ff6e0
<- {"id":1,"result":{}} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
-> {"id":2,"method":"Target.getTargetInfo","params":{}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":2,"result":{"targetInfo":{"targetId":"72ed1caf-ea62-4987-9aad-bb3a2efe6915","type":"browser","title":"","url":"","attached":true,"canAccessOpener":false}}} category=cdp:recv elapsed=2 ms iteration_id=ba568653d19ff6e0
-> {"id":3,"method":"Browser.getVersion"} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":3,"result":{"protocolVersion":"1.3","product":"Chrome/128.0.6613.0","revision":"@0000000000000000000000000000000000000000","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/128.0.0.0 Safari/537.36","jsVersion":"12.8.374"}} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
-> {"id":4,"method":"Target.createBrowserContext","params":{"disposeOnDetach":true}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":4,"result":{"browserContextId":"AE64D4DA6D980FC0BA56E3882F223C62"}} category=cdp:recv elapsed=12 ms iteration_id=ba568653d19ff6e0
-> {"id":5,"method":"Target.createTarget","params":{"url":"about:blank","browserContextId":"AE64D4DA6D980FC0BA56E3882F223C62"}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Target.attachedToTarget","params":{"sessionId":"D10B09E77F695DE68826C858D8897768","targetInfo":{"targetId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","type":"page","title":"","url":"about:blank","attached":true,"canAccessOpener":false,"browserContextId":"AE64D4DA6D980FC0BA56E3882F223C62"},"waitingForDebugger":true}} category=cdp:recv elapsed=214 ms iteration_id=ba568653d19ff6e0
-> {"id":6,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Runtime.runIfWaitingForDebugger"} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":5,"result":{"targetId":"6F8DFB59F4B94E5519CE6A6B7C943BCD"}} category=cdp:recv elapsed=44 ms iteration_id=ba568653d19ff6e0
<- {"id":6,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=115 ms iteration_id=ba568653d19ff6e0
-> {"id":7,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Network.enable","params":{}} category=cdp:send elapsed=1 ms iteration_id=ba568653d19ff6e0
<- {"id":7,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=9 ms iteration_id=ba568653d19ff6e0
-> {"id":8,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Browser.getWindowForTarget","params":{"targetId":"6F8DFB59F4B94E5519CE6A6B7C943BCD"}} category=cdp:send elapsed=1 ms iteration_id=ba568653d19ff6e0
<- {"id":8,"result":{"windowId":93303117,"bounds":{"left":10,"top":10,"width":800,"height":600,"windowState":"normal"}},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
-> {"id":9,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Page.enable"} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":9,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=9 ms iteration_id=ba568653d19ff6e0
-> {"id":10,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Page.getFrameTree"} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":10,"result":{"frameTree":{"frame":{"id":"6F8DFB59F4B94E5519CE6A6B7C943BCD","loaderId":"CE2A0C41CF09EA2E0673E8D2BCA8DC64","url":"about:blank","domainAndRegistry":"","securityOrigin":"://","mimeType":"text/html","adFrameStatus":{"adFrameType":"none"},"secureContextType":"InsecureScheme","crossOriginIsolatedContextType":"NotIsolated","gatedAPIFeatures":[]}}},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=4 ms iteration_id=ba568653d19ff6e0
-> {"id":11,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Runtime.evaluate","params":{"expression":"window.k6SpanId = '4f577c7b1f87cca3';","awaitPromise":true}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
-> {"id":12,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Page.setLifecycleEventsEnabled","params":{"enabled":true}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":11,"result":{"result":{"type":"string","value":"4f577c7b1f87cca3"}},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=2 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.lifecycleEvent","params":{"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","loaderId":"CE2A0C41CF09EA2E0673E8D2BCA8DC64","name":"commit","timestamp":262.645039},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=46 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.lifecycleEvent","params":{"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","loaderId":"CE2A0C41CF09EA2E0673E8D2BCA8DC64","name":"DOMContentLoaded","timestamp":262.645442},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.lifecycleEvent","params":{"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","loaderId":"CE2A0C41CF09EA2E0673E8D2BCA8DC64","name":"load","timestamp":262.646988},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.lifecycleEvent","params":{"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","loaderId":"CE2A0C41CF09EA2E0673E8D2BCA8DC64","name":"networkAlmostIdle","timestamp":262.646668},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.lifecycleEvent","params":{"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","loaderId":"CE2A0C41CF09EA2E0673E8D2BCA8DC64","name":"networkIdle","timestamp":262.646668},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":12,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
-> {"id":13,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Page.createIsolatedWorld","params":{"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","worldName":"__k6_browser_utility_world__","grantUniveralAccess":true}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
-> {"id":14,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Page.addScriptToEvaluateOnNewDocument","params":{"source":"//# sourceURL=__xk6_browser_evaluation_script__","worldName":"__k6_browser_utility_world__"}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":13,"result":{"executionContextId":2},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=3 ms iteration_id=ba568653d19ff6e0
<- {"id":14,"result":{"identifier":"1"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=46 ms iteration_id=ba568653d19ff6e0
-> {"id":15,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Emulation.setDeviceMetricsOverride","params":{"width":1280,"height":720,"deviceScaleFactor":1,"mobile":false,"screenWidth":1280,"screenHeight":720,"screenOrientation":{"type":"landscapePrimary","angle":90}}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.frameResized","params":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=2 ms iteration_id=ba568653d19ff6e0
<- {"id":15,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=48 ms iteration_id=ba568653d19ff6e0
-> {"id":16,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Browser.setWindowBounds","params":{"windowId":93303117,"bounds":{"width":1280,"height":720}}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":16,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=4 ms iteration_id=ba568653d19ff6e0
-> {"id":17,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Emulation.setLocaleOverride","params":{"locale":"en-US"}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":17,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=2 ms iteration_id=ba568653d19ff6e0
-> {"id":18,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Network.setCacheDisabled","params":{"cacheDisabled":true}} category=cdp:send elapsed=1 ms iteration_id=ba568653d19ff6e0
<- {"id":18,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
-> {"id":19,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Fetch.enable","params":{"patterns":[{"urlPattern":"*","requestStage":"Request"}],"handleAuthRequests":true}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":19,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=2 ms iteration_id=ba568653d19ff6e0
-> {"id":20,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Emulation.setEmulatedMedia","params":{"media":"screen","features":[{"name":"prefers-color-scheme","value":"light"},{"name":"prefers-reduced-motion","value":""}]}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":20,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=2 ms iteration_id=ba568653d19ff6e0
-> {"id":21,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Emulation.setFocusEmulationEnabled","params":{"enabled":true}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":21,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
-> {"id":22,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Emulation.setUserAgentOverride","params":{"userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36","acceptLanguage":"en-US"}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":22,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
-> {"id":23,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"DOM.enable","params":{}} category=cdp:send elapsed=1 ms iteration_id=ba568653d19ff6e0
<- {"id":23,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=2 ms iteration_id=ba568653d19ff6e0
-> {"id":24,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Log.enable"} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":24,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
-> {"id":25,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Runtime.enable"} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Runtime.executionContextCreated","params":{"context":{"id":2,"origin":"","name":"__k6_browser_utility_world__","uniqueId":"-8088317312489389738.7922257336377365388","auxData":{"isDefault":false,"type":"isolated","frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD"}}},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
<- {"method":"Runtime.executionContextCreated","params":{"context":{"id":1,"origin":"://","name":"","uniqueId":"-2013945186878990684.7223692167047147259","auxData":{"isDefault":true,"type":"default","frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD"}}},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=49 ms iteration_id=ba568653d19ff6e0
<- {"id":25,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
-> {"id":26,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Target.setAutoAttach","params":{"autoAttach":true,"waitForDebuggerOnStart":true,"flatten":true}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":26,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=2 ms iteration_id=ba568653d19ff6e0
-> {"id":27,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Target.setAutoAttach","params":{"autoAttach":true,"waitForDebuggerOnStart":true,"flatten":true}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":27,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
-> {"id":28,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Runtime.addBinding","params":{"name":"k6browserSendWebVitalMetric"}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":28,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
-> {"id":29,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Page.addScriptToEvaluateOnNewDocument","params":{"source":"var webVitals=function(e){\"use strict\";var n,t,r,i,o,a=-1,c=function(e){addEventListener(\"pageshow\",(function(n){n.persisted\u0026\u0026(a=n.timeStamp,e(n))}),!0)},u=function(){return window.performance\u0026\u0026performance.getEntriesByType\u0026\u0026performance.getEntriesByType(\"navigation\")[0]},s=function(){var e=u();return e\u0026\u0026e.activationStart||0},f=function(e,n){var t=u(),r=\"navigate\";return a\u003e=0?r=\"back-forward-cache\":t\u0026\u0026(r=document.prerendering||s()\u003e0?\"prerender\":document.wasDiscarded?\"restore\":t.type.replace(/_/g,\"-\")),{name:e,value:void 0===n?-1:n,rating:\"good\",delta:0,entries:[],id:\"v3-\".concat(Date.now(),\"-\").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},d=function(e,n,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){Promise.resolve().then((function(){n(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},t||{})),r}}catch(e){}},l=function(e,n,t,r){var i,o;return function(a){n.value\u003e=0\u0026\u0026(a||r)\u0026\u0026((o=n.value-(i||0))||void 0===i)\u0026\u0026(i=n.value,n.delta=o,n.rating=function(e,n){return e\u003en[1]?\"poor\":e\u003en[0]?\"needs-improvement\":\"good\"}(n.value,t),e(n))}},v=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},p=function(e){var n=function(n){\"pagehide\"!==n.type\u0026\u0026\"hidden\"!==document.visibilityState||e(n)};addEventListener(\"visibilitychange\",n,!0),addEventListener(\"pagehide\",n,!0)},m=function(e){var n=!1;return function(t){n||(e(t),n=!0)}},h=-1,g=function(){return\"hidden\"!==document.visibilityState||document.prerendering?1/0:0},T=function(e){\"hidden\"===document.visibilityState\u0026\u0026h\u003e-1\u0026\u0026(h=\"visibilitychange\"===e.type?e.timeStamp:0,C())},y=function(){addEventListener(\"visibilitychange\",T,!0),addEventListener(\"prerenderingchange\",T,!0)},C=function(){removeEventListener(\"visibilitychange\",T,!0),removeEventListener(\"prerenderingchange\",T,!0)},E=function(){return h\u003c0\u0026\u0026(h=g(),y(),c((function(){setTimeout((function(){h=g(),y()}),0)}))),{get firstHiddenTime(){return h}}},L=function(e){document.prerendering?addEventListener(\"prerenderingchange\",(function(){return e()}),!0):e()},b=[1800,3e3],S=function(e,n){n=n||{},L((function(){var t,r=E(),i=f(\"FCP\"),o=d(\"paint\",(function(e){e.forEach((function(e){\"first-contentful-paint\"===e.name\u0026\u0026(o.disconnect(),e.startTime\u003cr.firstHiddenTime\u0026\u0026(i.value=Math.max(e.startTime-s(),0),i.entries.push(e),t(!0)))}))}));o\u0026\u0026(t=l(e,i,b,n.reportAllChanges),c((function(r){i=f(\"FCP\"),t=l(e,i,b,n.reportAllChanges),v((function(){i.value=performance.now()-r.timeStamp,t(!0)}))})))}))},w=[.1,.25],P=function(e,n){n=n||{},S(m((function(){var t,r=f(\"CLS\",0),i=0,o=[],a=function(e){e.forEach((function(e){if(!e.hadRecentInput){var n=o[0],t=o[o.length-1];i\u0026\u0026e.startTime-t.startTime\u003c1e3\u0026\u0026e.startTime-n.startTime\u003c5e3?(i+=e.value,o.push(e)):(i=e.value,o=[e])}})),i\u003er.value\u0026\u0026(r.value=i,r.entries=o,t())},u=d(\"layout-shift\",a);u\u0026\u0026(t=l(e,r,w,n.reportAllChanges),p((function(){a(u.takeRecords()),t(!0)})),c((function(){i=0,r=f(\"CLS\",0),t=l(e,r,w,n.reportAllChanges),v((function(){return t()}))})),setTimeout(t,0))})))},F={passive:!0,capture:!0},I=new Date,A=function(e,i){n||(n=i,t=e,r=new Date,k(removeEventListener),M())},M=function(){if(t\u003e=0\u0026\u0026t\u003cr-I){var e={entryType:\"first-input\",name:n.type,target:n.target,cancelable:n.cancelable,startTime:n.timeStamp,processingStart:n.timeStamp+t};i.forEach((function(n){n(e)})),i=[]}},D=function(e){if(e.cancelable){var n=(e.timeStamp\u003e1e12?new Date:performance.now())-e.timeStamp;\"pointerdown\"==e.type?function(e,n){var t=function(){A(e,n),i()},r=function(){i()},i=function(){removeEventListener(\"pointerup\",t,F),removeEventListener(\"pointercancel\",r,F)};addEventListener(\"pointerup\",t,F),addEventListener(\"pointercancel\",r,F)}(n,e):A(n,e)}},k=function(e){[\"mousedown\",\"keydown\",\"touchstart\",\"pointerdown\"].forEach((function(n){return e(n,D,F)}))},B=[100,300],x=function(e,r){r=r||{},L((function(){var o,a=E(),u=f(\"FID\"),s=function(e){e.startTime\u003ca.firstHiddenTime\u0026\u0026(u.value=e.processingStart-e.startTime,u.entries.push(e),o(!0))},v=function(e){e.forEach(s)},h=d(\"first-input\",v);o=l(e,u,B,r.reportAllChanges),h\u0026\u0026p(m((function(){v(h.takeRecords()),h.disconnect()}))),h\u0026\u0026c((function(){var a;u=f(\"FID\"),o=l(e,u,B,r.reportAllChanges),i=[],t=-1,n=null,k(addEventListener),a=s,i.push(a),M()}))}))},N=0,R=1/0,H=0,O=function(e){e.forEach((function(e){e.interactionId\u0026\u0026(R=Math.min(R,e.interactionId),H=Math.max(H,e.interactionId),N=H?(H-R)/7+1:0)}))},_=function(){return o?N:performance.interactionCount||0},j=function(){\"interactionCount\"in performance||o||(o=d(\"event\",O,{type:\"event\",buffered:!0,durationThreshold:0}))},q=[200,500],V=0,z=function(){return _()-V},G=[],J={},K=function(e){var n=G[G.length-1],t=J[e.interactionId];if(t||G.length\u003c10||e.duration\u003en.latency){if(t)t.entries.push(e),t.latency=Math.max(t.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};J[r.id]=r,G.push(r)}G.sort((function(e,n){return n.latency-e.latency})),G.splice(10).forEach((function(e){delete J[e.id]}))}},Q=function(e,n){n=n||{},L((function(){j();var t,r=f(\"INP\"),i=function(e){e.forEach((function(e){(e.interactionId\u0026\u0026K(e),\"first-input\"===e.entryType)\u0026\u0026(!G.some((function(n){return n.entries.some((function(n){return e.duration===n.duration\u0026\u0026e.startTime===n.startTime}))}))\u0026\u0026K(e))}));var n,i=(n=Math.min(G.length-1,Math.floor(z()/50)),G[n]);i\u0026\u0026i.latency!==r.value\u0026\u0026(r.value=i.latency,r.entries=i.entries,t())},o=d(\"event\",i,{durationThreshold:n.durationThreshold||40});t=l(e,r,q,n.reportAllChanges),o\u0026\u0026(o.observe({type:\"first-input\",buffered:!0}),p((function(){i(o.takeRecords()),r.value\u003c0\u0026\u0026z()\u003e0\u0026\u0026(r.value=0,r.entries=[]),t(!0)})),c((function(){G=[],V=_(),r=f(\"INP\"),t=l(e,r,q,n.reportAllChanges)})))}))},U=[2500,4e3],W={},X=function(e,n){n=n||{},L((function(){var t,r=E(),i=f(\"LCP\"),o=function(e){var n=e[e.length-1];n\u0026\u0026n.startTime\u003cr.firstHiddenTime\u0026\u0026(i.value=Math.max(n.startTime-s(),0),i.entries=[n],t())},a=d(\"largest-contentful-paint\",o);if(a){t=l(e,i,U,n.reportAllChanges);var u=m((function(){W[i.id]||(o(a.takeRecords()),a.disconnect(),W[i.id]=!0,t(!0))}));[\"keydown\",\"click\"].forEach((function(e){addEventListener(e,u,!0)})),p(u),c((function(r){i=f(\"LCP\"),t=l(e,i,U,n.reportAllChanges),v((function(){i.value=performance.now()-r.timeStamp,W[i.id]=!0,t(!0)}))}))}}))},Y=[800,1800],Z=function e(n){document.prerendering?L((function(){return e(n)})):\"complete\"!==document.readyState?addEventListener(\"load\",(function(){return e(n)}),!0):setTimeout(n,0)},$=function(e,n){n=n||{};var t=f(\"TTFB\"),r=l(e,t,Y,n.reportAllChanges);Z((function(){var i=u();if(i){var o=i.responseStart;if(o\u003c=0||o\u003eperformance.now())return;t.value=Math.max(o-s(),0),t.entries=[i],r(!0),c((function(){t=f(\"TTFB\",0),(r=l(e,t,Y,n.reportAllChanges))(!0)}))}}))};return e.CLSThresholds=w,e.FCPThresholds=b,e.FIDThresholds=B,e.INPThresholds=q,e.LCPThresholds=U,e.TTFBThresholds=Y,e.getCLS=P,e.getFCP=S,e.getFID=x,e.getINP=Q,e.getLCP=X,e.getTTFB=$,e.onCLS=P,e.onFCP=S,e.onFID=x,e.onINP=Q,e.onLCP=X,e.onTTFB=$,Object.defineProperty(e,\"__esModule\",{value:!0}),e}({});"}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":29,"result":{"identifier":"2"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=6 ms iteration_id=ba568653d19ff6e0
-> {"id":30,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Page.addScriptToEvaluateOnNewDocument","params":{"source":"function print(metric) {\n  const m = {\n    id: metric.id,\n    name: metric.name,\n    value: metric.value,\n    rating: metric.rating,\n    delta: metric.delta,\n    numEntries: metric.entries.length,\n    navigationType: metric.navigationType,\n    url: window.location.href,\n    // To be able to associate a Web Vital measurement to the PageNavigation\n    // span, we need to collect the span ID that was previously set in the\n    // page after the navigation, and pass it back to k6 browser included in\n    // the WV event so the measurement can be correctly linked to the page\n    // navigation span\n    spanID: window.k6SpanId,\n  }\n  window.k6browserSendWebVitalMetric(JSON.stringify(m))\n}\n\nfunction load() {\n  webVitals.onCLS(print);\n  webVitals.onFID(print);\n  webVitals.onLCP(print);\n\n  webVitals.onFCP(print);\n  webVitals.onINP(print);\n  webVitals.onTTFB(print);\n}\n\nload();\n"}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":30,"result":{"identifier":"3"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=2 ms iteration_id=ba568653d19ff6e0
-> {"id":31,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Page.addScriptToEvaluateOnNewDocument","params":{"source":"window.k6 = { testRunId: \"187715\" }"}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":31,"result":{"identifier":"4"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=2 ms iteration_id=ba568653d19ff6e0
-> {"id":32,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Page.navigate","params":{"url":"http://2022wfh.ddns.net/static/tmp/frame-issue.html","frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD"}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.frameStartedLoading","params":{"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=3 ms iteration_id=ba568653d19ff6e0
-> {"id":33,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Runtime.evaluate","params":{"expression":"window.k6SpanId = '2061b2ebb113ed4c';","awaitPromise":true}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.requestWillBeSent","params":{"requestId":"813F6FBA85B1D5F40B62045133F1F950","loaderId":"813F6FBA85B1D5F40B62045133F1F950","documentURL":"http://2022wfh.ddns.net/static/tmp/frame-issue.html","request":{"url":"http://2022wfh.ddns.net/static/tmp/frame-issue.html","method":"GET","headers":{"Accept-Language":"en-US","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"},"mixedContentType":"none","initialPriority":"VeryHigh","referrerPolicy":"strict-origin-when-cross-origin","isSameSite":true},"timestamp":262.922816,"wallTime":1731690150.232091,"initiator":{"type":"other"},"redirectHasExtraInfo":false,"type":"Document","frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","hasUserGesture":false},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=4 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.requestWillBeSent","params":{"requestId":"813F6FBA85B1D5F40B62045133F1F950","loaderId":"813F6FBA85B1D5F40B62045133F1F950","documentURL":"https://2022wfh.ddns.net/static/tmp/frame-issue.html","request":{"url":"https://2022wfh.ddns.net/static/tmp/frame-issue.html","method":"GET","headers":{"Accept-Language":"en-US","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"},"mixedContentType":"none","initialPriority":"VeryHigh","referrerPolicy":"strict-origin-when-cross-origin","isSameSite":true},"timestamp":262.932889,"wallTime":1731690150.242111,"initiator":{"type":"other"},"redirectHasExtraInfo":false,"redirectResponse":{"url":"http://2022wfh.ddns.net/static/tmp/frame-issue.html","status":307,"statusText":"Temporary Redirect","headers":{"Location":"https://2022wfh.ddns.net/static/tmp/frame-issue.html","Non-Authoritative-Reason":"HttpsUpgrades"},"mimeType":"","charset":"","connectionReused":false,"connectionId":0,"remoteIPAddress":"","remotePort":0,"fromDiskCache":false,"fromServiceWorker":false,"fromPrefetchCache":false,"encodedDataLength":0,"protocol":"http/1.1","alternateProtocolUsage":"alternativeJobWonWithoutRace","securityState":"insecure"},"type":"Document","frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","hasUserGesture":false},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=49 ms iteration_id=ba568653d19ff6e0
<- {"method":"Fetch.requestPaused","params":{"requestId":"interception-job-1.0","request":{"url":"https://2022wfh.ddns.net/static/tmp/frame-issue.html","method":"GET","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","Accept-Language":"en-US","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"},"initialPriority":"VeryHigh","referrerPolicy":"strict-origin-when-cross-origin"},"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","resourceType":"Document","networkId":"813F6FBA85B1D5F40B62045133F1F950"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
-> {"id":34,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Fetch.continueRequest","params":{"requestId":"interception-job-1.0"}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":34,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=2 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.lifecycleEvent","params":{"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","loaderId":"CE2A0C41CF09EA2E0673E8D2BCA8DC64","name":"networkAlmostIdle","timestamp":262.646668},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=300 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.lifecycleEvent","params":{"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","loaderId":"CE2A0C41CF09EA2E0673E8D2BCA8DC64","name":"networkIdle","timestamp":262.646668},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.requestWillBeSent","params":{"requestId":"813F6FBA85B1D5F40B62045133F1F950","loaderId":"813F6FBA85B1D5F40B62045133F1F950","documentURL":"http://2022wfh.ddns.net/static/tmp/frame-issue.html","request":{"url":"http://2022wfh.ddns.net/static/tmp/frame-issue.html","method":"GET","headers":{"Accept-Language":"en-US","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"},"mixedContentType":"none","initialPriority":"VeryHigh","referrerPolicy":"strict-origin-when-cross-origin","isSameSite":true},"timestamp":263.29949,"wallTime":1731690150.60916,"initiator":{"type":"other"},"redirectHasExtraInfo":false,"redirectResponse":{"url":"https://2022wfh.ddns.net/static/tmp/frame-issue.html","status":307,"statusText":"Temporary Redirect","headers":{"Location":"http://2022wfh.ddns.net/static/tmp/frame-issue.html","Non-Authoritative-Reason":"HttpsUpgrades"},"mimeType":"","charset":"","connectionReused":false,"connectionId":0,"remoteIPAddress":"","remotePort":0,"fromDiskCache":false,"fromServiceWorker":false,"fromPrefetchCache":false,"encodedDataLength":0,"protocol":"http/1.1","alternateProtocolUsage":"alternativeJobWonWithoutRace","securityState":"secure"},"type":"Document","frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","hasUserGesture":false},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=16 ms iteration_id=ba568653d19ff6e0
<- {"method":"Fetch.requestPaused","params":{"requestId":"interception-job-2.0","request":{"url":"http://2022wfh.ddns.net/static/tmp/frame-issue.html","method":"GET","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","Accept-Language":"en-US","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"},"initialPriority":"VeryHigh","referrerPolicy":"strict-origin-when-cross-origin"},"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","resourceType":"Document","networkId":"813F6FBA85B1D5F40B62045133F1F950"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=5 ms iteration_id=ba568653d19ff6e0
-> {"id":35,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Fetch.continueRequest","params":{"requestId":"interception-job-2.0"}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":35,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.requestWillBeSentExtraInfo","params":{"requestId":"813F6FBA85B1D5F40B62045133F1F950","associatedCookies":[],"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","Accept-Encoding":"gzip, deflate","Accept-Language":"en-US","Cache-Control":"no-cache","Connection":"keep-alive","Host":"2022wfh.ddns.net","Pragma":"no-cache","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"},"connectTiming":{"requestTime":263.307628},"siteHasCookieInOtherPartition":false},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=45 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.responseReceivedExtraInfo","params":{"requestId":"813F6FBA85B1D5F40B62045133F1F950","blockedCookies":[],"headers":{"Connection":"keep-alive","Content-Encoding":"gzip","Content-Type":"text/html; charset=utf-8","Date":"Fri, 15 Nov 2024 17:02:30 GMT","Last-Modified":"Fri, 15 Nov 2024 13:38:56 GMT","Server":"nginx/1.18.0","Transfer-Encoding":"chunked"},"resourceIPAddressSpace":"Public","statusCode":200,"headersText":"HTTP/1.1 200 OK\r\nServer: nginx/1.18.0\r\nDate: Fri, 15 Nov 2024 17:02:30 GMT\r\nContent-Type: text/html; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nLast-Modified: Fri, 15 Nov 2024 13:38:56 GMT\r\nContent-Encoding: gzip\r\n\r\n","cookiePartitionKey":{"topLevelSite":"http://2022wfh.ddns.net","hasCrossSiteAncestor":false},"cookiePartitionKeyOpaque":false,"exemptedCookies":[]},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=60 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.responseReceived","params":{"requestId":"813F6FBA85B1D5F40B62045133F1F950","loaderId":"813F6FBA85B1D5F40B62045133F1F950","timestamp":263.412241,"type":"Document","response":{"url":"http://2022wfh.ddns.net/static/tmp/frame-issue.html","status":200,"statusText":"OK","headers":{"Connection":"keep-alive","Content-Encoding":"gzip","Content-Type":"text/html; charset=utf-8","Date":"Fri, 15 Nov 2024 17:02:30 GMT","Last-Modified":"Fri, 15 Nov 2024 13:38:56 GMT","Server":"nginx/1.18.0","Transfer-Encoding":"chunked"},"mimeType":"text/html","charset":"utf-8","connectionReused":true,"connectionId":116,"remoteIPAddress":"146.90.173.50","remotePort":80,"fromDiskCache":false,"fromServiceWorker":false,"fromPrefetchCache":false,"encodedDataLength":240,"timing":{"requestTime":263.307628,"proxyStart":-1,"proxyEnd":-1,"dnsStart":-1,"dnsEnd":-1,"connectStart":-1,"connectEnd":-1,"sslStart":-1,"sslEnd":-1,"workerStart":-1,"workerReady":-1,"workerFetchStart":-1,"workerRespondWithSettled":-1,"sendStart":0.228,"sendEnd":0.292,"pushStart":0,"pushEnd":0,"receiveHeadersStart":102.814,"receiveHeadersEnd":102.944},"responseTime":1.731690150719633e+12,"protocol":"http/1.1","alternateProtocolUsage":"unspecifiedReason","securityState":"insecure"},"hasExtraInfo":true,"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
<- {"id":32,"result":{"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","loaderId":"813F6FBA85B1D5F40B62045133F1F950"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.lifecycleEvent","params":{"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","loaderId":"813F6FBA85B1D5F40B62045133F1F950","name":"init","timestamp":263.425342},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=19 ms iteration_id=ba568653d19ff6e0
<- {"method":"Runtime.executionContextsCleared","params":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.frameNavigated","params":{"frame":{"id":"6F8DFB59F4B94E5519CE6A6B7C943BCD","loaderId":"813F6FBA85B1D5F40B62045133F1F950","url":"http://2022wfh.ddns.net/static/tmp/frame-issue.html","domainAndRegistry":"2022wfh.ddns.net","securityOrigin":"http://2022wfh.ddns.net","mimeType":"text/html","adFrameStatus":{"adFrameType":"none"},"secureContextType":"InsecureScheme","crossOriginIsolatedContextType":"NotIsolated","gatedAPIFeatures":[]},"type":"Navigation"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.policyUpdated","params":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=2 ms iteration_id=ba568653d19ff6e0
<- {"method":"DOM.documentUpdated","params":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=30 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.dataReceived","params":{"requestId":"813F6FBA85B1D5F40B62045133F1F950","timestamp":263.428098,"dataLength":754,"encodedDataLength":0},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.requestWillBeSent","params":{"requestId":"99.2","loaderId":"813F6FBA85B1D5F40B62045133F1F950","documentURL":"http://2022wfh.ddns.net/static/tmp/frame-issue.html","request":{"url":"https://fpt.dfp.microsoft.com/mdt.js?session_id=foo&instanceId=bar","method":"GET","headers":{"Accept-Language":"en-US","Referer":"http://2022wfh.ddns.net/","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"},"mixedContentType":"none","initialPriority":"High","referrerPolicy":"strict-origin-when-cross-origin","isSameSite":false},"timestamp":263.428797,"wallTime":1731690150.738027,"initiator":{"type":"parser","url":"http://2022wfh.ddns.net/static/tmp/frame-issue.html","lineNumber":3,"columnNumber":184},"redirectHasExtraInfo":false,"type":"Script","frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","hasUserGesture":false},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Runtime.executionContextCreated","params":{"context":{"id":3,"origin":"http://2022wfh.ddns.net","name":"","uniqueId":"-5881617293541094735.6619375567650446718","auxData":{"isDefault":true,"type":"default","frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD"}}},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Runtime.executionContextCreated","params":{"context":{"id":4,"origin":"://","name":"__k6_browser_utility_world__","uniqueId":"2534926112042551307.-1103221792604596935","auxData":{"isDefault":false,"type":"isolated","frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD"}}},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.loadingFinished","params":{"requestId":"813F6FBA85B1D5F40B62045133F1F950","timestamp":263.411282,"encodedDataLength":713},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=5 ms iteration_id=ba568653d19ff6e0
-> {"id":36,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Network.getResponseBody","params":{"requestId":"813F6FBA85B1D5F40B62045133F1F950"}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":33,"result":{"result":{"type":"string","value":"2061b2ebb113ed4c"}},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Fetch.requestPaused","params":{"requestId":"interception-job-3.0","request":{"url":"https://fpt.dfp.microsoft.com/mdt.js?session_id=foo&instanceId=bar","method":"GET","headers":{"Accept":"*/*","Accept-Language":"en-US","Referer":"http://2022wfh.ddns.net/","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"},"initialPriority":"High","referrerPolicy":"strict-origin-when-cross-origin"},"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","resourceType":"Script","networkId":"99.2"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
-> {"id":37,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Fetch.continueRequest","params":{"requestId":"interception-job-3.0"}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":36,"result":{"body":"<html>\n<head></head>\n<body>\n    <script src=\"https://fpt.dfp.microsoft.com/mdt.js?session_id=foo&amp;instanceId=bar\" type=\"text/javascript\" id=\"DFP-script\"></script>\n    <iframe id=\"fpt_frame\" style=\"color:#000000;float:left;visibility:hidden;position:absolute;width:100px;height:100px;left:-200px;top:-200px;border:0px\" src=\"https://fpt.dfp.microsoft.com/?session_id=foo&amp;CustomerId=bar&amp;PageId=&amp;w=8DD057A79BC2BDD&amp;mdt=1731677774313&amp;rticks=1731677774300&amp;u1=&amp;u3=15.1.0&amp;u4=arm&amp;u5=64&amp;u2=(Chromium%2C130.0.6723.117)%2C(Google%20Chrome%2C130.0.6723.117)%2C(Not%3FA_Brand%2C99.0.0.0)\"></iframe>\n</body>\n</html>","base64Encoded":false},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
<- {"id":37,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=50 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.requestWillBeSentExtraInfo","params":{"requestId":"99.2","associatedCookies":[],"headers":{":authority":"fpt.dfp.microsoft.com",":method":"GET",":path":"/mdt.js?session_id=foo&instanceId=bar",":scheme":"https","accept":"*/*","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US","cache-control":"no-cache","pragma":"no-cache","priority":"u=1","referer":"http://2022wfh.ddns.net/","sec-fetch-dest":"script","sec-fetch-mode":"no-cors","sec-fetch-site":"cross-site","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"},"connectTiming":{"requestTime":263.49292},"clientSecurityState":{"initiatorIsSecureContext":false,"initiatorIPAddressSpace":"Public","privateNetworkRequestPolicy":"BlockFromInsecureToMorePrivate"},"siteHasCookieInOtherPartition":false},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=54 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.responseReceivedExtraInfo","params":{"requestId":"99.2","blockedCookies":[],"headers":{"access-control-allow-origin":"*","content-encoding":"gzip","content-type":"application/javascript","date":"Fri, 15 Nov 2024 17:02:30 GMT","server":"Microsoft-HTTPAPI/2.0","vary":"Accept-Encoding"},"resourceIPAddressSpace":"Public","statusCode":200,"cookiePartitionKey":{"topLevelSite":"http://2022wfh.ddns.net","hasCrossSiteAncestor":true},"cookiePartitionKeyOpaque":false,"exemptedCookies":[]},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=23 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.responseReceived","params":{"requestId":"99.2","loaderId":"813F6FBA85B1D5F40B62045133F1F950","timestamp":263.625004,"type":"Script","response":{"url":"https://fpt.dfp.microsoft.com/mdt.js?session_id=foo&instanceId=bar","status":200,"statusText":"","headers":{"access-control-allow-origin":"*","date":"Fri, 15 Nov 2024 17:02:30 GMT","content-encoding":"gzip","server":"Microsoft-HTTPAPI/2.0","vary":"Accept-Encoding","content-type":"application/javascript"},"mimeType":"application/javascript","charset":"","connectionReused":false,"connectionId":157,"remoteIPAddress":"40.65.233.137","remotePort":443,"fromDiskCache":false,"fromServiceWorker":false,"fromPrefetchCache":false,"encodedDataLength":95,"timing":{"requestTime":263.49292,"proxyStart":-1,"proxyEnd":-1,"dnsStart":2.479,"dnsEnd":24.927,"connectStart":25.036,"connectEnd":102.175,"sslStart":47.359,"sslEnd":102.068,"workerStart":-1,"workerReady":-1,"workerFetchStart":-1,"workerRespondWithSettled":-1,"sendStart":102.45,"sendEnd":102.61,"pushStart":0,"pushEnd":0,"receiveHeadersStart":124.561,"receiveHeadersEnd":124.749},"responseTime":1.73169015092671e+12,"protocol":"h2","alternateProtocolUsage":"unspecifiedReason","securityState":"secure","securityDetails":{"protocol":"TLS 1.3","keyExchange":"","keyExchangeGroup":"P-384","cipher":"AES_256_GCM","certificateId":0,"subjectName":"fpt.microsoft.com","sanList":["fpt.microsoft.com","fpt.dfp.microsoft.com","fpt2.microsoft.com","dfglobal.microsoft.com","ov-df.microsoft.com","fpt.bing.com","fpt.live.com","fpt.msn.com","fpt.xbox.com","fpt.xboxlive.com","fraudprotection.support.xbox.com","fpt.windowsazure.com","fpt6.microsoft.com","fpt6.dfp.microsoft.com"],"issuer":"Microsoft Azure RSA TLS Issuing CA 08","validFrom":1727280879,"validTo":1758384879,"signedCertificateTimestampList":[],"certificateTransparencyCompliance":"unknown","serverSignatureAlgorithm":2052,"encryptedClientHello":false}},"hasExtraInfo":true,"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=7 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.dataReceived","params":{"requestId":"99.2","timestamp":263.625068,"dataLength":891,"encodedDataLength":0},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=6 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.loadingFinished","params":{"requestId":"99.2","timestamp":263.618767,"encodedDataLength":630},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
-> {"id":38,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Network.getResponseBody","params":{"requestId":"99.2"}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.policyUpdated","params":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.frameAttached","params":{"frameId":"F153E494F76AA60035814C7B63EC1B2D","parentFrameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=48 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.lifecycleEvent","params":{"frameId":"F153E494F76AA60035814C7B63EC1B2D","loaderId":"6DDB45ADA7B6679C2A8A5052ED870BBC","name":"init","timestamp":263.633082},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.frameStartedLoading","params":{"frameId":"F153E494F76AA60035814C7B63EC1B2D"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.requestWillBeSent","params":{"requestId":"AD194EBC0EC9D09A8B45AF26072EA2C3","loaderId":"AD194EBC0EC9D09A8B45AF26072EA2C3","documentURL":"https://fpt.dfp.microsoft.com/?session_id=foo&CustomerId=bar&PageId=&w=8DD057A79BC2BDD&mdt=1731677774313&rticks=1731677774300&u1=&u3=15.1.0&u4=arm&u5=64&u2=(Chromium%2C130.0.6723.117)%2C(Google%20Chrome%2C130.0.6723.117)%2C(Not%3FA_Brand%2C99.0.0.0)","request":{"url":"https://fpt.dfp.microsoft.com/?session_id=foo&CustomerId=bar&PageId=&w=8DD057A79BC2BDD&mdt=1731677774313&rticks=1731677774300&u1=&u3=15.1.0&u4=arm&u5=64&u2=(Chromium%2C130.0.6723.117)%2C(Google%20Chrome%2C130.0.6723.117)%2C(Not%3FA_Brand%2C99.0.0.0)","method":"GET","headers":{"Accept-Language":"en-US","Referer":"http://2022wfh.ddns.net/","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"},"mixedContentType":"none","initialPriority":"VeryHigh","referrerPolicy":"strict-origin-when-cross-origin","isSameSite":false},"timestamp":263.662737,"wallTime":1731690150.972004,"initiator":{"type":"parser","url":"http://2022wfh.ddns.net/static/tmp/frame-issue.html","lineNumber":4,"columnNumber":507},"redirectHasExtraInfo":false,"type":"Document","frameId":"F153E494F76AA60035814C7B63EC1B2D","hasUserGesture":false},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":38,"result":{"body":"function SendBack(url,callback){callback(url)}window.dfp={url:\"https://fpt.dfp.microsoft.com/?session_id=foo&CustomerId=bar&PageId=&w=8DD05974AC15DF8\",sessionId:\"foo\",customerId:\"bar\",dc:\"useast\"};window.dfp.doFpt=function(doc){var start,frm,src;if(true){start=Date.now();frm=doc.createElement(\"IFRAME\");frm.id=\"fpt_frame\";frm.setAttribute(\"style\",\"color:#000000;float:left;visibility:hidden;position:absolute;width:100px;height:100px;left:-200px;top:-200px;border:0px\");src=\"https://fpt.dfp.microsoft.com/?session_id=foo&CustomerId=bar&PageId=&w=8DD05974AC15DF8\";src+=\"&mdt=\"+start;src+=\"&rticks=\"+1731690150886;function SetIFrameSrc(url){frm.setAttribute(\"src\",url);doc.body.appendChild(frm)}SendBack(src,SetIFrameSrc)}};","base64Encoded":false},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"DOM.documentUpdated","params":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.domContentEventFired","params":{"timestamp":263.658766},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.lifecycleEvent","params":{"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","loaderId":"813F6FBA85B1D5F40B62045133F1F950","name":"DOMContentLoaded","timestamp":263.658766},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Fetch.requestPaused","params":{"requestId":"interception-job-4.0","request":{"url":"https://fpt.dfp.microsoft.com/?session_id=foo&CustomerId=bar&PageId=&w=8DD057A79BC2BDD&mdt=1731677774313&rticks=1731677774300&u1=&u3=15.1.0&u4=arm&u5=64&u2=(Chromium%2C130.0.6723.117)%2C(Google%20Chrome%2C130.0.6723.117)%2C(Not%3FA_Brand%2C99.0.0.0)","method":"GET","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","Accept-Language":"en-US","Referer":"http://2022wfh.ddns.net/","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"},"initialPriority":"VeryHigh","referrerPolicy":"strict-origin-when-cross-origin"},"frameId":"F153E494F76AA60035814C7B63EC1B2D","resourceType":"Document","networkId":"AD194EBC0EC9D09A8B45AF26072EA2C3"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
-> {"id":39,"sessionId":"D10B09E77F695DE68826C858D8897768","method":"Fetch.continueRequest","params":{"requestId":"interception-job-4.0"}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":39,"result":{},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.requestWillBeSentExtraInfo","params":{"requestId":"AD194EBC0EC9D09A8B45AF26072EA2C3","associatedCookies":[],"headers":{":authority":"fpt.dfp.microsoft.com",":method":"GET",":path":"/?session_id=foo&CustomerId=bar&PageId=&w=8DD057A79BC2BDD&mdt=1731677774313&rticks=1731677774300&u1=&u3=15.1.0&u4=arm&u5=64&u2=(Chromium%2C130.0.6723.117)%2C(Google%20Chrome%2C130.0.6723.117)%2C(Not%3FA_Brand%2C99.0.0.0)",":scheme":"https","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","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US","cache-control":"no-cache","pragma":"no-cache","priority":"u=0, i","referer":"http://2022wfh.ddns.net/","sec-fetch-dest":"iframe","sec-fetch-mode":"navigate","sec-fetch-site":"cross-site","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"},"connectTiming":{"requestTime":263.684417},"clientSecurityState":{"initiatorIsSecureContext":false,"initiatorIPAddressSpace":"Public","privateNetworkRequestPolicy":"Allow"},"siteHasCookieInOtherPartition":false},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=82 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.responseReceivedExtraInfo","params":{"requestId":"AD194EBC0EC9D09A8B45AF26072EA2C3","blockedCookies":[{"blockedReasons":["UserPreferences"],"cookieLine":"fptctx2=def; domain=.dfp.microsoft.com; path=/; secure; httponly","cookie":{"name":"fptctx2","value":"def","domain":".dfp.microsoft.com","path":"/","expires":-1,"size":331,"httpOnly":true,"secure":true,"session":true,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443}},{"blockedReasons":["UserPreferences"],"cookieLine":"MUID=d0166774de684cc2a4e4dd526eef0846; expires=Sat, 15 Nov 2025 17:02:31 GMT; domain=.dfp.microsoft.com; path=/; secure; httponly","cookie":{"name":"MUID","value":"d0166774de684cc2a4e4dd526eef0846","domain":".dfp.microsoft.com","path":"/","expires":1763226152.102263,"size":36,"httpOnly":true,"secure":true,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443}}],"headers":{"access-control-allow-origin":"*","content-encoding":"gzip","content-type":"text/html","date":"Fri, 15 Nov 2024 17:02:30 GMT","server":"Microsoft-HTTPAPI/2.0","set-cookie":"fptctx2=def; domain=.dfp.microsoft.com; path=/; secure; httponly\nMUID=d0166774de684cc2a4e4dd526eef0846; expires=Sat, 15 Nov 2025 17:02:31 GMT; domain=.dfp.microsoft.com; path=/; secure; httponly","vary":"Accept-Encoding"},"resourceIPAddressSpace":"Public","statusCode":200,"cookiePartitionKey":{"topLevelSite":"http://2022wfh.ddns.net","hasCrossSiteAncestor":true},"cookiePartitionKeyOpaque":false,"exemptedCookies":[]},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=30 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.responseReceived","params":{"requestId":"AD194EBC0EC9D09A8B45AF26072EA2C3","loaderId":"AD194EBC0EC9D09A8B45AF26072EA2C3","timestamp":263.797073,"type":"Document","response":{"url":"https://fpt.dfp.microsoft.com/?session_id=foo&CustomerId=bar&PageId=&w=8DD057A79BC2BDD&mdt=1731677774313&rticks=1731677774300&u1=&u3=15.1.0&u4=arm&u5=64&u2=(Chromium%2C130.0.6723.117)%2C(Google%20Chrome%2C130.0.6723.117)%2C(Not%3FA_Brand%2C99.0.0.0)","status":200,"statusText":"","headers":{"access-control-allow-origin":"*","content-encoding":"gzip","content-type":"text/html","date":"Fri, 15 Nov 2024 17:02:30 GMT","server":"Microsoft-HTTPAPI/2.0","vary":"Accept-Encoding"},"mimeType":"text/html","charset":"","connectionReused":false,"connectionId":183,"remoteIPAddress":"40.65.233.137","remotePort":443,"fromDiskCache":false,"fromServiceWorker":false,"fromPrefetchCache":false,"encodedDataLength":488,"timing":{"requestTime":263.684417,"proxyStart":-1,"proxyEnd":-1,"dnsStart":0.505,"dnsEnd":0.53,"connectStart":0.53,"connectEnd":80.367,"sslStart":25.994,"sslEnd":80.36,"workerStart":-1,"workerReady":-1,"workerFetchStart":-1,"workerRespondWithSettled":-1,"sendStart":80.556,"sendEnd":80.743,"pushStart":0,"pushEnd":0,"receiveHeadersStart":108.434,"receiveHeadersEnd":108.559},"responseTime":1.73169015110207e+12,"protocol":"h2","alternateProtocolUsage":"unspecifiedReason","securityState":"secure","securityDetails":{"protocol":"TLS 1.3","keyExchange":"","keyExchangeGroup":"P-384","cipher":"AES_256_GCM","certificateId":0,"subjectName":"fpt.microsoft.com","sanList":["fpt.microsoft.com","fpt.dfp.microsoft.com","fpt2.microsoft.com","dfglobal.microsoft.com","ov-df.microsoft.com","fpt.bing.com","fpt.live.com","fpt.msn.com","fpt.xbox.com","fpt.xboxlive.com","fraudprotection.support.xbox.com","fpt.windowsazure.com","fpt6.microsoft.com","fpt6.dfp.microsoft.com"],"issuer":"Microsoft Azure RSA TLS Issuing CA 08","validFrom":1727280879,"validTo":1758384879,"signedCertificateTimestampList":[],"certificateTransparencyCompliance":"unknown","serverSignatureAlgorithm":2052,"encryptedClientHello":false}},"hasExtraInfo":true,"frameId":"F153E494F76AA60035814C7B63EC1B2D"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
<- {"method":"Target.attachedToTarget","params":{"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9","targetInfo":{"targetId":"F153E494F76AA60035814C7B63EC1B2D","type":"iframe","title":"","url":"","attached":true,"canAccessOpener":false,"browserContextId":"AE64D4DA6D980FC0BA56E3882F223C62"},"waitingForDebugger":true},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
-> {"id":40,"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9","method":"Runtime.runIfWaitingForDebugger"} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Target.targetInfoChanged","params":{"targetInfo":{"targetId":"F153E494F76AA60035814C7B63EC1B2D","type":"iframe","title":"https://fpt.dfp.microsoft.com/?session_id=foo&CustomerId=bar&PageId=&w=8DD057A79BC2BDD&mdt=1731677774313&rticks=1731677774300&u1=&u3=15.1.0&u4=arm&u5=64&u2=(Chromium%2C130.0.6723.117)%2C(Google%20Chrome%2C130.0.6723.117)%2C(Not%3FA_Brand%2C99.0.0.0)","url":"https://fpt.dfp.microsoft.com/?session_id=foo&CustomerId=bar&PageId=&w=8DD057A79BC2BDD&mdt=1731677774313&rticks=1731677774300&u1=&u3=15.1.0&u4=arm&u5=64&u2=(Chromium%2C130.0.6723.117)%2C(Google%20Chrome%2C130.0.6723.117)%2C(Not%3FA_Brand%2C99.0.0.0)","attached":true,"canAccessOpener":false,"browserContextId":"AE64D4DA6D980FC0BA56E3882F223C62"}},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=29 ms iteration_id=ba568653d19ff6e0
<- {"id":40,"result":{},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=45 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.frameDetached","params":{"frameId":"F153E494F76AA60035814C7B63EC1B2D","reason":"swap"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
-> {"id":41,"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9","method":"Network.enable","params":{}} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.lifecycleEvent","params":{"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","loaderId":"813F6FBA85B1D5F40B62045133F1F950","name":"networkAlmostIdle","timestamp":263.659323},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=1788 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.lifecycleEvent","params":{"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","loaderId":"813F6FBA85B1D5F40B62045133F1F950","name":"networkIdle","timestamp":263.659323},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.policyUpdated","params":{},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=466 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.requestWillBeSent","params":{"requestId":"4CFDFF7C7113F33D0738CDFA05877867","loaderId":"4CFDFF7C7113F33D0738CDFA05877867","documentURL":"https://fpt.dfp.microsoft.com/Clear.HTML?ctx=Ls1.0&wl=False&session_id=foo&id=baz&w=abc&tkt=def&CustomerId=bar","request":{"url":"https://fpt.dfp.microsoft.com/Clear.HTML?ctx=Ls1.0&wl=False&session_id=foo&id=baz&w=abc&tkt=def&CustomerId=bar","method":"GET","headers":{"Accept-Language":"en-US,en;q=0.9","Referer":"https://fpt.dfp.microsoft.com/?session_id=foo&CustomerId=bar&PageId=&w=8DD057A79BC2BDD&mdt=1731677774313&rticks=1731677774300&u1=&u3=15.1.0&u4=arm&u5=64&u2=(Chromium%2C130.0.6723.117)%2C(Google%20Chrome%2C130.0.6723.117)%2C(Not%3FA_Brand%2C99.0.0.0)","Upgrade-Insecure-Requests":"1","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/128.0.0.0 Safari/537.36","sec-ch-ua":"\"Not;A=Brand\";v=\"24\", \"Chromium\";v=\"128\"","sec-ch-ua-mobile":"?0","sec-ch-ua-platform":"\"Linux\""},"mixedContentType":"none","initialPriority":"VeryHigh","referrerPolicy":"strict-origin-when-cross-origin","isSameSite":false},"timestamp":266.132748,"wallTime":1731690153.441954,"initiator":{"type":"other"},"redirectHasExtraInfo":false,"type":"Document","frameId":"07F8652F8E9CFAABBA44E13FA86557F9","hasUserGesture":false},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=7 ms iteration_id=ba568653d19ff6e0
<- {"id":41,"result":{},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=2 ms iteration_id=ba568653d19ff6e0
-> {"id":42,"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9","method":"Page.enable"} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.requestWillBeSentExtraInfo","params":{"requestId":"4CFDFF7C7113F33D0738CDFA05877867","associatedCookies":[],"headers":{":authority":"fpt.dfp.microsoft.com",":method":"GET",":path":"/Clear.HTML?ctx=Ls1.0&wl=False&session_id=foo&id=baz&w=abc&tkt=def&CustomerId=bar",":scheme":"https","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","accept-encoding":"gzip, deflate, br, zstd","accept-language":"en-US,en;q=0.9","priority":"u=0, i","referer":"https://fpt.dfp.microsoft.com/?session_id=foo&CustomerId=bar&PageId=&w=8DD057A79BC2BDD&mdt=1731677774313&rticks=1731677774300&u1=&u3=15.1.0&u4=arm&u5=64&u2=(Chromium%2C130.0.6723.117)%2C(Google%20Chrome%2C130.0.6723.117)%2C(Not%3FA_Brand%2C99.0.0.0)","sec-ch-ua":"\"Not;A=Brand\";v=\"24\", \"Chromium\";v=\"128\"","sec-ch-ua-mobile":"?0","sec-ch-ua-platform":"\"Linux\"","sec-fetch-dest":"iframe","sec-fetch-mode":"navigate","sec-fetch-site":"same-origin","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/128.0.0.0 Safari/537.36"},"connectTiming":{"requestTime":266.133792},"clientSecurityState":{"initiatorIsSecureContext":false,"initiatorIPAddressSpace":"Public","privateNetworkRequestPolicy":"Allow"},"siteHasCookieInOtherPartition":false},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
<- {"id":42,"result":{},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=38 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.responseReceived","params":{"requestId":"98.2","loaderId":"AD194EBC0EC9D09A8B45AF26072EA2C3","timestamp":266.156991,"type":"Other","response":{"url":"https://fpt.dfp.microsoft.com/Images/Clear.PNG?ctx=jscb1.0&session_id=foo&CustomerId=bar&esi=long-id","status":200,"statusText":"","headers":{"access-control-allow-origin":"*","date":"Fri, 15 Nov 2024 17:02:33 GMT","content-encoding":"gzip","server":"Microsoft-HTTPAPI/2.0","content-length":"0","vary":"Accept-Encoding","content-type":"text/html"},"mimeType":"text/html","charset":"","connectionReused":true,"connectionId":183,"remoteIPAddress":"40.65.233.137","remotePort":443,"fromDiskCache":false,"fromServiceWorker":false,"fromPrefetchCache":false,"encodedDataLength":453,"timing":{"requestTime":266.128765,"proxyStart":-1,"proxyEnd":-1,"dnsStart":-1,"dnsEnd":-1,"connectStart":-1,"connectEnd":-1,"sslStart":-1,"sslEnd":-1,"workerStart":-1,"workerReady":-1,"workerFetchStart":-1,"workerRespondWithSettled":-1,"sendStart":0.666,"sendEnd":0.831,"pushStart":0,"pushEnd":0,"receiveHeadersStart":26.954,"receiveHeadersEnd":27.101},"responseTime":1.731690153464938e+12,"protocol":"h2","alternateProtocolUsage":"unspecifiedReason","securityState":"unknown"},"hasExtraInfo":false,"frameId":"F153E494F76AA60035814C7B63EC1B2D"},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.loadingFinished","params":{"requestId":"98.2","timestamp":266.156464,"encodedDataLength":462},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.responseReceived","params":{"requestId":"4CFDFF7C7113F33D0738CDFA05877867","loaderId":"4CFDFF7C7113F33D0738CDFA05877867","timestamp":266.161099,"type":"Document","response":{"url":"https://fpt.dfp.microsoft.com/Clear.HTML?ctx=Ls1.0&wl=False&session_id=foo&id=baz&w=abc&tkt=def&CustomerId=bar","status":200,"statusText":"","headers":{"access-control-allow-origin":"*","content-encoding":"gzip","content-type":"text/html","date":"Fri, 15 Nov 2024 17:02:33 GMT","server":"Microsoft-HTTPAPI/2.0","vary":"Accept-Encoding"},"mimeType":"text/html","charset":"","connectionReused":true,"connectionId":183,"remoteIPAddress":"40.65.233.137","remotePort":443,"fromDiskCache":false,"fromServiceWorker":false,"fromPrefetchCache":false,"encodedDataLength":41,"timing":{"requestTime":266.133792,"proxyStart":-1,"proxyEnd":-1,"dnsStart":-1,"dnsEnd":-1,"connectStart":-1,"connectEnd":-1,"sslStart":-1,"sslEnd":-1,"workerStart":-1,"workerReady":-1,"workerFetchStart":-1,"workerRespondWithSettled":-1,"sendStart":0.369,"sendEnd":0.55,"pushStart":0,"pushEnd":0,"receiveHeadersStart":25.937,"receiveHeadersEnd":26.048},"responseTime":1.73169015346894e+12,"protocol":"h2","alternateProtocolUsage":"unspecifiedReason","securityState":"secure","securityDetails":{"protocol":"TLS 1.3","keyExchange":"","keyExchangeGroup":"P-384","cipher":"AES_256_GCM","certificateId":0,"subjectName":"fpt.microsoft.com","sanList":["fpt.microsoft.com","fpt.dfp.microsoft.com","fpt2.microsoft.com","dfglobal.microsoft.com","ov-df.microsoft.com","fpt.bing.com","fpt.live.com","fpt.msn.com","fpt.xbox.com","fpt.xboxlive.com","fraudprotection.support.xbox.com","fpt.windowsazure.com","fpt6.microsoft.com","fpt6.dfp.microsoft.com"],"issuer":"Microsoft Azure RSA TLS Issuing CA 08","validFrom":1727280879,"validTo":1758384879,"signedCertificateTimestampList":[],"certificateTransparencyCompliance":"unknown","serverSignatureAlgorithm":2052,"encryptedClientHello":false}},"hasExtraInfo":true,"frameId":"07F8652F8E9CFAABBA44E13FA86557F9"},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
-> {"id":43,"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9","method":"Page.getFrameTree"} category=cdp:send elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.responseReceivedExtraInfo","params":{"requestId":"4CFDFF7C7113F33D0738CDFA05877867","blockedCookies":[{"blockedReasons":["UserPreferences"],"cookieLine":"MUID=d0166774de684cc2a4e4dd526eef0846; expires=Sat, 15 Nov 2025 17:02:33 GMT; domain=.dfp.microsoft.com; path=/; secure; httponly","cookie":{"name":"MUID","value":"d0166774de684cc2a4e4dd526eef0846","domain":".dfp.microsoft.com","path":"/","expires":1763226153.469055,"size":36,"httpOnly":true,"secure":true,"session":false,"priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443}}],"headers":{"access-control-allow-origin":"*","content-encoding":"gzip","content-type":"text/html","date":"Fri, 15 Nov 2024 17:02:33 GMT","server":"Microsoft-HTTPAPI/2.0","set-cookie":"MUID=d0166774de684cc2a4e4dd526eef0846; expires=Sat, 15 Nov 2025 17:02:33 GMT; domain=.dfp.microsoft.com; path=/; secure; httponly","vary":"Accept-Encoding"},"resourceIPAddressSpace":"Public","statusCode":200,"cookiePartitionKey":{"topLevelSite":"http://2022wfh.ddns.net","hasCrossSiteAncestor":true},"cookiePartitionKeyOpaque":false,"exemptedCookies":[]},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.frameNavigated","params":{"frame":{"id":"07F8652F8E9CFAABBA44E13FA86557F9","parentId":"F153E494F76AA60035814C7B63EC1B2D","loaderId":"4CFDFF7C7113F33D0738CDFA05877867","name":"df_ls_frame","url":"https://fpt.dfp.microsoft.com/Clear.HTML?ctx=Ls1.0&wl=False&session_id=foo&id=baz&w=abc&tkt=def&CustomerId=bar","domainAndRegistry":"microsoft.com","securityOrigin":"https://fpt.dfp.microsoft.com","mimeType":"text/html","adFrameStatus":{"adFrameType":"none","explanations":[]},"secureContextType":"InsecureAncestor","crossOriginIsolatedContextType":"NotIsolatedFeatureDisabled","gatedAPIFeatures":[]},"type":"Navigation"},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.policyUpdated","params":{},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.dataReceived","params":{"requestId":"4CFDFF7C7113F33D0738CDFA05877867","timestamp":266.167299,"dataLength":2731,"encodedDataLength":0},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.loadingFinished","params":{"requestId":"4CFDFF7C7113F33D0738CDFA05877867","timestamp":266.16066,"encodedDataLength":1484},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.frameStoppedLoading","params":{"frameId":"07F8652F8E9CFAABBA44E13FA86557F9"},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.frameStoppedLoading","params":{"frameId":"F153E494F76AA60035814C7B63EC1B2D"},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=1 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.loadEventFired","params":{"timestamp":266.174207},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=47 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.lifecycleEvent","params":{"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","loaderId":"813F6FBA85B1D5F40B62045133F1F950","name":"load","timestamp":266.174207},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Page.frameStoppedLoading","params":{"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Runtime.bindingCalled","params":{"name":"k6browserSendWebVitalMetric","payload":"{\"id\":\"v3-1731690150749-7127214629545\",\"name\":\"TTFB\",\"value\":491.4000000000233,\"rating\":\"good\",\"delta\":491.4000000000233,\"numEntries\":1,\"navigationType\":\"navigate\",\"url\":\"http://2022wfh.ddns.net/static/tmp/frame-issue.html\",\"spanID\":\"2061b2ebb113ed4c\"}","executionContextId":3},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"id":43,"result":{"frameTree":{"frame":{"id":"F153E494F76AA60035814C7B63EC1B2D","parentId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","loaderId":"AD194EBC0EC9D09A8B45AF26072EA2C3","name":"","url":"https://fpt.dfp.microsoft.com/?session_id=foo&CustomerId=bar&PageId=&w=8DD057A79BC2BDD&mdt=1731677774313&rticks=1731677774300&u1=&u3=15.1.0&u4=arm&u5=64&u2=(Chromium%2C130.0.6723.117)%2C(Google%20Chrome%2C130.0.6723.117)%2C(Not%3FA_Brand%2C99.0.0.0)","domainAndRegistry":"microsoft.com","securityOrigin":"https://fpt.dfp.microsoft.com","mimeType":"text/html","adFrameStatus":{"adFrameType":"none","explanations":[]},"secureContextType":"InsecureAncestor","crossOriginIsolatedContextType":"NotIsolatedFeatureDisabled","gatedAPIFeatures":[]},"childFrames":[{"frame":{"id":"07F8652F8E9CFAABBA44E13FA86557F9","parentId":"F153E494F76AA60035814C7B63EC1B2D","loaderId":"4CFDFF7C7113F33D0738CDFA05877867","name":"df_ls_frame","url":"https://fpt.dfp.microsoft.com/Clear.HTML?ctx=Ls1.0&wl=False&session_id=foo&id=baz&w=abc&tkt=def&CustomerId=bar","domainAndRegistry":"microsoft.com","securityOrigin":"https://fpt.dfp.microsoft.com","mimeType":"text/html","adFrameStatus":{"adFrameType":"none","explanations":[]},"secureContextType":"InsecureAncestor","crossOriginIsolatedContextType":"NotIsolatedFeatureDisabled","gatedAPIFeatures":[]}}]}},"sessionId":"D92F82A1EC78B4452BFDE6A58375E2E9"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Network.requestWillBeSent","params":{"requestId":"99.4","loaderId":"813F6FBA85B1D5F40B62045133F1F950","documentURL":"http://2022wfh.ddns.net/static/tmp/frame-issue.html","request":{"url":"http://2022wfh.ddns.net/favicon.ico","method":"GET","headers":{"Accept-Language":"en-US","Referer":"http://2022wfh.ddns.net/static/tmp/frame-issue.html","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"},"mixedContentType":"none","initialPriority":"High","referrerPolicy":"strict-origin-when-cross-origin","isSameSite":true},"timestamp":266.177006,"wallTime":1731690153.48624,"initiator":{"type":"other"},"redirectHasExtraInfo":false,"type":"Other","frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","hasUserGesture":false},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0
<- {"method":"Fetch.requestPaused","params":{"requestId":"interception-job-5.0","request":{"url":"http://2022wfh.ddns.net/favicon.ico","method":"GET","headers":{"Accept":"image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8","Accept-Language":"en-US","Referer":"http://2022wfh.ddns.net/static/tmp/frame-issue.html","User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"},"initialPriority":"High","referrerPolicy":"strict-origin-when-cross-origin"},"frameId":"6F8DFB59F4B94E5519CE6A6B7C943BCD","resourceType":"Other","networkId":"99.4"},"sessionId":"D10B09E77F695DE68826C858D8897768"} category=cdp:recv elapsed=0 ms iteration_id=ba568653d19ff6e0

On line 144, there's a request to getFrameTree, and on line 156 there is a response of the call. In the response is the frame (with id 07F8652F8E9CFAABBA44E13FA86557F9) that we're interested in creating and storing.

Meanwhile on line 146 a frameNavigated response is received. This causes the panic. If you look through the logs there is no frameAttached which would usually initialize the frame to store in memory. However, as mentioned above, we can rely on getFrameTree instead.

@inancgumus
Copy link
Member Author

Thanks for the nice analysis, @ankur22 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working next Might be eligible for the next planning (not guaranteed!)
Projects
None yet
Development

No branches or pull requests

2 participants