blob: 8f8143132e5dd5764dc8ac827a59475b9006f3b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// |jit-test| allow-oom; skip-if: !('oomTest' in this)
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);
|