mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 21:55:31 +00:00
8 lines
227 B
JavaScript
8 lines
227 B
JavaScript
function run_test() {
|
|
var idnService = Cc["@mozilla.org/network/idn-service;1"]
|
|
.getService(Ci.nsIIDNService);
|
|
|
|
var isASCII = {};
|
|
do_check_eq(idnService.convertToDisplayIDN("xn--", isASCII), "xn--");
|
|
}
|