Closed Bug 387054 Opened 15 years ago Closed 15 years ago

Opening DomI - File Inspect Current Document throws error in JS Console

Categories

(Other Applications :: DOM Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9beta1

People

(Reporter: jmjjeffery, Assigned: sdwilsh)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a7pre) Gecko/2007070515 Minefield/3.0a7pre Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a7pre) Gecko/2007070515 Minefield/3.0a7pre Firefox/3.0

I see this error in the JS Console (Console2) when I open a document from the File->Inspect Current Document (pick any document at random from list)

Error: this.mSelectDocs has no properties
Source file: chrome://inspector/content/viewers/dom/dom.js
Line: 628



Reproducible: Always

Steps to Reproduce:
1.
2.
3.



I am using build: 
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a7pre) Gecko/2007070515 Minefield/3.0a7pre Firefox/3.0 ID:2007070515

Vista HP
Component: General → DOM Inspector
Product: Firefox → Other Applications
Version: unspecified → Trunk
Related to bug 387053?
(In reply to comment #1)
> Related to bug 387053?
Nope - I've seen this before then.
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: general → dom-inspector
Attached patch v1.0Splinter Review
I'm really surprised nobody ever noticed this before - this should have always been failing.
Assignee: nobody → sdwilsh
Status: NEW → ASSIGNED
Attachment #271162 - Flags: superreview?(neil)
Attachment #271162 - Flags: review?(db48x)
Attachment #271162 - Flags: review?(db48x) → review+
Comment on attachment 271162 [details] [diff] [review]
v1.0

I guess the other option is to actually declare mSelectDocs: [], somewhere.
Attachment #271162 - Flags: superreview?(neil) → superreview+
Checking in extensions/inspector/resources/content/viewers/dom/dom.js;
new revision: 1.51; previous revision: 1.50
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
OS: Windows Vista → All
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9beta
You need to log in before you can comment on or make changes to this bug.