Issue metadata
Sign in to add a comment
|
Runtime condole.log gets involuntarily updated
Reported by
juanigna...@gmail.com,
Feb 6 2017
|
||||||||||||||||||||||
Issue descriptionUserAgent: 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
,
Feb 6 2017
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 |
|||||||||||||||||||||||
Comment 1 by kozyatinskiy@chromium.org
, Feb 6 2017Status: Assigned (was: Unconfirmed)