Closed Bug 303422 Opened 19 years ago Closed 19 years ago

richlistbox contructor can sometimes fail with "listBox has no properties" when monkeying with the DOM

Categories

(Toolkit :: UI Widgets, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: readams, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050728 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050728 Firefox/1.0+

Patch attached

Reproducible: Always
I think that an explanation of why/when it happens would be welcome.
It happens of course when the richlistitem constructor is called when it has no
parent richlistbox in the DOM.  This shows up for me occasionally when I'm
manipulating the DOM to add and remove richlistitems.
In branch builds the richlistitem constructor has been removed, meaning this
patch is no longer needed.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
If it is no longer a bug -> Invalid
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: