Open Bug 1746825 Opened 4 years ago

Retrieve properties of custom formatted object

Categories

(DevTools :: Framework, task)

task

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

References

Details

Custom formatters are using a hasBody boolean to indicate if the object can be expanded, and if that's the case, they offer a body function that returns a JsonMl array.

When an object was custom formatted, we need to call this body function when expanding the object, instead of the usual property iterator way.

Note that the ObjectInspector might need to be tweaked as well to be able to handle the result of body (we may also not use the ObjectInspector at all for custom formatted objects, only reps, and handle the body retrieval in some other way)

You need to log in before you can comment on or make changes to this bug.