Debian Codegraph @

js/src/jit-test/tests/debug/bug1111199.js

raw
1 g = newGlobal({newCompartment: true})
2 g.parent = this
3 g.eval("Debugger(parent).onExceptionUnwind=(function(){})")
4 try {
5 function f(code) {
6 n = parseInt('', 0);
7 return g("try{}catch(e){}", n)
8 }
9 function g(s, n) {
10 s2 = s + s
11 d = (n - (function () {
12 return "" + this.id + eval.id;
13 } )().abstract) / 2
14 m = g(s2, d)
15 }
16 f("switch(''){default:break;}")
17 } catch(exc1) {}