New issue
Advanced search Search tips

Issue 689194 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 688137
Owner:
Closed: Feb 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Runtime condole.log gets involuntarily updated

Reported by juanigna...@gmail.com, Feb 6 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36

Steps to reproduce the problem:
1. console.log() an [object] with some arrays inside it (example: 4)
2. push more arrays into that [object] (example: 10 more)
3. see the console, a list of the arrays at the time of console.log() are shown in a collapsed way  (4)
4. expand the object and suddenly the later pushed arrays appear (14 instead of 4)

What is the expected behavior?
have a list of the items that were logged, not the updated value. if an updated value is really desired, it should update the collapsed list as well

What went wrong?
dev tools updated the expanded list which is counter intuitive 

Did this work before? N/A 

Chrome version: 55.0.2883.95  Channel: stable
OS Version: OS X 10.12.3
Flash Version: Shockwave Flash 24.0 r0

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

Comment 2 by l...@chromium.org, Feb 6 2017

Mergedinto: 688137
Status: Duplicate (was: Assigned)
Thank you for the report.  DevTools evaluates properties upon the first time the object is expanded.  This leads to a mismatch between the collapsed snapshot and the properties underneath.

Sign in to add a comment