summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/bug-1324773-2.js
blob: bf485ee6026dcd73c249295beba55ca4f488d5bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// |jit-test| skip-if: !('gczeal' in this)

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({});
`);