From 93d03f8690446998c2b3a0ec0539bb4f2780aac3 Mon Sep 17 00:00:00 2001 From: tleish Date: Sun, 23 Jun 2024 22:50:29 -0600 Subject: [PATCH] fix #1241 - cache current page with frame updated --- src/core/frames/frame_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/frames/frame_controller.js b/src/core/frames/frame_controller.js index 015578b53..3d943266b 100644 --- a/src/core/frames/frame_controller.js +++ b/src/core/frames/frame_controller.js @@ -349,7 +349,7 @@ export class FrameController { frame.delegate.fetchResponseLoaded = async (fetchResponse) => { if (frame.src) { const { statusCode, redirected } = fetchResponse - const responseHTML = document.documentElement.outerHTML + const responseHTML = frame.ownerDocument.documentElement.outerHTML const response = { statusCode, redirected, responseHTML } const options = { response,