From 679f2104f44fe7dbf66e4a8ea82c957c63d1375b Mon Sep 17 00:00:00 2001 From: Karl Seguin Date: Thu, 26 Mar 2026 18:06:14 +0800 Subject: [PATCH] Fix --wait-until default value. This was `load`, but it should have been (and was documented as `done`). This is my fault. Sorry. Should help with: https://github.com/lightpanda-io/browser/issues/1947#issuecomment-4120597764 --- src/Config.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Config.zig b/src/Config.zig index 2ca8fd53..b0abddaf 100644 --- a/src/Config.zig +++ b/src/Config.zig @@ -247,7 +247,7 @@ pub const Fetch = struct { with_frames: bool = false, strip: dump.Opts.Strip = .{}, wait_ms: u32 = 5000, - wait_until: WaitUntil = .load, + wait_until: WaitUntil = .done, }; pub const Common = struct { @@ -665,7 +665,7 @@ fn parseFetchArgs( var common: Common = .{}; var strip: dump.Opts.Strip = .{}; var wait_ms: u32 = 5000; - var wait_until: WaitUntil = .load; + var wait_until: WaitUntil = .done; while (args.next()) |opt| { if (std.mem.eql(u8, "--wait-ms", opt) or std.mem.eql(u8, "--wait_ms", opt)) {