New issue
Advanced search Search tips

Issue 667614 link

Starred by 3 users

Issue metadata

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



Sign in to add a comment

DevTools: console abbreviates things weirdly

Project Member Reported by lushnikov@chromium.org, Nov 22 2016

Issue description

Please, take a look on the screenshot.

This is hard:

[B…s.B…r.S…e.Item]
 
console-abbreviate.png
118 KB View Download
Labels: Hotlist-Polish

Comment 2 by l...@chromium.org, Dec 6 2016

Attached are some screenshots of today's behavior and proposals.

abbr1: Object names are full length.  Property names and entries are shortened.
abbr2: Object names are full length.  Property names and entries are full length.
abbr3: Object names are full length.  Property names are full length, but array entries are shortened.
abbrToday.png
54.0 KB View Download
abbr1.png
53.9 KB View Download
abbr2.png
59.8 KB View Download
abbr3.png
58.1 KB View Download

Comment 3 by l...@chromium.org, Dec 7 2016

Status: Started (was: Assigned)
A CL is out that adds a tooltip for truncated names and always shows the full name for the title (name before the preview).
Project Member

Comment 4 by bugdroid1@chromium.org, Dec 16 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/aa907d22729b4080eb1f3b15f0296b27799cfba0

commit aa907d22729b4080eb1f3b15f0296b27799cfba0
Author: luoe <luoe@chromium.org>
Date: Fri Dec 16 04:40:04 2016

DevTools: add tooltip for truncated classnames and full name for title

This CL adds a tooltip for name abbreviations and no longer truncates the object
name when it is the title. Long names in previews are still truncated.

BUG= 667614 

Review-Url: https://codereview.chromium.org/2553293002
Cr-Commit-Position: refs/heads/master@{#439024}

[modify] https://crrev.com/aa907d22729b4080eb1f3b15f0296b27799cfba0/third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt
[modify] https://crrev.com/aa907d22729b4080eb1f3b15f0296b27799cfba0/third_party/WebKit/LayoutTests/inspector/console/console-format.html
[modify] https://crrev.com/aa907d22729b4080eb1f3b15f0296b27799cfba0/third_party/WebKit/Source/devtools/front_end/components/RemoteObjectPreviewFormatter.js

Comment 5 by l...@chromium.org, Dec 16 2016

Status: Fixed (was: Started)

Sign in to add a comment