Bug 1490265 - Port bug 1468222: remove use of nsISSLStatus. rs=bustage-fix
authorJorg K <jorgk@jorgk.com>
Tue, 11 Sep 2018 13:55:29 +0200
changeset 24713 11615766cf8a256fd8aab602119a9d1d55f194d3
parent 24712 b2f73a356bde87b73610025998cc86b3ec663633
child 24714 a2bcfedfe138c88dd8495006e681e53aa0b3d6fb
push id14865
push usermozilla@jorgk.com
push dateTue, 11 Sep 2018 12:02:21 +0000
treeherdercomm-central@11615766cf8a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs1490265, 1468222
Bug 1490265 - Port bug 1468222: remove use of nsISSLStatus. rs=bustage-fix
chat/components/public/imIAccount.idl
--- a/chat/components/public/imIAccount.idl
+++ b/chat/components/public/imIAccount.idl
@@ -8,17 +8,16 @@
 
 interface imITag;
 interface imIBuddy;
 interface prplIAccountBuddy;
 interface imIAccount;
 interface prplIAccount;
 interface prplIProtocol;
 interface nsIScriptError;
-interface nsISSLStatus;
 
 /*
  * Used to join chat rooms.
  */
 
 [scriptable, uuid(7e91accd-f04c-4787-9954-c7db4fb235fb)]
 interface prplIChatRoomFieldValues: nsISupports {
   AUTF8String getValue(in AUTF8String aIdentifier);
@@ -145,19 +144,16 @@ interface prplIAccount: nsISupports {
 
   /* When a connection error occurred, this value indicates the type of error */
   readonly attribute short connectionErrorReason;
 
   /* When a certificate error occurs, the host/port that caused a
    * SSL/certificate error when connecting to it. This is only valid when
    * connectionErrorReason is one of ERROR_CERT_*. */
   readonly attribute AUTF8String connectionTarget;
-  /* When a certificate error occurs, the nsISSLStatus error of the socket. This
-   * should only be set when connectionTarget is set. */
-  readonly attribute nsISSLStatus sslStatus;
 
   /* Possible connection error reasons:
      ERROR_NETWORK_ERROR and ERROR_ENCRYPTION_ERROR are not fatal and
      should enable the automatic reconnection feature. */
   const short NO_ERROR = -1;
   const short ERROR_NETWORK_ERROR = 0;
   const short ERROR_INVALID_USERNAME = 1;
   const short ERROR_AUTHENTICATION_FAILED = 2;