Skip to content
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
@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions