Skip to content

Lightpanda: the headless browser designed for AI and automation

Merge branch 'main' into nikneym/lax-exception-RFC6265bis

Halil Durak93381010f114
diff --cc src/browser/webapi/storage/Cookie.zig
index 62ef722bc,0075efcbb..5dd5f951e
--- a/src/browser/webapi/storage/Cookie.zig
+++ b/src/browser/webapi/storage/Cookie.zig
@@@ -631,12 -578,10 +631,12 @@@ pub const Jar = struct
}
}
- pub const LookupOpts = struct {
+ const LookupOpts = struct {
is_http: bool,
request_time: ?u64 = null,
- is_navigation: bool = true,
+ // `subresource` is the most restrictive, a caller who forgets to set
+ // it won't leak `SameSite=Lax` cookies.
+ kind: RequestKind = .subresource,
prefix: ?[]const u8 = null,
origin_url: SiteForCookies,
};