summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug721497.js
blob: 55c028e355691ee90d19df2ce44ec7fc8e185258 (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();
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});");