зеркало из 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();
|
setupErrorUI();
|
||||||
|
|
||||||
const errorCode = document.getNetErrorInfo().errorCodeString;
|
const errorCode = document.getNetErrorInfo().errorCodeString;
|
||||||
const isTlsVersionError = (errorCode == "SSL_ERROR_UNSUPPORTED_VERSION");
|
const isTlsVersionError = errorCode == "SSL_ERROR_UNSUPPORTED_VERSION";
|
||||||
const tls10OverrideEnabled = RPMGetBoolPref(
|
const tls10OverrideEnabled = RPMGetBoolPref(
|
||||||
"security.tls.version.enable-deprecated"
|
"security.tls.version.enable-deprecated"
|
||||||
);
|
);
|
||||||
|
@ -291,7 +291,7 @@ function initPage() {
|
||||||
"SSL_ERROR_NO_CIPHERS_SUPPORTED",
|
"SSL_ERROR_NO_CIPHERS_SUPPORTED",
|
||||||
"SSL_ERROR_NO_CYPHER_OVERLAP",
|
"SSL_ERROR_NO_CYPHER_OVERLAP",
|
||||||
"SSL_ERROR_PROTOCOL_VERSION_ALERT",
|
"SSL_ERROR_PROTOCOL_VERSION_ALERT",
|
||||||
"SSL_ERROR_UNSUPPORTED_VERSION"
|
"SSL_ERROR_UNSUPPORTED_VERSION",
|
||||||
].some(substring => {
|
].some(substring => {
|
||||||
return substring == errorCode;
|
return substring == errorCode;
|
||||||
});
|
});
|
||||||
|
|
Загрузка…
Ссылка в новой задаче