summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-19 10:25:44 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-19 10:25:44 +0100
commitcf70142093eb145b8e349bd7a95e22a55662a6d3 (patch)
tree27e461319f13b15550561c6534b32dbca0d264d0 /js/src/jit-test
parentfaa5f0df26e09d1f2e633618476294d112c24322 (diff)
downloadUXP-cf70142093eb145b8e349bd7a95e22a55662a6d3.tar
UXP-cf70142093eb145b8e349bd7a95e22a55662a6d3.tar.gz
UXP-cf70142093eb145b8e349bd7a95e22a55662a6d3.tar.lz
UXP-cf70142093eb145b8e349bd7a95e22a55662a6d3.tar.xz
UXP-cf70142093eb145b8e349bd7a95e22a55662a6d3.zip
Bug 1323868: Report object allocation failure when running off-main-thread
Issue #77 [Depends on] Bug 1192038: RegExp.prototype should be an ordinary object
Diffstat (limited to 'js/src/jit-test')
-rw-r--r--js/src/jit-test/tests/gc/bug-1323868.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/gc/bug-1323868.js b/js/src/jit-test/tests/gc/bug-1323868.js
new file mode 100644
index 000000000..c7e8c9b08
--- /dev/null
+++ b/js/src/jit-test/tests/gc/bug-1323868.js
@@ -0,0 +1,5 @@
+if (helperThreadCount() == 0)
+ quit();
+startgc(8301);
+offThreadCompileScript("(({a,b,c}))");
+gcparam("maxBytes", gcparam("gcBytes"));