Closed Bug 1319990 Opened 9 years ago Closed 9 years ago

Nested "window" properties in DOM Property Viewer

Categories

(DevTools :: DOM, defect)

50 Branch
x86
Windows Vista
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: regspam, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.0; rv:50.0) Gecko/20100101 Firefox/50.0 Build ID: 20161104212021 Steps to reproduce: 1. On this very page press F12 to open Developer Tools Panel and choose DOM (you need to enable it via the Toolbox options (the gear icon) if it's not there). 2. In the input field in the upper-right corner enter "window" (w/o quotes) to filter the properties list. 3. There will be only one entry left, specifically the property "window", with the arrow on the left for expanding it. 4. Click the arrow. An indentical entry will appear, and so forth. A picture illustrating the ussue: https://s14.postimg.org/ct4n7oi35/Clip_2.gif I might be wrong though, and it's not a bug, but something that has to do with the window object self-referencing.
Component: Untriaged → Developer Tools: DOM
OS: Unspecified → Windows Vista
Hardware: Unspecified → x86
This is not a bug. The |window| object has a property |window| that refers to the window object itself. You might see this MDN page: https://developer.mozilla.org/en-US/docs/Web/API/Window/window So, as you expanding the window object you see the prop that can be further expanded and so on ... I am closing the report now, but feel free to reopen in case I missed something. Thanks! Honza
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.