summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_bug935499.js
blob: 5e2ba656931b4a4439e6f27bde6aab0a2dd55989 (plain)
1
2
3
4
5
6
7
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--");
}