fix navigation and related tests

This commit is contained in:
Muki Kiboigo
2025-10-10 04:02:42 -07:00
parent d579f21bf2
commit b5f0d017cc
14 changed files with 168 additions and 146 deletions

View File

@@ -174,7 +174,7 @@ pub fn pageNavigate(arena: Allocator, bc: anytype, event: *const Notification.Pa
var cdp = bc.cdp;
const reason_: ?[]const u8 = switch (event.opts.reason) {
.anchor => "anchorClick",
.script, .history => "scriptInitiated",
.script, .history, .navigation => "scriptInitiated",
.form => switch (event.opts.method) {
.GET => "formSubmissionGet",
.POST => "formSubmissionPost",