summaryrefslogtreecommitdiffstats
path: root/intl/uconv/tests/unit/test_bug522931.js
blob: c7a331a2e36f6c9eb913beb473cefe2e7896c227 (plain)
1
2
3
4
5
6
// crash test with invaild parameter (bug 522931)
function run_test()
{
  var textToSubURI = Components.classes["@mozilla.org/intl/texttosuburi;1"].getService(Components.interfaces.nsITextToSubURI);
  do_check_eq(textToSubURI.UnEscapeAndConvert("UTF-8", null), "");
}