summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/parser/bug-1324773.js
blob: 95248c02360222722ff36428fd0fca7152071bbe (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, 1);
    dbg.findScripts({});
`);