From e22607aacf5308741c804c8ff132d06ecc6ffbdb Mon Sep 17 00:00:00 2001 From: Masatoshi Kimura Date: Fri, 9 Jan 2015 06:23:00 +0000 Subject: [PATCH] Bug 1113780 - Use SSL_ERROR_UNSUPPORTED_VERSION for SSLv3 error page. r=gijs --- browser/base/content/aboutNetError.xhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/base/content/aboutNetError.xhtml b/browser/base/content/aboutNetError.xhtml index 012e9fc323c..bfaa301c4bc 100644 --- a/browser/base/content/aboutNetError.xhtml +++ b/browser/base/content/aboutNetError.xhtml @@ -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;