summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug909441.js
blob: fc6ba5ba56a106db69c14fe7bcada82ad93c393b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// |jit-test| error: too much recursion
function f(code) {
    try {
        g = Function(code)
    } catch (e) {}
    g()
}
f("\
    Object.defineProperty(this,\"x\",{\
        get: function(){\
            evaluate(\"Array(x)\",{\
                catchTermination:(function(){})\
            })\
        }\
    })\
");
f("x");
f(")");
f("x");