cdp: fix a comment on page.navigate

Signed-off-by: Francis Bouvier <francis@lightpanda.io>
This commit is contained in:
Francis Bouvier
2024-10-09 15:18:55 +02:00
parent 17c641845e
commit 7ad03fb548

View File

@@ -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},
); );