Home
last modified time | relevance | path

Searched refs:resourceHREF (Results 1 – 1 of 1) sorted by relevance

/third_party/node/lib/internal/policy/
Dmanifest.js651 const emptyOrProtocolOrResolve = (resourceHREF, base) => { argument
652 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;