New issue
Advanced search Search tips

Issue 610082 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug

Blocking:
issue 405845



Sign in to add a comment

HTMLElement in Set is not represented correctly in the console

Reported by fatalis....@gmail.com, May 7 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36

Steps to reproduce the problem:
var a = [document.createElement('span')]
var b = new Set(a)
console.log(a, b)

What is the expected behavior?
The HTMLElement should be represented the same in both cases (for example, as it is in Firefox's console).

What went wrong?
The HTMLElement is represented as the string "span {}" inside the Set.

Did this work before? No 

Chrome version: 50.0.2661.94  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 21.0 r0
 

Comment 1 by caseq@chromium.org, May 10 2016

Labels: -OS-Windows OS-All
Owner: l...@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 2 by l...@chromium.org, Sep 30 2016

Blocking: 405845

Comment 3 by l...@chromium.org, Jul 21 2017

Status: Fixed (was: Assigned)
Thanks for the report.  This should have been fixed in one of our console preview changes.  Unfortunately those changes weren't tagged with this bug, but I bisected the fix to:
https://chromium.googlesource.com/chromium/src/+/8cd4a51cd17b2b672793c6308e3ce4aa0f86adb5

The fix is currently in Beta and should be available when stable is updated to M60.

Sign in to add a comment