Closed Bug 1710231 Opened 3 years ago Closed 3 years ago

Port |Bug 1095602 - remove the STATE_SECURE_HIGH, STATE_SECURE_MEDIUM, STATE_SECURE_LOW distinction from nsIWebProgressListener| to chatZilla

Categories

(SeaMonkey :: Chat, task)

Tracking

(seamonkey2.53+ fixed)

RESOLVED FIXED
seamonkey 2.88
Tracking Status
seamonkey2.53 + fixed

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

References

Details

(Whiteboard: SM2.53.9)

Attachments

(1 file)

As Bug 1095602 has landed on SeaMonkey's code, should also port this to our forked cZ.

Whiteboard: SM2.53.9

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

Attachment #9220966 - Flags: review?(frgrahl)
Attachment #9220966 - Flags: approval-comm-release?
Attachment #9220966 - Flags: approval-comm-esr60?
Blocks: 1710233

Comment on attachment 9220966 [details] [diff] [review]
1710231-irc-port1095602-2539.patch

LGTM

suite/extensions/irc/js/lib/connection-xpcom.js

NIT

  •        return STATE_IS_BROKEN;
      else
    
  •        return [STATE_IS_SECURE, STATE_SECURE_LOW];
    
  •        return STATE_IS_SECURE;
    

The else can be removed too. Now a simple if/else and The "return STATE_IS_BROKEN;" is unconditional here.

   dd("Exception getting certificate for connection: " + ex.message);
   return STATE_IS_BROKEN;

Should at least the "return STATE_IS_BROKEN;" moved to be after the catch block?

Function has no return value at the end otherwise and looks a little "unclean".

Attachment #9220966 - Flags: review?(frgrahl)
Attachment #9220966 - Flags: review+
Attachment #9220966 - Flags: approval-comm-release?
Attachment #9220966 - Flags: approval-comm-release+
Attachment #9220966 - Flags: approval-comm-esr60?
Attachment #9220966 - Flags: approval-comm-esr60+

Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/0c2c2816a5c4
Port |Bug 1095602 - remove the STATE_SECURE_HIGH, STATE_SECURE_MEDIUM, STATE_SECURE_LOW distinction from nsIWebProgressListener| to chatZilla. r=frg

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey 2.88

https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/cb0ca8aa87a776b2ef2124752665e5d70ee642d6
Port |Bug 1095602 - remove the STATE_SECURE_HIGH, STATE_SECURE_MEDIUM, STATE_SECURE_LOW distinction from nsIWebProgressListener| to chatZilla. r=frg a=frg

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: