blob: 7237e55420b2afcc137e2ca7ba579775dfe716ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// |jit-test| allow-oom
function x() {
var global = newGlobal({sameZoneAs: this});
global.eval('function f() { debugger; }');
var debug = new Debugger(global);
var foo;
debug.onDebuggerStatement = function(frame) {
foo = frame.arguments[0];
return null;
};
global.eval('f(0)');
}
oomTest(x, false);
|