summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/bug-1324773-2.js
blob: 1510232237e86497d2a3e91f94689ae56c90ad3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if (!('gczeal' in this))
    quit();
var lfGlobal = newGlobal();
lfGlobal.evaluate(`
    for (var i = 0; i < 600; i++)
        eval('function f' + i + '() {}');
`);
var lfGlobal = newGlobal();
lfGlobal.evaluate(`
    if (!('gczeal' in this))
        quit();
    var dbg = new Debugger();
    gczeal(9, 10);
    dbg.findScripts({});
`);