summaryrefslogtreecommitdiffstats
path: root/intl/uconv/tests/unit/test_bug522931.js
diff options
context:
space:
mode:
Diffstat (limited to 'intl/uconv/tests/unit/test_bug522931.js')
-rw-r--r--intl/uconv/tests/unit/test_bug522931.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/intl/uconv/tests/unit/test_bug522931.js b/intl/uconv/tests/unit/test_bug522931.js
new file mode 100644
index 0000000000..2dae8d72e9
--- /dev/null
+++ b/intl/uconv/tests/unit/test_bug522931.js
@@ -0,0 +1,4 @@
+// crash test with invaild parameter (bug 522931)
+function run_test() {
+ Assert.equal(Services.textToSubURI.UnEscapeAndConvert("UTF-8", null), "");
+}