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

var g = newGlobal({newCompartment: true});
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);