summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/bug1006205.js
blob: dc899523a164ab23336ba7b936341f07db10e22f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
var lfcode = new Array();
lfcode.push = loadFile;
lfcode.push("\
var g = newGlobal({newCompartment: true});\
g.debuggeeGlobal = this;\
g.eval(\"(\" + function () {\
        dbg = new Debugger(debuggeeGlobal);\
    } + \")();\");\
");
lfcode.push("gc();");
lfcode.push("\
var g = newGlobal({newCompartment: true});\
g.debuggeeGlobal = this;\
g.eval(\"(\" + function () {\
  dbg = new Debugger(debuggeeGlobal);\
} + \")();\");\
");
function loadFile(lfVarx) {
function newFunc(x) { new Function(x)(); }; newFunc(lfVarx);
}