facebook/stetho

Runtime#getProperties returns empty array when ownProperties == false

开放

#365 创建于 2016年3月18日

 (2 条评论) (0 个反应) (0 位负责人)Java (1,163 个派生)batch import
help wanted

仓库指标

星标
 (12,643 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南