gecko/netwerk/test/unit/test_bug935499.js
2013-11-16 18:30:12 +09:00

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--");
}