Property values on platform objects are misreported as "forbidden"
mootari opened this issue · comments
When walking an object, valueof
attempts to access properties on the object's prototype:
Lines 18 to 26 in fe14a1b
Due to implementation details for getters on platform objects this throws TypeError: Illegal invocation
, which then gets caught and misinterpreted as SecurityError
. As a result the property value is rendered as [forbidden]
.
To reproduce:
- Create a cell that returns a native object (e.g.
screen
,performance
) - Expand the object