summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1111199.js
blob: 30bce2e563d538d691d6c437c2507f1e4653c02d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
g = newGlobal()
g.parent = this
g.eval("Debugger(parent).onExceptionUnwind=(function(){})")
try {
function f(code) {
    n = parseInt('', 0);
    return g("try{}catch(e){}", n)
}
function g(s, n) {
    s2 = s + s
    d = (n - (function  ()  {
            return "" + this.id + eval.id;
        } )().abstract) / 2
    m = g(s2, d)
}
f("switch(''){default:break;}")
} catch(exc1) {}