mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 04:34:44 +00:00
Add a --with_frames argument to fetch
When set (defaults to not set/false), --dump will include iframe contents. I was hoping I could add a mode to strip_mode to this, but since dump is used extensively (e.g. innerHTML), this is something that has to be off by default (for correctness).
This commit is contained in:
@@ -115,7 +115,8 @@ fn run(allocator: Allocator, main_arena: Allocator) !void {
|
||||
.dump_mode = opts.dump_mode,
|
||||
.dump = .{
|
||||
.strip = opts.strip,
|
||||
.with_base = opts.withbase,
|
||||
.with_base = opts.with_base,
|
||||
.with_frames = opts.with_frames,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user