Closed
Bug 848740
Opened 13 years ago
Closed 12 years ago
[object Proxy] is displayed for |window| and other objects
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: msucan, Assigned: jimb)
References
Details
The variables view displays [object Proxy] for |window| and for other objects as well. See document.iframes, or document.images and so on. This is confusing for users. We should look into how we can make these show as expected by web page developers - we are currently exposing a part of how our DOM implementation works.
Comment 1•13 years ago
|
||
Jim said he wanted to look into it. An easy way to observe this is to inspect the |window| property of |window|.
Assignee: nobody → jimb
Status: NEW → ASSIGNED
Comment 2•12 years ago
|
||
this is a bit of a regression from the previous console implementation. Ideally would be nice to have this fixed for the release of 22.
Jim, any idea what's up?
Comment 3•12 years ago
|
||
Also, talking with Gijs in IRC this afternoon, is the end-goal for this bug and its deps to allow users to expand into the underlying object the proxy's covering? Ideally for content, we want to make these things invisible/transparent to the user.
| Reporter | ||
Comment 4•12 years ago
|
||
(In reply to Rob Campbell [:rc] (:robcee) from comment #3)
> Also, talking with Gijs in IRC this afternoon, is the end-goal for this bug
> and its deps to allow users to expand into the underlying object the proxy's
> covering? Ideally for content, we want to make these things
> invisible/transparent to the user.
This bug is about displaying [object foo] instead of [object Proxy].
Did you see any native proxy that prevents you access to the underlying object? with the variables view, in the web console / debugger.
Even if we display [object Proxy] for the |window| (for example) the underlying object is inspectable: you can see the window props and methods.
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 6•12 years ago
|
||
Fix with bug 862531 landing.
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•