Closed
Bug 236155
Opened 22 years ago
Closed 21 years ago
Chatzilla should use contract ID, not class ID
Categories
(Other Applications Graveyard :: ChatZilla, defect)
Other Applications Graveyard
ChatZilla
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nsayer, Assigned: bugzilla-mozilla-20000923)
References
Details
(Whiteboard: [cz-patch][cz-0.9.68])
Attachments
(2 files)
|
861 bytes,
patch
|
bugzilla-mozilla-20000923
:
review-
|
Details | Diff | Splinter Review |
|
1.22 KB,
patch
|
rginda
:
review+
benjamin
:
approval1.8b3+
|
Details | Diff | Splinter Review |
User-Agent:
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
extensions/irc/js/lib/connection-xpcom.js has this:
var sockServiceClass =
Components.classesByID["{c07e81e0-ef12-11d2-92b6-00105a1b0d64}"];
It should probably say
var sockServiceClass =
Components.classes["@mozilla.org/network/socket-transport-service;1"];
Reproducible: Always
Steps to Reproduce:
Updated•22 years ago
|
Assignee: darin → rginda
Component: Cookies → ChatZilla
QA Contact: cookieqa → samuel
Updated•21 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•21 years ago
|
Product: Core → Other Applications
| Assignee | ||
Updated•21 years ago
|
Assignee: rginda → silver
| Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•21 years ago
|
||
Attachment #171062 -
Flags: review?(rginda)
Comment 2•21 years ago
|
||
Comment on attachment 171062 [details] [diff] [review]
Use contract ID
could be that at the time this was written, the socket transport service didn't
have a class id. you might want to check an early mozilla to be sure.
otherwise, r=rginda
Attachment #171062 -
Flags: review?(rginda) → review+
| Assignee | ||
Comment 3•21 years ago
|
||
Seems it doesn't exist prior to
nsNetCID.h: 1.24 <darin@netscape.com> 2003-01-17 18:14
Mozilla 1.0 branched on 2002-04-09. :)
*goes to do another patch*
| Assignee | ||
Comment 4•21 years ago
|
||
Comment on attachment 171062 [details] [diff] [review]
Use contract ID
Minusing so no-one gets confused. This patch wont work in Mozilla 1.0.
Attachment #171062 -
Flags: review+ → review-
| Assignee | ||
Comment 5•21 years ago
|
||
I have yet to test this at all, but I will try in both trunk Mozilla and 1.0
before checking it in.
The comment is just a reminder that the CID should never be updated, since it
is for Mozilla during the 2002 - 2003 period only.
Attachment #171945 -
Flags: review?(rginda)
Comment 6•21 years ago
|
||
Comment on attachment 171945 [details] [diff] [review]
Take two - this time with both contract ID and CID
this might throw a strict warning. if so, an "in" test would be a better idea.
| Assignee | ||
Comment 7•21 years ago
|
||
I could not get it to produce a warning on 1.0 or 1.7.1.
| Assignee | ||
Updated•21 years ago
|
Whiteboard: [cz-patch][0.9.68]
| Assignee | ||
Updated•21 years ago
|
Whiteboard: [cz-patch][0.9.68] → [cz-patch][cz-0.9.68]
| Assignee | ||
Comment 8•21 years ago
|
||
*poke*
rginda, any chance of that review? ;)
Comment 9•21 years ago
|
||
Comment on attachment 171945 [details] [diff] [review]
Take two - this time with both contract ID and CID
This would save a vew bytes of source test :)
var sockServiceClass = (sockClassByName || sockClassByID);
r=rginda either way
Attachment #171945 -
Flags: review?(rginda) → review+
| Assignee | ||
Updated•21 years ago
|
Attachment #171945 -
Flags: approval1.8b3?
Updated•21 years ago
|
Attachment #171945 -
Flags: approval1.8b3? → approval1.8b3+
| Assignee | ||
Comment 10•21 years ago
|
||
Checked in -> FIXED.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•1 year ago
|
Product: Other Applications → Other Applications Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•