When Runtime.getProperties() is invoked from the Chrome DevTools with "ownProperties":false this call is ignored and no real value returned.
It's happens because of the explicit check for !request.ownProperties in Runtime.
Any ideas why this is present there? I am working on implementation of Debugger for J2V8, but this code prevents from retrieving values for the local variables when debugger is paused.
I know, that it's 3 years old code and without tests it's hard to understand why it's needed, but may be by the chance @jasta you might know why was it added there?
When
Runtime.getProperties()
is invoked from the Chrome DevTools with"ownProperties":false
this call is ignored and no real value returned.It's happens because of the explicit check for
!request.ownProperties
in Runtime.Any ideas why this is present there? I am working on implementation of Debugger for J2V8, but this code prevents from retrieving values for the local variables when debugger is paused.
I know, that it's 3 years old code and without tests it's hard to understand why it's needed, but may be by the chance @jasta you might know why was it added there?