mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 09:35:59 -04:00
add missing .{ .dom_exception = true } into CookieStore bridge
This commit is contained in:
@@ -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, .{});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user