mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
cdp: fix a comment on page.navigate
Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
@@ -284,7 +284,7 @@ fn navigate(
|
|||||||
ctx.state.executionContextId += 1;
|
ctx.state.executionContextId += 1;
|
||||||
const auxData = try std.fmt.allocPrint(
|
const auxData = try std.fmt.allocPrint(
|
||||||
alloc,
|
alloc,
|
||||||
// TODO: we assume this is the default web page, is it right?
|
// NOTE: we assume this is the default web page
|
||||||
"{{\"isDefault\":true,\"type\":\"default\",\"frameId\":\"{s}\"}}",
|
"{{\"isDefault\":true,\"type\":\"default\",\"frameId\":\"{s}\"}}",
|
||||||
.{ctx.state.frameID},
|
.{ctx.state.frameID},
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user