Closed Bug 276478 Opened 20 years ago Closed 20 years ago

ChatZilla doesn't connect/start in Mozilla 1.0.2

Categories

(Other Applications Graveyard :: ChatZilla, defect)

1.0 Branch
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla-mozilla-20000923, Assigned: bugzilla-mozilla-20000923)

References

()

Details

Attachments

(1 file, 1 obsolete file)

It seems that in the 0.9.63 cycle (probably when adding DCC support) two critical lines were removed from StreamListener.prototype.onDataAvailable. These two lines are needed for Mozilla versions that HAS_NSPR_EVENTQ, which definately includes Mozilla 1.0.2 (which I'm using with the fix now), and may include 1.4.
This fixes the offending code, however I've found that while 0.9.66e runs in Mozilla 1.0.2 and connects with this change, 0.9.67 (trunck CVS) fails with an error on startup.
Attachment #169918 - Flags: review?(rginda)
IIRC (Venkman hung while I was debugging it), it is a problem in getFileFromURLSpec: http://lxr.mozilla.org/mozilla/source/extensions/irc/js/lib/utils.js#905 It seems |Components.interfaces.nsIFileProtocolHandler| is null. So the QI fails.
Summary: ChatZilla doesn't connect in Mozilla 1.0.2 → ChatZilla doesn't connect/start in Mozilla 1.0.2
Hmm, now it works. Odd... it didn't work as Administrator, but does work as a Power User. This could take some investigating... It looks like getFileFromURLSpec is still on the IO Service in Mozilla 1.0.2. I guess the same fix as is in getURLSpecFromFile would work...
This fixes ChatZilla 0.9.67/trunk to run in Mozilla 1.0.2 as any user.
Attachment #169918 - Attachment is obsolete: true
Attachment #169928 - Flags: review?(rginda)
Attachment #169918 - Flags: review?(rginda)
Comment on attachment 169928 [details] [diff] [review] Fix async reads, and getFileFromURLSpec r=rginda
Attachment #169928 - Flags: review?(rginda) → review+
Checked in --> FIXED.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: