Fix SameSite cookies

This commit is contained in:
Nikolay Govorov
2026-03-27 11:16:46 +00:00
parent 5369d25213
commit 9068fe718e
5 changed files with 9 additions and 1 deletions

View File

@@ -95,6 +95,7 @@ pub fn init(input: Input, options: ?InitOpts, page: *Page) !js.Promise {
.headers = headers,
.resource_type = .fetch,
.cookie_jar = &page._session.cookie_jar,
.cookie_origin = page.url,
.notification = page._session.notification,
.start_callback = httpStartCallback,
.header_callback = httpHeaderDoneCallback,