This repository was archived by the owner on May 6, 2020. It is now read-only.
This repository was archived by the owner on May 6, 2020. It is now read-only.
SDK JsVariable.getName should not add '[' and ']' to property name in V8 Standalone implementation #77
Open
Description
SDK/Debugger version: 0.3.6
In V8 Standalone debug protocol implementation method getName() of JsVariable
returned from JsObject.getProperties() method will return "[1]" for property
named "1" (because it is parsed as numeric property and because V8 internally
handles it as 'indexed'.
SDK must simply return plain property name "1" without any decorations. It
should be up to UI to add those decorators. Additionally, helper method
"getNameAsNumber" could be provided for those who got used to handle numeric
properties differently.
Original issue reported on code.google.com by [email protected]
on 12 Sep 2012 at 4:54