blob: 021a7bc9abce3c7f2151ee3e217de394076e6865 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// |jit-test| error:ReferenceError
// Binary: cache/js-dbg-64-edf8075b0333-linux
// Flags:
//
var g = newGlobal({newCompartment: true});
var dbg = new Debugger(g);
dbg.onDebuggerStatement = function (frame) {
assertEq(dumpStack(), true);
};
g.eval("function f(a, [b, c], {x: [y], z: w}, {q}) { debugger; }");
g.eval("f(1, [2, 3], {x: [4], z: 5}, {q: 6});");
|