diff options
Diffstat (limited to 'js/src/jit-test/tests/gc/bug-1569840.js')
-rw-r--r-- | js/src/jit-test/tests/gc/bug-1569840.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/gc/bug-1569840.js b/js/src/jit-test/tests/gc/bug-1569840.js new file mode 100644 index 0000000000..70d28add73 --- /dev/null +++ b/js/src/jit-test/tests/gc/bug-1569840.js @@ -0,0 +1,9 @@ + +gczeal(0); + +gcparam("maxNurseryBytes", 1024*1024); +gcparam("minNurseryBytes", 1024*1024); +var obj = { foo: 'bar', baz: [1, 2, 3]}; +minorgc(); +assertEq(gcparam("nurseryBytes"), 1024*1024); + |