From c07b83335b4ba4c1afc8881e806cd9c16a6ddfdc Mon Sep 17 00:00:00 2001 From: Karl Seguin Date: Tue, 3 Feb 2026 15:58:29 +0800 Subject: [PATCH] add a few comments --- src/cdp/cdp.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cdp/cdp.zig b/src/cdp/cdp.zig index 66786973..7fc92a83 100644 --- a/src/cdp/cdp.zig +++ b/src/cdp/cdp.zig @@ -76,8 +76,11 @@ pub fn CDPT(comptime TypeProvider: type) type { // Used for processing notifications within a browser context. notification_arena: std.heap.ArenaAllocator, + // Valid for 1 page navigation (what CDP calls a "renderer") page_arena: std.heap.ArenaAllocator, + // Valid for the entire lifetime of the BrowserContext. Should minimize + // (or altogether elimiate) our use of this. browser_context_arena: std.heap.ArenaAllocator, const Self = @This();