mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Bug 1634947 - Update the TLS deprecated error message in Firefox. r=johannh,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D77021
This commit is contained in:
parent
e80c22f3c4
commit
f247187965
@ -17,9 +17,8 @@ const TRIGGER_MSG = "If you haven't seen ssl warnings yet, you won't";
|
||||
const TLS_1_0_URL = "https://tls1.example.com" + TEST_URI_PATH;
|
||||
|
||||
const TLS_expected_message =
|
||||
"This site uses a deprecated version of TLS that" +
|
||||
" will be disabled in March 2020. Please upgrade" +
|
||||
" to TLS 1.2 or 1.3.";
|
||||
"This site uses a deprecated version of TLS. " +
|
||||
"Please upgrade to TLS 1.2 or 1.3.";
|
||||
|
||||
registerCleanupFunction(function() {
|
||||
// Set preferences back to their original values
|
||||
|
@ -67,7 +67,7 @@ NoValidMetadata=The integrity attribute does not contain any valid metadata.
|
||||
# LOCALIZATION NOTE: Do not translate "RC4".
|
||||
WeakCipherSuiteWarning=This site uses the cipher RC4 for encryption, which is deprecated and insecure.
|
||||
|
||||
DeprecatedTLSVersion=This site uses a deprecated version of TLS that will be disabled in March 2020. Please upgrade to TLS 1.2 or 1.3.
|
||||
DeprecatedTLSVersion2=This site uses a deprecated version of TLS. Please upgrade to TLS 1.2 or 1.3.
|
||||
|
||||
#XCTO: nosniff
|
||||
# LOCALIZATION NOTE: Do not translate "X-Content-Type-Options: nosniff".
|
||||
|
@ -2378,7 +2378,7 @@ void nsHttpChannel::ProcessSSLInformation() {
|
||||
if (NS_SUCCEEDED(rv) &&
|
||||
tlsVersion != nsITransportSecurityInfo::TLS_VERSION_1_2 &&
|
||||
tlsVersion != nsITransportSecurityInfo::TLS_VERSION_1_3) {
|
||||
nsString consoleErrorTag = NS_LITERAL_STRING("DeprecatedTLSVersion");
|
||||
nsString consoleErrorTag = NS_LITERAL_STRING("DeprecatedTLSVersion2");
|
||||
nsString consoleErrorCategory = NS_LITERAL_STRING("TLS");
|
||||
Unused << AddSecurityMessage(consoleErrorTag, consoleErrorCategory);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user