New issue
Advanced search Search tips

Issue 616611 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

DevTools: console object value editing via double click doesn't set correct value

Project Member Reported by l...@chromium.org, Jun 1 2016

Issue description

1) Open Console in DevTools
2) Enter "{inner: []}"
3) Click the arrow to expand "Object {inner: Array[0]}"
4) Double click on the value "Array[0]" to enter editing mode
5) Type "{x: 5}" and press enter

What is expected?
The value of the 'inner' key should be '{x: 5}'.  Instead, DevTools just evaluates the expression as '5'.

Other examples:
Working
- Plain numbers 123
- Plain strings "abc"
- null
- undefined

Not always working
- Arrays [1,2,3]
- Objects {x: 1}
- Functions function(){}
 

Comment 1 by l...@chromium.org, Jun 1 2016

Owner: l...@chromium.org
Status: Assigned (was: Available)

Comment 4 by l...@chromium.org, Apr 20 2017

Status: Fixed (was: Assigned)

Sign in to add a comment