Closed Bug 1060859 Opened 10 years ago Closed 10 years ago

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

Categories

(Firefox :: Untriaged, defect)

33 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: joshua.clanton, Unassigned)

Details

Attachments

(1 file)

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)
It's already fixed in Nightly: http://i.imgur.com/smMpua6.jpg
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Awesome. Thanks!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: