Skip to content
This repository has been archived by the owner on May 2, 2018. It is now read-only.

Displays array element with accessor descriptor more accurately #140

Closed
nchevobbe opened this issue Apr 26, 2017 · 1 comment
Closed

Displays array element with accessor descriptor more accurately #140

nchevobbe opened this issue Apr 26, 2017 · 1 comment
Labels

Comments

@nchevobbe
Copy link
Member

In https://bugzilla.mozilla.org/show_bug.cgi?id=1358919 we will do some work on the backend side to send the appropriate information when elements of array have a getter.
On the Reps side, we should make sure to consume those data when they'll be available.

Steps to reproduce:
Evaluate x = [0]; Object.defineProperty(x, '0', { get: function() { return 0; } });

Expected results:
The rep displays as Array [ Getter ]

Actual results:
The rep displays as Array [ null ]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant