1 2 3 4 5 6 7 8
// Property values that are objects are reflected as Debugger.Objects. var g = newGlobal(); var dbg = Debugger(); var gobj = dbg.addDebuggee(g); g.self = g; var desc = gobj.getOwnPropertyDescriptor("self"); assertEq(desc.value, gobj);