Lightpanda: the headless browser designed for AI and automation
Merge pull request #2890 from lightpanda-io/domexception
Karl Seguin9621f5edf7b2
diff --cc src/browser/webapi/Window.zigindex eaf6c4358,a688527f6..aac9501b4--- a/src/browser/webapi/Window.zig+++ b/src/browser/webapi/Window.zig@@@ -1113,10 -1078,10 +1113,10 @@@ pub const JsApi = structpub const innerHeight = bridge.accessor(Window.getInnerHeight, Window.setInnerHeight, .{});pub const devicePixelRatio = bridge.property(1, .{ .template = false, .readonly = false });- pub const opener = bridge.accessor(Window.getOpener, null, .{});+ pub const opener = bridge.accessor(Window.getOpener, Window.setOpener, .{});pub const closed = bridge.accessor(Window.getClosed, null, .{});pub const name = bridge.accessor(Window.getName, Window.setName, .{});- pub const open = bridge.function(Window.open, .{ .dom_exception = true });+ pub const open = bridge.function(Window.open, .{});pub const close = bridge.function(Window.close, .{});pub const alert = bridge.function(struct {