cdp: remove event dispateched by inspector

This commit is contained in:
Pierre Tachoire
2024-12-29 10:22:20 +01:00
parent c5688c1bd3
commit c149f65158

View File

@@ -129,26 +129,6 @@ fn sendInspector(
} }
} }
if (method == .enable) {
try executionContextCreated(
alloc,
ctx,
1,
"://",
"",
// TODO: hard coded ID
"7102379147004877974.3265385113993241162",
.{
.isDefault = true,
.type = "default",
// TODO: hard coded ID
.frameId = cdp.FrameID,
},
// TODO: hard coded ID
msg.sessionId orelse target.BrowserContextID,
);
}
ctx.sendInspector(msg.json); ctx.sendInspector(msg.json);
if (msg.id == null) return ""; if (msg.id == null) return "";