Bug 1361288 - Remove vestigial reference to advancedLongDesc and hide advancedButton for SSLv3 erros. r=johannh

Unfortunately, we can't simply restore advancedLongDesc because it will change strings. I hid advancedButton instead. The advanced panel will have no useful information for SSLv3 errors anyway.

MozReview-Commit-ID: D4ULtTKccOK

--HG--
extra : rebase_source : d2890f4bb10c5b66101ed27d668fabba7cd2dd57
This commit is contained in:
Masatoshi Kimura 2017-05-02 22:02:24 +09:00
Родитель aaee175243
Коммит 3f4806c036
1 изменённых файлов: 1 добавлений и 5 удалений

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

@ -108,10 +108,6 @@
for (var span of panel.querySelectorAll("span.hostname")) {
span.textContent = document.location.hostname;
}
if (!gIsCertError) {
panel.replaceChild(document.getElementById("errorLongDesc"),
document.getElementById("advancedLongDesc"));
}
// Register click handler for the weakCryptoAdvancedPanel
document.getElementById("advancedButton")
@ -288,7 +284,7 @@
}
}
if (getErrorCode() == "sslv3Used") {
setupAdvancedButton();
document.getElementById("advancedButton").style.display = "none";
}
}, true, true);