Bug 1113780 - Use SSL_ERROR_UNSUPPORTED_VERSION for SSLv3 error page. r=gijs

This commit is contained in:
Masatoshi Kimura 2015-01-09 06:23:00 +00:00
parent 91d1296031
commit e22607aacf

View File

@ -157,7 +157,7 @@
}
if (err == "nssFailure2" &&
sd.textContent.contains("ssl_error_no_cypher_overlap")) {
sd.textContent.contains("ssl_error_unsupported_version")) {
var ssl3ErrorTitle = document.getElementById("et_ssl3");
var ssl3ErrorDesc = document.getElementById("ed_ssl3");
var ssl3ShortDesc = document.getElementById("esd_ssl3");
@ -173,7 +173,7 @@
errDesc.parentNode.replaceChild(ssl3ErrorDesc, errDesc);
ssl3ErrorDesc.id = "errorLongDesc";
ssl3ErrorDesc.querySelector('span').textContent = "ssl_error_no_cypher_overlap";
ssl3ErrorDesc.querySelector('span').textContent = "ssl_error_unsupported_version";
var retryBtn = document.getElementById("errorTryAgain");
retryBtn.textContent = learnMoreText.textContent;