summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug798678.js
blob: e68dae4d0c142855fc269a3a18cf4b97bd3d2285 (plain)
1
2
3
4
5
6
7
8
9
10
var w = new WeakMap();
var g = newGlobal();
var k = g.eval('for (var i=0; i<100; i++) new Object(); var q = new Object(); q');
w.set(k, {});
k = null;

gc();
g.eval('q = null');
gc(g);
gc();