Open
Bug 762321
Opened 13 years ago
Updated 3 years ago
When getting value that are enums from the DOM, print the string rather than the integer
Categories
(DevTools :: Console, enhancement, P3)
DevTools
Console
Tracking
(Not tracked)
NEW
People
(Reporter: padenot, Unassigned)
References
Details
When working with the web console, it would be nice if, say, when a video element is selected in the inspector, that the following :
> $0.networkState
printed something like "HTMLMediaElement.NETWORK_LOADING (2)", rather than "2", that is, the enumeration symbol rather than the value, because it would be much more readable.
By extension, it all the enumerated properties could benefit from this feature.
Comment 1•12 years ago
|
||
Good idea. Thank you for the bug report!
Blocks: console-output
Priority: -- → P3
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•