New issue
Advanced search Search tips

Issue 665687 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 508056
Owner: ----
Closed: Nov 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

DevTools: hide null and empty properties on DOM elements

Reported by zac.spit...@gmail.com, Nov 16 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36

Steps to reproduce the problem:
1. Select an element in the elements panel
2. Choose Properties in the side panel
3. Expand the element

What is the expected behavior?
All Empty and null properties are listed

What went wrong?
Rather than show all the empty and null properties by default, they should be initially hidden so developers can focus on properties with values

Did this work before? N/A 

Chrome version: 54.0.2840.99  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 23.0 r0

This also affects browsing objects when profiling, you have to wade thru noise to find the useful properties. 

For example, when examining a detached dom tree element, outerHTML is perhaps the most informative property, yet you need to scroll down 10 pages of mostly null and empty properties to get to it
 

Comment 1 by l...@chromium.org, Nov 16 2016

Mergedinto: 508056
Status: Duplicate (was: Unconfirmed)
Thank you for the report!  Yes, it's really a bad experience to scroll through a bunch of on-* listener properties on an element when they are usually not informative.  We could make outerHTML, scrollTop, etc should be more accessible by hiding null-inherited properties as you suggested, whitelisting, or some combo.

There's a duplicate bug to track progress on this: https://bugs.chromium.org/p/chromium/issues/detail?id=508056

Please star the other bug, as starring is a way that we prioritize issues.  Thanks for your feedback!
given the other bug was archived, can this be reopened?

Sign in to add a comment