New issue
Advanced search Search tips

Issue 677319 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Mar 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

DevTools: expanding an array shows an incorrect length in the description

Project Member Reported by l...@chromium.org, Dec 28 2016

Issue description

Evaluate this in the DevTools console:

var arr = [];
console.log(arr);
arr.push(1);

Click on the array with the triangle to expand it.

Actual output:
Array(0)
- 0: 1

Expected output
Array(1)
- 0: 1

Since the properties for logged objects are fetched upon first expansion, the expanded title "Array(0)" should also be computed on first expansion and reflect the number of properties underneath.
 

Comment 1 by l...@chromium.org, Mar 9 2017

Status: WontFix (was: Assigned)

Sign in to add a comment