Lines Matching refs:url
31 const url = urlRecord(scheme);
32 url.protocol = String.fromCodePoint(i) + (scheme === "https" ? "http" : "wpt--");
33 assert_equals(url.protocol, expected + ":", "property");
34 assert_equals(url.href, urlString({ scheme: expected }), "href");
39 const url = urlRecord(scheme);
40 url.protocol = (scheme === "https" ? "http" : "wpt--") + String.fromCodePoint(i);
41 assert_equals(url.protocol, expected + ":", "property");
42 assert_equals(url.href, urlString({ scheme: expected }), "href");
55 const url = urlRecord(scheme);
56 url[property] = input;
57 assert_equals(url[property], expected, "property");
58 assert_equals(url.href, urlString({ scheme, [property]: expected }), "href");
70 const url = urlRecord(scheme);
71 url.host = input;
72 assert_equals(url.host, expected + ":8000", "property");
73 assert_equals(url.href, urlString({ scheme, host: expected }), "href");
78 const url = urlRecord(scheme);
79 url.hostname = input;
80 assert_equals(url.hostname, expected, "property");
81 assert_equals(url.href, urlString({ scheme, host: expected }), "href");
87 const url = urlRecord(scheme);
88 url.port = String.fromCodePoint(i) + "9000";
89 assert_equals(url.port, expected, "property");
90 assert_equals(url.href, urlString({ scheme, port: expected }), "href");
95 const url = urlRecord(scheme);
96 url.port = "90" + String.fromCodePoint(i) + "00";
97 assert_equals(url.port, expected, "property");
98 assert_equals(url.href, urlString({ scheme, port: expected }), "href");
103 const url = urlRecord(scheme);
104 url.port = "9000" + String.fromCodePoint(i);
105 assert_equals(url.port, expected, "property");
106 assert_equals(url.href, urlString({ scheme, port: expected }), "href");
117 const url = urlRecord(scheme);
118 url[property] = input;
119 assert_equals(url[property], separator + expected, "property");
120 assert_equals(url.href, urlString({ scheme, [property]: expected }), "href");