зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1579285 - Fix ESlint. a=me CLOSED TREE
This commit is contained in:
Родитель
520cc882ec
Коммит
a28dd50b63
|
@ -277,7 +277,7 @@ function initPage() {
|
|||
setupErrorUI();
|
||||
|
||||
const errorCode = document.getNetErrorInfo().errorCodeString;
|
||||
const isTlsVersionError = (errorCode == "SSL_ERROR_UNSUPPORTED_VERSION");
|
||||
const isTlsVersionError = errorCode == "SSL_ERROR_UNSUPPORTED_VERSION";
|
||||
const tls10OverrideEnabled = RPMGetBoolPref(
|
||||
"security.tls.version.enable-deprecated"
|
||||
);
|
||||
|
@ -291,7 +291,7 @@ function initPage() {
|
|||
"SSL_ERROR_NO_CIPHERS_SUPPORTED",
|
||||
"SSL_ERROR_NO_CYPHER_OVERLAP",
|
||||
"SSL_ERROR_PROTOCOL_VERSION_ALERT",
|
||||
"SSL_ERROR_UNSUPPORTED_VERSION"
|
||||
"SSL_ERROR_UNSUPPORTED_VERSION",
|
||||
].some(substring => {
|
||||
return substring == errorCode;
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче