Dev console should not error when attempting to view an ES6 symbol

RESOLVED WORKSFORME

Status

()

Firefox
Untriaged
RESOLVED WORKSFORME
3 years ago
3 years ago

People

(Reporter: joshua.clanton, Unassigned)

Tracking

33 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Created attachment 8481846 [details]
ff-console-symbol-error.png

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0 (Beta/Release)
Build ID: 20140826004003

Steps to reproduce:

1. Open Dev Tools.
2. Switch to Console.
3. Create a new symbol by typing: var foo = Symbol("foo");
4. Attempt to view the symbol by typing: foo


Actual results:

TypeError: can't convert symbol to string


Expected results:

Console should have automatically called foo.toString() so that I could see the following: Symbol(foo)

Comment 1

3 years ago
It's already fixed in Nightly: http://i.imgur.com/smMpua6.jpg
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
(Reporter)

Comment 2

3 years ago
Awesome. Thanks!
You need to log in before you can comment on or make changes to this bug.