pub fn is_same_origin(a: &Url, b: &Url) -> bool
Whether two URLs share a scheme, host and port, with default ports treated as equal to their explicit form.