Closed Bug 1923219 Opened 1 year ago Closed 1 year ago

Remove unused code from connection-xpcom.js

Categories

(SeaMonkey :: Chat, task)

Tracking

(seamonkey2.53+ fixed)

RESOLVED FIXED
Tracking Status
seamonkey2.53 + fixed

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

Details

(Whiteboard: SM2.53.20)

Attachments

(1 file, 2 obsolete files)

There's lots of code that is there to support early platforms that can be removed from connection-xpcom.js
Use contract ID for the STS.
Only binary streams are now used.
Only strictSSL is now used.
No need to test for the type of input-stream-pump init parameters.
No missing result code for NS_BASE_STREAM_WOULD_BLOCK

[Approval Request Comment]
Regression caused by (bug #): n/a
User impact if declined: none
Testing completed (on m-c, etc.): 2.53.20pre
Risk to taking this patch (and alternatives if risky): low
String changes made by this patch: none

Attachment #9429477 - Flags: review?(frgrahl)
Attachment #9429477 - Flags: approval-comm-release?

Do a bit more tidying of the file.

Attachment #9429477 - Attachment is obsolete: true
Attachment #9429477 - Flags: review?(frgrahl)
Attachment #9429477 - Flags: approval-comm-release?
Attachment #9430861 - Flags: review?(frgrahl)
Attachment #9430861 - Flags: approval-comm-release?

Changes since previous patch:

  • Remove now unused compareVersions function
Attachment #9430861 - Attachment is obsolete: true
Attachment #9430861 - Flags: review?(frgrahl)
Attachment #9430861 - Flags: approval-comm-release?
Attachment #9433473 - Flags: review?(frgrahl)
Attachment #9433473 - Flags: approval-comm-release?

Comment on attachment 9433473 [details] [diff] [review]
1923219-irc-connection-xpcom-tidy-v1_2-25320.patch

lgtm

Attachment #9433473 - Flags: review?(frgrahl)
Attachment #9433473 - Flags: review+
Attachment #9433473 - Flags: approval-comm-release?
Attachment #9433473 - Flags: approval-comm-release+
Whiteboard: SM2.53.20

Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/b21d901c0771
Remove unused code from connection-xpcom.js. r=frg

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: