blob: 416073f756a3d6d96575a34f2fd05595ec1203aa (
plain)
1
2
3
4
5
6
7
8
9
|
setJitCompilerOption("baseline.warmup.trigger", 0);
var g = newGlobal({newCompartment: true});
var dbg = new Debugger;
dbg.addDebuggee(g);
g.eval("" + function f() { return 7; });
dbg.onEnterFrame = function() {
dbg.removeDebuggee(g);
}
assertEq(g.f(), 7);
|