Bug 1466166 - Fix test code for bug 1464872 to work with GC zeal. r=sfink, a=test-only
authorJon Coppeard <jcoppeard@mozilla.com>
Fri, 01 Jun 2018 09:31:00 -0400
changeset 805983 eaa2a32195a5400aafd2b38cfbc67d80235ec36a
parent 805982 abacc033e410d09b249a2233d42b05f0ff131b00
child 805984 3d398e273ea386e6c66d2d4687f88531eed33f46
push id112832
push userbballo@mozilla.com
push dateFri, 08 Jun 2018 21:11:22 +0000
reviewerssfink, test-only
bugs1466166, 1464872
milestone60.0.2
Bug 1466166 - Fix test code for bug 1464872 to work with GC zeal. r=sfink, a=test-only
js/src/jit-test/tests/gc/bug-1464872.js
--- a/js/src/jit-test/tests/gc/bug-1464872.js
+++ b/js/src/jit-test/tests/gc/bug-1464872.js
@@ -1,8 +1,10 @@
+gczeal(0);
+
 var g = newGlobal();
 var dbg = Debugger(g);
 dbg.onEnterFrame = function(frame) {};
 
 var g2 = newGlobal();
 g2[g] = g;
 g2.evaluate("grayRoot()")
 g2 = undefined;