summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/Debugger-debuggees-05.js
blob: 569594de9c0e195dc307197f4b4e7d729be66fa9 (plain)
1
2
3
4
5
6
7
8
// addDebuggee returns different Debugger.Object wrappers for different Debugger objects.

var g = newGlobal();
var dbg1 = new Debugger;
var gw1 = dbg1.addDebuggee(g);
var dbg2 = new Debugger;
var gw2 = dbg2.addDebuggee(g);
assertEq(gw1 !== gw2, true);