Closed Bug 1417486 Opened 7 years ago Closed 7 years ago

Object with integer keys is losing first key when drilled down in console inspector.

Categories

(DevTools :: Console, defect)

57 Branch
x86_64
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1371936

People

(Reporter: kevinjjackson93, Unassigned)

Details

(Whiteboard: [specification][type:bug])

What did you do?
================
1. Log an object with three keys as integers. (e.g.   console.log({1: '1', 2: '2', 3: '3'});
2. Open the developer tools to inspect the object.
3. Select the logged Object to expand the key & values.

What happened?
==============
The first key/value pair in the object gets removed from the view.

What should have happened?
==========================
The first key/value pair should be displayed.

Is there anything else we should know?
======================================
Bug found on:
MacOS Sierrra 10.12.6
Firefox Quantum 57.0 (64-bit)
Component: General → Untriaged
OS: Other → Mac OS X
Product: Mozilla Developer Network → Firefox
Hardware: All → x86_64
Version: unspecified → 57 Branch
Component: Untriaged → Developer Tools: Console
Hello Kevin !

Thanks for reporting. This is a known issue and we are tracking the work to fix it in Bug 1371936, so I'm setting this one as a duplicate. We'll try to fix it soon, it bothers a lot of people (myself included).
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.