New issue
Advanced search Search tips

Issue 670520 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Dec 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 405845



Sign in to add a comment

DevTools: make getter properties click-to-reveal-value in object/array previews

Project Member Reported by l...@chromium.org, Dec 2 2016

Issue description

Enter this in the DevTools console:

var arr = [];
Object.defineProperty(arr, 0, { get() {return 1} });
arr;

The output should be [(...)] with the ellipsis being clickable.  On click, it should invoke the getter, just like how it doable when the object is expanded.
 
Is it fixed?

From my test clicking once it expands arr and clicking again on the index's ellipsis invokes the getter.

Or are you saying the getter should be invoked at the first click?

Comment 2 by l...@chromium.org, Dec 8 2017

Status: WontFix (was: Assigned)
This request has been open for awhile, and with our current priorities, it does not seem like it will be fixed soon.  Marking as WontFix.

Sign in to add a comment