add a few comments

This commit is contained in:
Karl Seguin
2026-02-03 15:58:29 +08:00
parent 7e575c501a
commit c07b83335b

View File

@@ -76,8 +76,11 @@ pub fn CDPT(comptime TypeProvider: type) type {
// Used for processing notifications within a browser context. // Used for processing notifications within a browser context.
notification_arena: std.heap.ArenaAllocator, notification_arena: std.heap.ArenaAllocator,
// Valid for 1 page navigation (what CDP calls a "renderer")
page_arena: std.heap.ArenaAllocator, 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, browser_context_arena: std.heap.ArenaAllocator,
const Self = @This(); const Self = @This();