summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/regress/regress-1456512-greyreadbarrier.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/non262/regress/regress-1456512-greyreadbarrier.js')
-rw-r--r--js/src/tests/non262/regress/regress-1456512-greyreadbarrier.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/tests/non262/regress/regress-1456512-greyreadbarrier.js b/js/src/tests/non262/regress/regress-1456512-greyreadbarrier.js
new file mode 100644
index 0000000000..7b145363ce
--- /dev/null
+++ b/js/src/tests/non262/regress/regress-1456512-greyreadbarrier.js
@@ -0,0 +1,9 @@
+// |reftest| skip-if(!xulRuntime.shell) -- needs grayRoot
+
+var wm = new WeakMap();
+grayRoot().map = wm;
+wm = null;
+gczeal(13, 7);
+var lfOffThreadGlobal = newGlobal();
+
+reportCompare('do not crash', 'do not crash', 'did not crash!');