add missing .{ .dom_exception = true } into CookieStore bridge

This commit is contained in:
Pierre Tachoire
2026-05-28 09:54:16 +02:00
parent ad0e0445a8
commit 27fe1d46d8

View File

@@ -431,10 +431,10 @@ pub const JsApi = struct {
pub var class_id: bridge.ClassId = undefined;
};
pub const get = bridge.function(CookieStore.get, .{});
pub const getAll = bridge.function(CookieStore.getAll, .{});
pub const set = bridge.function(CookieStore.set, .{});
pub const delete = bridge.function(CookieStore.delete, .{});
pub const get = bridge.function(CookieStore.get, .{ .dom_exception = true });
pub const getAll = bridge.function(CookieStore.getAll, .{ .dom_exception = true });
pub const set = bridge.function(CookieStore.set, .{ .dom_exception = true });
pub const delete = bridge.function(CookieStore.delete, .{ .dom_exception = true });
pub const onchange = bridge.accessor(CookieStore.getOnChange, CookieStore.setOnChange, .{});
};