mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
Don't send CDP result when message is forward to inspector.
Rely on inspector to send the result, otherwise we'll send 2 responses to the same message (one ourselves and one from the inspector), which Playwright does not like.
This commit is contained in:
committed by
Pierre Tachoire
parent
adb8779d00
commit
9de84aee2e
@@ -57,10 +57,6 @@ fn sendInspector(cmd: anytype, action: anytype) !void {
|
||||
}
|
||||
|
||||
bc.session.callInspector(cmd.input.json);
|
||||
|
||||
if (cmd.input.id != null) {
|
||||
return cmd.sendResult(null, .{});
|
||||
}
|
||||
}
|
||||
|
||||
pub const ExecutionContextCreated = struct {
|
||||
|
||||
Reference in New Issue
Block a user