gecko-dev/netwerk/test/unit/test_bug935499.js

8 строки
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--");
}