Skip to content

Commit 8ba911c

Browse files
committed
cdp: return provided browser context id if any
1 parent b3054d6 commit 8ba911c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdp/target.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ fn createTarget(
301301
.targetId = ctx.state.frameID,
302302
.title = "",
303303
.url = ctx.state.url,
304-
.browserContextId = ContextID,
304+
.browserContextId = msg.params.?.browserContextId orelse ContextID,
305305
},
306306
.waitingForDebugger = true,
307307
};

0 commit comments

Comments
 (0)