B2G/gecko/b2g/components/ErrorPage.jsm
/**
   * Internal method to create an override.
   */
Internal method to create an override.
Internal method to create an override .
function SSLE_addOverride() {
    let SSLStatus = this._sslStatus;
    let uri = this._uri;
    let flags = 0;
    if (SSLStatus.isUntrusted) {
      flags |= Ci.nsICertOverrideService.ERROR_UNTRUSTED;
    }
    if (SSLStatus.isDomainMismatch) {
      flags |= Ci.nsICertOverrideService.ERROR_MISMATCH;
    }
    if (SSLStatus.isNotValidAtThisTime) {
      flags |= Ci.nsICertOverrideService.ERROR_TIME;
    }
    CertOverrideService.rememberValidityOverride(
      uri.asciiHost,
      uri.port,
      SSLStatus.serverCert,
      flags,
      this._temporary);
    if (this._finishCallback) {
      this._finishCallback();
    }
  }
function SSLE_addOverride ( ) { let SSLStatus = this . _sslStatus ; let uri = this . _uri ; let flags = 0 ; if ( SSLStatus . isUntrusted ) { flags |= Ci . nsICertOverrideService . ERROR_UNTRUSTED ; } if ( SSLStatus . isDomainMismatch ) { flags |= Ci . nsICertOverrideService . ERROR_MISMATCH ; } if ( SSLStatus . isNotValidAtThisTime ) { flags |= Ci . nsICertOverrideService . ERROR_TIME ; } CertOverrideService . rememberValidityOverride ( uri . asciiHost , uri . port , SSLStatus . serverCert , flags , this . _temporary ) ; if ( this . _finishCallback ) { this . _finishCallback ( ) ; } }
Internal method to create an override.
Internal method to create an override .