Closed Bug 122910 Opened 24 years ago Closed 24 years ago

Chatzilla doesn't work: need third argument for setAttrib()

Categories

(Other Applications Graveyard :: ChatZilla, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: neil, Assigned: rginda)

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

In build 2002013103 chatzilla just comes up but doesn't allow me to connect to anything.
Error: undefined has no properties Source File: chrome://chatzilla/content/static.js Line: 2123 This is apparently fallout from bug 121744, according to bz.
Keywords: regression
This is caused in static.js, line 2173.
Summary: Chatzilla doesn't work → Chatzilla doesn't work: need third argument for setAttrib()
This patch adds an empty {} as the third argument. Later uses are similarly literal Object() objects, exclusively.
Attachment #67379 - Flags: needs-work+
Comment on attachment 67379 [details] [diff] [review] patch, derived from context of other uses Patch has caused a different regression. Now, when I receive a message addressed to me in #mozillazine, it shows up in both #mozillazine and the moznet panel.
Attachment #67379 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Keywords: patch
OS: Windows 2000 → All
Hardware: PC → All
Well, in discussion with ssieb in CZ, seems that second regression is a new feature. ssieb's patch thus has the same logical effect as mine. The difference is his patch makes the third argument optional. Mine, as an alternative, provides an empty array. Either one will work. rginda, I guess this is your call. :)
Comment on attachment 67382 [details] [diff] [review] skip if 3rd argument is undefined r=rginda I have to go with making |attrs| optional.
Attachment #67382 - Flags: review+
checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Product: Core → Other Applications
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: