mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-16 16:28:58 +00:00
JS clicks and MouseInput clicks trigger page navigation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user