Closed Bug 1369906 Opened 7 years ago Closed 7 years ago

Getters and setters displayed as Object in the new console

Categories

(DevTools :: Console, enhancement, P3)

enhancement

Tracking

(firefox56 fixed)

RESOLVED FIXED
Tracking Status
firefox56 --- fixed

People

(Reporter: Oriol, Unassigned)

References

Details

Run this code in the old console: ({get a(){return 1}, set b(_){}}) It shows Object { a: Getter, b: Getter } It should say Setter for b, but whatever, this is useful. Now run it in the new console frontend, it shows Object { a: Object, b: Object } So bad, it looks like if the properties were not accessors and their value was an object.
Hello, This is tracked in Github, where the code that deal with object representation lives : https://github.com/devtools-html/reps/issues/138
Priority: -- → P3
Fixed by bug 1380790.
Depends on: 1380790
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.