summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug677587.js
blob: 447d61387d8cd1b1c30d7e43e74e1230d25224da (plain)
1
2
3
4
5
6
7
8
9
10
11
// Binary: cache/js-dbg-64-f189dd6316eb-linux
// Flags:
//

var g = newGlobal();
g.eval("var a = {};");
var dbg = new Debugger;
var gw = dbg.addDebuggee(g);
var desc = gw.getOwnPropertyDescriptor("a");
gw.defineProperty("b", desc);
Debugger(g.a, g.b);