No need to navigate to about:blank

This commit is contained in:
sjorsdonkers
2025-05-20 12:39:46 +02:00
committed by Sjors
parent 967ab18d53
commit 3f31573bcb
3 changed files with 4 additions and 11 deletions

View File

@@ -123,7 +123,7 @@ const TestContext = struct {
if (bc.session_id == null) bc.session_id = "SID-X";
parser.deinit();
const page = try bc.session.createPage();
page.doc = (try Document.init(html)).doc;
page.window.document = (try Document.init(html)).doc;
}
return bc;
}