summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug673468.js
blob: 90749115b391034c4fca54e9ef75464f5c0e0e27 (plain)
1
2
3
4
5
6
7
8
var g = newGlobal();
var k = g.eval('var u = new Object(); u');
var m = new WeakMap();
m.set(k, {});
k = null;
gc();
k = g.eval('u');
assertEq(m.has(k), true);