DevTools: logging window object should prioritize user variables, not builtins |
||||
Issue descriptionWhen expanding the window object, a user first sees 'Infinity' and a bunch of built in classes. Usually, I want to see the global variables I have defined, and this forces me to scroll through pages of properties I'm uninterested in.
,
Dec 6 2016
,
Dec 8 2016
,
Dec 9 2016
Firefox also seems to sort enumerables first
,
Dec 9 2016
Proposal: de-prioritize names that start with '_'
,
Dec 13 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/67cb47ca97220d46c56d9c4ab7619753e4f2dd56 commit 67cb47ca97220d46c56d9c4ab7619753e4f2dd56 Author: luoe <luoe@chromium.org> Date: Tue Dec 13 05:42:39 2016 DevTools: sort non-enumerable and underscore properties lower in logged object BUG= 665948 Review-Url: https://codereview.chromium.org/2563883002 Cr-Commit-Position: refs/heads/master@{#438067} [modify] https://crrev.com/67cb47ca97220d46c56d9c4ab7619753e4f2dd56/third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt [modify] https://crrev.com/67cb47ca97220d46c56d9c4ab7619753e4f2dd56/third_party/WebKit/LayoutTests/inspector/console/console-format.html [modify] https://crrev.com/67cb47ca97220d46c56d9c4ab7619753e4f2dd56/third_party/WebKit/LayoutTests/inspector/console/console-log-object-with-getter-expected.txt [modify] https://crrev.com/67cb47ca97220d46c56d9c4ab7619753e4f2dd56/third_party/WebKit/LayoutTests/inspector/console/console-object-preview-expected.txt [modify] https://crrev.com/67cb47ca97220d46c56d9c4ab7619753e4f2dd56/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js
,
Dec 16 2016
|
||||
►
Sign in to add a comment |
||||
Comment 1 by l...@chromium.org
, Nov 16 2016