Lines Matching refs:port
5 port = "8000",
9 return `${scheme}://${username}:${password}@${host}:${port}/${pathname}?${search}#${hash}`;
88 url.port = String.fromCodePoint(i) + "9000";
89 assert_equals(url.port, expected, "property");
90 assert_equals(url.href, urlString({ scheme, port: expected }), "href");
91 }, `Setting port with leading ${cpReference} (${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");
99 }, `Setting port with middle ${cpReference} (${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");
107 }, `Setting port with trailing ${cpReference} (${scheme}:)`);