mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00:00
Handle sessionId in result
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
@@ -2,9 +2,10 @@ const std = @import("std");
|
||||
|
||||
const server = @import("../server.zig");
|
||||
const Ctx = server.Cmd;
|
||||
const result = @import("cdp.zig").result;
|
||||
const getParams = @import("cdp.zig").getParams;
|
||||
const stringify = @import("cdp.zig").stringify;
|
||||
const cdp = @import("cdp.zig");
|
||||
const result = cdp.result;
|
||||
const getParams = cdp.getParams;
|
||||
const stringify = cdp.stringify;
|
||||
|
||||
const TargetMethods = enum {
|
||||
setAutoAttach,
|
||||
@@ -63,7 +64,7 @@ fn tagetSetAutoAttach(
|
||||
const attached = try stringify(alloc, AttachToTarget{});
|
||||
try server.sendSync(ctx, attached);
|
||||
|
||||
return result(alloc, id, null, null);
|
||||
return result(alloc, id, null, null, null);
|
||||
}
|
||||
|
||||
fn tagetGetTargetInfo(
|
||||
|
||||
Reference in New Issue
Block a user