JS clicks and MouseInput clicks trigger page navigation

This commit is contained in:
Karl Seguin
2025-04-11 17:39:13 +08:00
parent 072bc514f4
commit 3134ff81f4
7 changed files with 152 additions and 81 deletions

View File

@@ -48,7 +48,7 @@ pub const URL = struct {
return parse(buf.items, null);
}
// Above, in `parse, we error if a host doesn't exist
// Above, in `parse`, we error if a host doesn't exist
// In other words, we can't have a URL with a null host.
pub fn host(self: *const URL) []const u8 {
return self.uri.host.?.percent_encoded;