Lines Matching refs:url
92 const bindingUrl = internalBinding('url');
111 // deliberately moved to `internal/url` rather than `url`.
179 // Refs: https://url.spec.whatwg.org/#concept-url
230 // "associated url object"
318 // https://url.spec.whatwg.org/#dom-urlsearchparams-urlsearchparams
612 // https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior
662 throw new ERR_MISSING_ARGS('url');
1005 static canParse(url, base = undefined) {
1007 throw new ERR_MISSING_ARGS('url');
1010 url = `${url}`;
1016 return bindingUrl.canParse(url, base);
1035 static revokeObjectURL(url) {
1036 url = `${url}`;
1039 const parsed = new URL(url);
1079 // Ref: https://url.spec.whatwg.org/#concept-urlencoded-parser
1178 // Ref: https://url.spec.whatwg.org/#concept-urlencoded-byte-serializer
1198 // Ref: https://url.spec.whatwg.org/#concept-urlencoded-serializer
1393 * @param {URL} url
1396 function urlToHttpOptions(url) {
1397 const { hostname, pathname, port, username, password, search } = url;
1400 ...url, // In case the url object was extended by the user.
1401 protocol: url.protocol,
1405 hash: url.hash,
1409 href: url.href,
1420 function getPathFromURLWin32(url) {
1421 const hostname = url.hostname;
1422 let pathname = url.pathname;
1455 function getPathFromURLPosix(url) {
1456 if (url.hostname !== '') {
1459 const pathname = url.pathname;
1490 // (See whatwg/url#419)