facebook/stetho

Runtime#getProperties returns empty array when ownProperties == false

オープン

#365 opened on 2016/03/18

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Java (1,163 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (12,643 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド