Closed Bug 1267235 Opened 8 years ago Closed 2 years ago

Objects in DOM panel are displayed as empty

Categories

(DevTools :: DOM, defect, P2)

defect

Tracking

(firefox48 affected)

RESOLVED FIXED
Tracking Status
firefox48 --- affected

People

(Reporter: sebo, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [btpp-fix-later])

Sometimes object values are displayed as empty, i.e. '{}', within the DOM panel.

STR:
1. Open the DOM panel on this page
2. Search for 'InstallTrigger' (without quotes)

=> The object's value is displayed as '{}', while within the Console panel it is displayed as InstallTriggerImpl {  } and within Firebug's DOM panel even as InstallTriggerImpl { SKIN=1,  LOCALE=2,  CONTENT=4,  more...}.

Sebastian
Priority: -- → P2
Whiteboard: [btpp-fix-later]
Component: Developer Tools → Developer Tools: DOM
Blocks: firebug-gaps
See Also: → 1337701
Product: Firefox → DevTools

Tested this in Firefox 101.0 again and now the display within the DOM panel equals the one within the Webconsole. So the value of InstallTrigger is now also displayed as InstallTriggerImpl { }.

The point here is that the properties are set on the object's prototype, not the object itself. Because the properties of the prototype chain can be shown by expanding the object, I now think that it's ok to show it being empty. So I close this issue now.

Sebastian

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.