Debian Codegraph @

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

raw
1 var lfcode = new Array();
2 lfcode.push = loadFile;
3 lfcode.push("\
4 var g = newGlobal({newCompartment: true});\
5 g.debuggeeGlobal = this;\
6 g.eval(\"(\" + function () {\
7 dbg = new Debugger(debuggeeGlobal);\
8 } + \")();\");\
9 ");
10 lfcode.push("gc();");
11 lfcode.push("\
12 var g = newGlobal({newCompartment: true});\
13 g.debuggeeGlobal = this;\
14 g.eval(\"(\" + function () {\
15 dbg = new Debugger(debuggeeGlobal);\
16 } + \")();\");\
17 ");
18 function loadFile(lfVarx) {
19 function newFunc(x) { new Function(x)(); }; newFunc(lfVarx);
20 }