Searched refs:domainToUnicode (Results 1 – 8 of 8) sorted by relevance
/third_party/node/test/parallel/ |
D | test-whatwg-url-custom-domainto.js | 11 const { domainToASCII, domainToUnicode } = require('url'); 22 assert.throws(() => domainToUnicode(), expectedError); 24 assert.strictEqual(domainToUnicode(undefined), 'undefined'); 31 assert.strictEqual(unicode, domainToUnicode(ascii), 33 assert.strictEqual(ascii, domainToASCII(domainToUnicode(ascii)), 35 assert.strictEqual(unicode, domainToUnicode(domainToASCII(unicode)), 50 assert.strictEqual(domainToUnicode(input), '', caseComment); 53 const roundtripped = domainToASCII(domainToUnicode(input));
|
D | test-url-domain-ascii-unicode.js | 11 const domainToUnicode = url.domainToUnicode; constant 29 const asciiConvertedToUnicode = domainToUnicode(ascii);
|
/third_party/node/benchmark/url/ |
D | whatwg-url-idna.js | 3 const { domainToASCII, domainToUnicode } = require('url'); 36 const method = to === 'ascii' ? domainToASCII : domainToUnicode;
|
/third_party/node/test/fixtures/wpt/url/ |
D | historical.any.js | 28 assert_equals(URL.domainToUnicode, undefined);
|
/third_party/node/lib/internal/ |
D | url.js | 81 domainToUnicode: _domainToUnicode, 430 domainToUnicode(ctx.host) : ctx.host; 1278 function domainToUnicode(domain) { function 1336 return `\\\\${domainToUnicode(hostname)}${pathname}`; 1487 domainToUnicode, property
|
/third_party/node/lib/ |
D | url.js | 50 domainToUnicode, 988 domainToUnicode, property
|
/third_party/node/doc/api/ |
D | url.md | 914 It performs the inverse operation to [`url.domainToUnicode()`][]. 929 ### `url.domainToUnicode(domain)` 949 console.log(url.domainToUnicode('xn--espaol-zwa.com')); 951 console.log(url.domainToUnicode('xn--fiq228c.com')); 953 console.log(url.domainToUnicode('xn--iñvalid.com')); 1538 [`url.domainToUnicode()`]: #url_url_domaintounicode_domain
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V7.md | 1392 …ode/commit/2b98ea0dec)] - **url**: move originFor, domainToAscii and domainToUnicode (James M Snel… 1615 …t/7144f811a6)] - **test**: add test for url module domainToAscii and domainToUnicode (Daryl Thayil…
|