Skip to content

Commit 504ee74

Browse files
committed
cdp: remove event dispateched by inspector
1 parent 9981953 commit 504ee74

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/cdp/runtime.zig

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -131,26 +131,6 @@ fn sendInspector(
131131
}
132132
}
133133

134-
if (method == .enable) {
135-
try executionContextCreated(
136-
alloc,
137-
ctx,
138-
1,
139-
"://",
140-
"",
141-
// TODO: hard coded ID
142-
"7102379147004877974.3265385113993241162",
143-
.{
144-
.isDefault = true,
145-
.type = "default",
146-
// TODO: hard coded ID
147-
.frameId = cdp.FrameID,
148-
},
149-
// TODO: hard coded ID
150-
msg.sessionId orelse target.BrowserContextID,
151-
);
152-
}
153-
154134
ctx.sendInspector(msg.json);
155135

156136
return "";

0 commit comments

Comments
 (0)