Debian Codegraph @

js/src/jit-test/tests/profiler/bug1233921.js

raw
1 g = newGlobal({newCompartment: true});
2 g.parent = this;
3 g.eval("new Debugger(parent).onExceptionUnwind = function () {}");
4 enableGeckoProfiling();
5 try {
6 enableSingleStepProfiling();
7 } catch(e) {
8 quit();
9 }
10 f();
11 f();
12 function $ERROR() {
13 throw Error;
14 }
15 function f() {
16 try {
17 $ERROR()
18 } catch (ex) {}
19 }