intl/uconv/tests/unit/test_bug522931.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/uconv/tests/unit/test_bug522931.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,6 @@
     1.4 +// crash test with invaild parameter (bug 522931)
     1.5 +function run_test()
     1.6 +{
     1.7 +  var textToSubURI = Components.classes["@mozilla.org/intl/texttosuburi;1"].getService(Components.interfaces.nsITextToSubURI);
     1.8 +  do_check_eq(textToSubURI.UnEscapeAndConvert("UTF-8", null), "");
     1.9 +}

mercurial