Skip to content

Lightpanda: the headless browser designed for AI and automation

fix build

Karl Seguind35aa909596f
diff --git a/src/cdp/CDP.zig b/src/cdp/CDP.zig
index 8aa2d3aa3..9399a7821 100644
--- a/src/cdp/CDP.zig
+++ b/src/cdp/CDP.zig
@@ -1091,7 +1091,7 @@ pub const BrowserContext = struct {
const key = keyFromTransfer(msg.transfer);
const resp = self.captured_responses.getPtr(key) orelse lp.assert(false, "onHttpResponseData missing captured response", .{});
- return resp.data.appendSliceAssumeCapacitySlice(arena, msg.data);
+ return resp.data.appendSlice(arena, msg.data);
}
pub fn onHttpRequestAuthRequired(ctx: *anyopaque, data: *const Notification.RequestAuthRequired) !void {