Closed Bug 670456 Opened 13 years ago Closed 11 years ago

Vanishing document.constructor for Web Console

Categories

(DevTools :: Console, defect)

8 Branch
All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bj, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0a1) Gecko/20110709 Firefox/8.0a1
Build ID: 20110709030751

Steps to reproduce:

In the web console window I can create "Object Inspector" windows by typing "inspect(document)". Sometimes the windows list a constructor for the document, sometimes they don't. (See steps 3 and 6 below.)

I can create similar "Inspect:document" windows by typing "document" and clicking on "[object HTMLDocument]". These windows list a constructor when created, but it sometimes vanishes when update is clicked. (See steps 4, 5, and 8 below.)

Steps to demonstrate:

1. Create a blank tab.
2. Open Web Console.
3. Type "inspect(document)<enter>", and scroll down to look for "constuctor".
4. Type "document<enter>", click on "[object HTMLDocument]", and scroll down to look for "constuctor".
5. Update the "Inspect:document" window and look for "constructor".
6. Type "inspect(document)<enter>", and scroll down to look for "constuctor".
7. In the address bar type "mozilla.org<enter>".
8. Update the "Inspect:document" window and look for "constructor".
9. Type "document<enter>", click on "[object HTMLDocument]", and scroll down to look for "constuctor".
10. In the address bar type "mozilla.com<enter>".
11. Update the second "Inspect:document" window and look for "constructor".



Actual results:

3. "constructor" not present.
4. "constructor" present.
5. "constructor" still present.
6. "constructor" present.
8. "constructor" vanishes.
9. "constructor" present.
11. "constructor" vanishes.


Expected results:

All "Object Inspector" and "Inspect:document" windows list "constructor".
Nice one!
Status: UNCONFIRMED → NEW
Ever confirmed: true
sounds similar to bug 651501
Yes, I've reproduced it (albeit intermittently), too. Not sure what's going on, though.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Dave, are you positive the bug was duped correctly?
Nope.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
I don't know what this is but it hasn't been mentioned in awhile.
Component: Developer Tools → Developer Tools: Console
I am unable to reproduce this issue any more.
Status: REOPENED → RESOLVED
Closed: 13 years ago11 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.