Closed
Bug 257671
Opened 21 years ago
Closed 21 years ago
Error: "gDownloadView.view has no properties" with empty download manager
Categories
(SeaMonkey :: Download & File Handling, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: florian, Unassigned)
Details
Attachments
(1 file)
|
817 bytes,
patch
|
janv
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a3) Gecko/20040817
bug 147842 and bug 163884 seem to be related (other javascript errors in
"downloadmanager.js")
Reproducible: Always
Steps to Reproduce:
1.Open Mozilla
2.Open "javascript console"
3.Open "download manager" (with a empty list of downloaded files)
Actual Results:
This javascript error is shown 24 times in javascript console :
Error: gDownloadView.view has no properties
Source File: chrome://communicator/content/downloadmanager/downloadmanager.js
Line: 170
Expected Results:
No javascript error
This error also occurs 6 time each time the (empty) download manager window get
focus.
| Reporter | ||
Comment 1•21 years ago
|
||
This patch should fix the bug.
Comment 2•21 years ago
|
||
Neil, could you check this patch out and drive it in as needed?
Comment 3•21 years ago
|
||
Jan, is it reasonable for the view to be null here?
Comment 4•21 years ago
|
||
I suspect there's no box object yet, so nsTreeBodyFrame::EnsureView() silently
fails to get/create a tree view or there's not body frame even.
This patch looks good to me, there are other similar checks in the download manager.
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Reporter | ||
Updated•21 years ago
|
Attachment #157616 -
Flags: review?(varga)
Updated•21 years ago
|
Attachment #157616 -
Flags: superreview+
Updated•21 years ago
|
Attachment #157616 -
Flags: review?(varga) → review+
Comment 5•21 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•