Contextual frameTree

Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
Francis Bouvier
2024-04-18 20:54:30 +02:00
parent 508741c367
commit fc1b3d5397
4 changed files with 42 additions and 14 deletions

View File

@@ -25,6 +25,9 @@ pub const Cmd = struct {
buf: []u8, // only for read operations
err: ?Error = null,
// CDP
state: cdp.State = .{},
// JS fields
js_env: *public.Env,
try_catch: public.TryCatch,