New issue
Advanced search Search tips

Issue 690371 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

console.log shows different information on expanded and collapsed states of an Object

Reported by qaral...@gmail.com, Feb 9 2017

Issue description

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

Steps to reproduce the problem:
1. Put this piece of code into the console
```
var xiyar = { open: false };
console.log(xiyar);
xiyar.open = true;
``` 

What is the expected behavior?
On expanded view of the Object the console should display:
```
Object
  open: false
```

What went wrong?
On expanded view, it's showing the current state of the object:
```
Object
  open: true
```
which happened after the console.log command

Did this work before? N/A 

Chrome version: 56.0.2924.87  Channel: stable
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 24.0 r0

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

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

Mergedinto: 690113
Status: Duplicate (was: Assigned)
Thank you for the ticket.

Logged objects show snapshots.  When clicking the expand arrow the first time, it evaluates the contents, as hinted by the 'i' icon.

Sign in to add a comment