summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1827072.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/basic/bug1827072.js')
-rw-r--r--js/src/jit-test/tests/basic/bug1827072.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/bug1827072.js b/js/src/jit-test/tests/basic/bug1827072.js
new file mode 100644
index 0000000000..e28efd1885
--- /dev/null
+++ b/js/src/jit-test/tests/basic/bug1827072.js
@@ -0,0 +1,2 @@
+try { newString("", { capacity: 1 }); } catch (e) { };
+newString("x", { capacity: 2, tenured: true });