• Home
  • Raw
  • Download

Lines Matching defs:url

26     let url = base.join("/resources/testharness.js").unwrap();  in test_relative()  localVariable
33 let url = base.join("").unwrap(); in test_relative_empty() localVariable
71 let url = Url::from_file_path(Path::new($path)).unwrap(); localVariable
104 let url = Url::from_file_path(Path::new(OsStr::from_bytes(b"/foo/ba\x80r"))).unwrap(); in new_path_bad_utf8() localVariable
126 let url = Url::parse("file:///C%3A/foo/bar").unwrap(); in new_path_windows_fun() localVariable
137 let url = Url::from_directory_path(Path::new("/foo/bar")).unwrap(); in new_directory_paths() localVariable
150 let url = Url::from_directory_path(Path::new(r"C:\foo\bar")).unwrap(); in new_directory_paths() localVariable
174 let url = Url::parse_with_params( in parse_with_params() localVariable
188 let url: Url = "file:a".parse().unwrap(); in issue_124() localVariable
190 let url: Url = "file:...".parse().unwrap(); in issue_124() localVariable
192 let url: Url = "file:..".parse().unwrap(); in issue_124() localVariable
211 fn url(s: &str) -> Url { in test_equality() function
333 let url = Url::parse(input).unwrap(); in test_serialization() localVariable
379 let mut url = Url::parse("http://mozilla.org").unwrap(); in issue_61() localVariable
390 let mut url = Url::from_file_path("/").expect("Failed to parse path"); in issue_197() localVariable
409 let mut url: Url = "http://localhost:6767/foo/bar?a=b".parse().unwrap(); in append_trailing_slash() localVariable
419 let mut url: Url = "http://localhost:6767/foo/bar".parse().unwrap(); in extend_query_pairs_then_mutate() localVariable
438 let mut url: Url = "http://localhost:6767/foo/bar?a=b".parse().unwrap(); in append_empty_segment_then_mutate() localVariable
448 let mut url = Url::parse("https://example.net/hello").unwrap(); in test_set_host() localVariable
456 let mut url = Url::parse("foobar://example.net/hello").unwrap(); in test_set_host() localVariable
460 let mut url = Url::parse("foo://ș").unwrap(); in test_set_host() localVariable
590 let url = url::Url::parse(url_string).unwrap(); in test_socket_addrs() localVariable
622 let url = Url::parse("https://127.0.0.1/").unwrap(); in test_domain() localVariable
625 let url = Url::parse("mailto:test@example.net").unwrap(); in test_domain() localVariable
628 let url = Url::parse("https://example.com/").unwrap(); in test_domain() localVariable
634 let url = Url::parse("https://example.com/products?page=2#fragment").unwrap(); in test_query() localVariable
641 let url = Url::parse("https://example.com/products").unwrap(); in test_query() localVariable
645 let url = Url::parse("https://example.com/?country=español").unwrap(); in test_query() localVariable
652 let url = Url::parse("https://example.com/products?page=2&sort=desc").unwrap(); in test_query() localVariable
668 let url = Url::parse("https://example.com/#fragment").unwrap(); in test_fragment() localVariable
671 let url = Url::parse("https://example.com/").unwrap(); in test_fragment() localVariable
677 let mut url = Url::parse("http://example.com").unwrap(); in test_set_ip_host() localVariable
690 let mut url = Url::parse("https://existing.url").unwrap(); in test_set_href() localVariable
729 let url = Url::from_file_path(Path::new(r"\\host\share\path\file.txt")).unwrap(); in test_windows_unc_path() localVariable
732 let url = Url::from_file_path(Path::new(r"\\höst\share\path\file.txt")).unwrap(); in test_windows_unc_path() localVariable
735 let url = Url::from_file_path(Path::new(r"\\192.168.0.1\share\path\file.txt")).unwrap(); in test_windows_unc_path() localVariable
742 let url = Url::from_file_path(Path::new(r"\\?\UNC\host\share\path\file.txt")).unwrap(); in test_windows_unc_path() localVariable
746 let url = Url::from_file_path(Path::new(r"\\.\some\path\file.txt")); in test_windows_unc_path() localVariable
754 let url = Url::options() in test_syntax_violation_callback() localVariable
772 let url = Url::options() in test_syntax_violation_callback_lifetimes() localVariable
779 let url = Url::options() in test_syntax_violation_callback_lifetimes() localVariable
826 let url = options.parse("http:////mozilla.org").unwrap(); in test_options_reuse() localVariable
829 let url = options.parse("/sub\\path").unwrap(); in test_options_reuse() localVariable
898 let mut url: Url = "http://localhost:6767/foo/bar".parse().unwrap(); localVariable
906 let mut url = Url::parse("arhttpsps:/.//eom/dae.com/\\\\t\\:").unwrap(); localVariable
912 let mut url = Url::parse("m://").unwrap(); localVariable
973 let url = Url::parse(expected_slices.full).unwrap(); localVariable