Searched refs:resourceHREF (Results 1 – 1 of 1) sorted by relevance
651 const emptyOrProtocolOrResolve = (resourceHREF, base) => { argument652 if (resourceHREF === '') return '';653 if (StringPrototypeEndsWith(resourceHREF, ':')) {655 resourceHREF = StringPrototypeReplace(656 resourceHREF,661 if (RegExpPrototypeTest(/^[a-zA-Z][a-zA-Z+\-.]*:$/, resourceHREF)) {662 return resourceHREF;665 return resolve(resourceHREF, base).href;