Open Bug 1596100 Opened 5 years ago Updated 2 years ago

Can't expand object with symbol keys

Categories

(DevTools :: DOM, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

Details

Steps to reproduce

  1. Navigate to data:text/html,<script>window.a = {[Symbol("hello")]: {a: [1,2,3]}};</script>
  2. Open the DOM panel

Expected results

a should be expandable

Actual results

a isn't expandable


it only happens if there's only Symbol-keyed properties, with the following data:text/html,<script>window.a = {b: 1, [Symbol("hello")]: {a: [1,2,3]},[Symbol()]: {b: [4,5,6]},[Symbol()]: {[Symbol("c")]: [4,5,6]},};</script> I can expand a (but symbols are not displayed).

Thanks for the report Nicolas, I can reproduce that on my machine Win10 + Nightly.
Honza

Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.