summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_bug935499.js
blob: 2da8168d2d473d4140627d5d85a45cea017db8ad (plain)
1
2
3
4
5
6
7
8
9
10
"use strict";

function run_test() {
  var idnService = Cc["@mozilla.org/network/idn-service;1"].getService(
    Ci.nsIIDNService
  );

  var isASCII = {};
  Assert.equal(idnService.convertToDisplayIDN("xn--", isASCII), "xn--");
}