Bug 1579285 - Fix ESlint. a=me CLOSED TREE

This commit is contained in:
Brindusan Cristian 2019-09-27 03:50:33 +03:00
Родитель 520cc882ec
Коммит a28dd50b63
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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;
}); });