Closed Bug 628036 Opened 13 years ago Closed 13 years ago

Some objects are not inspectable

Categories

(DevTools :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: dangoor, Assigned: msucan)

References

Details

STR:

1. open console
2. type: Thing = function() {}
3. type: thing = new Thing()

The object displayed is not inspectable.
This is expected behavior.

The JSTerm.isResultInspectable() method tries to iterate into the object, and sees no properties. Thus, you cannot inspect the object.

If you add these steps:

4. thing.prop = 'val';
5. thing;

now thing is inspectable.
closing. Reopen if there's anything to do here.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.