Lines Matching refs:url
34 const url = new URL(expected.input, base);
35 assert_equals(url.href, expected.href, "href")
36 assert_equals(url.protocol, expected.protocol, "protocol")
37 assert_equals(url.username, expected.username, "username")
38 assert_equals(url.password, expected.password, "password")
39 assert_equals(url.host, expected.host, "host")
40 assert_equals(url.hostname, expected.hostname, "hostname")
41 assert_equals(url.port, expected.port, "port")
42 assert_equals(url.pathname, expected.pathname, "pathname")
43 assert_equals(url.search, expected.search, "search")
45 assert_true("searchParams" in url)
46 assert_equals(url.searchParams.toString(), expected.searchParams, "searchParams")
48 assert_equals(url.hash, expected.hash, "hash")