New issue
Advanced search Search tips

Issue 668922 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

Blocking:
issue 405845



Sign in to add a comment

Console expands horizontally instead of wrapping with large arrays of arrays

Reported by omgimale...@gmail.com, Nov 28 2016

Issue description

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

Steps to reproduce the problem:
1. Open console
2. Create array containing more arrays than your window will allow, for example 21+ with a window width of 1440px

What is the expected behavior?
The arrays will wrap to the next line.

What went wrong?
The arrays continued past the horizontal boundary of the console.

Did this work before? N/A 

Chrome version: 54.0.2840.98  Channel: stable
OS Version: OS X 10.11.4
Flash Version: Shockwave Flash 23.0 r0
 
Screen Shot 2016-11-28 at 1.13.33 PM.png
58.7 KB View Download
Cc: pfeldman@chromium.org
Owner: paulir...@chromium.org
mac triage: I can reproduce this locally, with "var a = new Array(55); a.fill(1);" or similar; the resulting array is wider than the console window instead of being wrapped. Not sure if this is by design or not.

Over to paulirish@ for devtools triage.
Cc: ligim...@chromium.org
Labels: M-54 Needs-Feedback Needs-Triage-M54
It would be great if someone can provide with a testcase so that TE can try a bisect if needed.
Cc: -pfeldman@chromium.org
Components: -UI Platform>DevTools>JavaScript
Labels: -M-54 -Needs-Triage-M54
Owner: l...@chromium.org
Status: Assigned (was: Unconfirmed)
I can't reproduce this behavior in Canary. 

(We changed it recently. Can you take a look there?)


Screen Shot 2016-11-29 at 7.23.38 PM.png
39.2 KB View Download

Comment 4 by l...@chromium.org, Dec 1 2016

Blocking: 405845
Labels: -Needs-Feedback
Status: Fixed (was: Assigned)
Thanks for the report.  This was fixed very recently, about a week ago on Canary.  Here's the associated CL:
https://codereview.chromium.org/2514123003/

At the time, I didn't make a separate bug for this, but filed it under the umbrella console formatting bug.  I'll update the description in the review with this issue number.

Sign in to add a comment