зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
aaee175243
Коммит
3f4806c036
|
@ -108,10 +108,6 @@
|
||||||
for (var span of panel.querySelectorAll("span.hostname")) {
|
for (var span of panel.querySelectorAll("span.hostname")) {
|
||||||
span.textContent = document.location.hostname;
|
span.textContent = document.location.hostname;
|
||||||
}
|
}
|
||||||
if (!gIsCertError) {
|
|
||||||
panel.replaceChild(document.getElementById("errorLongDesc"),
|
|
||||||
document.getElementById("advancedLongDesc"));
|
|
||||||
}
|
|
||||||
|
|
||||||
// Register click handler for the weakCryptoAdvancedPanel
|
// Register click handler for the weakCryptoAdvancedPanel
|
||||||
document.getElementById("advancedButton")
|
document.getElementById("advancedButton")
|
||||||
|
@ -288,7 +284,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (getErrorCode() == "sslv3Used") {
|
if (getErrorCode() == "sslv3Used") {
|
||||||
setupAdvancedButton();
|
document.getElementById("advancedButton").style.display = "none";
|
||||||
}
|
}
|
||||||
}, true, true);
|
}, true, true);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче