facebook/stetho

Runtime#getProperties returns empty array when ownProperties == false

Open

#365 aperta il 18 mar 2016

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Java (1163 fork)batch import
help wanted

Metriche repository

Star
 (12.643 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

According to the protocol, Runtime#getProperties contains a parameter ownProperties with the following documentation: If true, returns properties belonging only to the element itself, not to its prototype chain.. While it's not clear what happens if ownProperties is false, I assume it should return all properties (not just it's own properties). However, Stetho is currently returning an empty array. When I connected to ChromeDevTools, it passes false for this value, meaning nothing is showing up in Scope Variables view.

Guida contributor