summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1723840.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/gc/bug-1723840.js')
-rw-r--r--js/src/jit-test/tests/gc/bug-1723840.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/gc/bug-1723840.js b/js/src/jit-test/tests/gc/bug-1723840.js
new file mode 100644
index 0000000000..95bd7fd2df
--- /dev/null
+++ b/js/src/jit-test/tests/gc/bug-1723840.js
@@ -0,0 +1,12 @@
+gczeal(0);
+gcstress = 1;
+Object.defineProperty(this, "", {
+ value: eval
+});
+gczeal(11);
+gczeal(6, 5);
+const a = { b: 7 };
+const c = [a, ""];
+const d = [c];
+new WeakMap(d);
+