Home
last modified time | relevance | path

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

/third_party/node/test/parallel/
Dtest-whatwg-url-custom-domainto.js11 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));
Dtest-url-domain-ascii-unicode.js11 const domainToUnicode = url.domainToUnicode; constant
29 const asciiConvertedToUnicode = domainToUnicode(ascii);
/third_party/node/benchmark/url/
Dwhatwg-url-idna.js3 const { domainToASCII, domainToUnicode } = require('url');
36 const method = to === 'ascii' ? domainToASCII : domainToUnicode;
/third_party/node/test/fixtures/wpt/url/
Dhistorical.any.js28 assert_equals(URL.domainToUnicode, undefined);
/third_party/node/lib/internal/
Durl.js81 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/
Durl.js50 domainToUnicode,
988 domainToUnicode, property
/third_party/node/doc/api/
Durl.md914 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/
DCHANGELOG_V7.md1392 …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…