Add option to hide proto from VariablesView

RESOLVED WORKSFORME

Status

()

Firefox
Developer Tools: Object Inspector
RESOLVED WORKSFORME
4 years ago
4 years ago

People

(Reporter: jryans, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Add an option to VariablesView's populate to hide the object's proto.

With a use case like the Manifest Editor in App Manager, there is no need to present a prototype.
I think the onlyEnumVisible setter is what you want. Currently only the debugger uses it, so take a look there. Reopen if not useful.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
Network monitor needs to use the same option as well. There is no use in displaying __proto__ for JSON objects.
(In reply to Panos Astithas [:past] from comment #2)
> Network monitor needs to use the same option as well. There is no use in
> displaying __proto__ for JSON objects.

Bug 862344.
(Reporter)

Updated

4 years ago
Component: Developer Tools: Framework → Developer Tools: Object Inspector
You need to log in before you can comment on or make changes to this bug.