Created attachment 806633 [details] Frame-onPop-22.js The attached test case fails, because for some reason the onPop handler can't read objects. No other test case covers this case; they all use non-object return value types.
c.return is a Debugger.Object object. It doesn't automatically reflect the referent's properties, and that's why `c.return.foo` doesn't work. Instead you can say: c.return.getOwnPropertyDescriptor("foo").value Inconvenient, I know. We made a conscious design decision to make all operations on debuggee values extremely explicit, so that debugger code never accidentally causes the debuggee to run. Test code ends up looking kind of weird.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.