summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1287399.js
blob: edaf0901bdc0dd85865152b0282005b372829cef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
if (typeof gczeal != "function" || helperThreadCount() === 0)
	quit(0);

var lfGlobal = newGlobal();
gczeal(4);
for (lfLocal in this) {}
lfGlobal.offThreadCompileScript(`
  var desc = {
    value: 'bar',
    value: false,
  };
`);