summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryami <34216515+kn-yami@users.noreply.github.com>2018-07-22 22:07:40 +0200
committeryami <34216515+kn-yami@users.noreply.github.com>2018-07-22 22:07:40 +0200
commit5334cff64ce9bee78f38a474926499a18e65e0b8 (patch)
tree54af1e86a2affa952f44ec6c16b0ba1eb1e84632
parent14c53fcf71dbcae1472b4713817ac3851cd22b77 (diff)
downloadUXP-5334cff64ce9bee78f38a474926499a18e65e0b8.tar
UXP-5334cff64ce9bee78f38a474926499a18e65e0b8.tar.gz
UXP-5334cff64ce9bee78f38a474926499a18e65e0b8.tar.lz
UXP-5334cff64ce9bee78f38a474926499a18e65e0b8.tar.xz
UXP-5334cff64ce9bee78f38a474926499a18e65e0b8.zip
remove "learnMoreContainer" leftovers
-rw-r--r--application/basilisk/base/content/aboutNetError.xhtml16
-rw-r--r--application/basilisk/themes/shared/aboutNetError.css4
2 files changed, 0 insertions, 20 deletions
diff --git a/application/basilisk/base/content/aboutNetError.xhtml b/application/basilisk/base/content/aboutNetError.xhtml
index 609725c9e..225cafa21 100644
--- a/application/basilisk/base/content/aboutNetError.xhtml
+++ b/application/basilisk/base/content/aboutNetError.xhtml
@@ -224,9 +224,6 @@
}
if (err == "sslv3Used") {
- document.getElementById("learnMoreContainer").style.display = "block";
- var learnMoreLink = document.getElementById("learnMoreLink");
- learnMoreLink.href = "https://support.mozilla.org/kb/how-resolve-sslv3-error-messages-firefox";
document.body.className = "certerror";
}
@@ -270,17 +267,6 @@
window.addEventListener("AboutNetErrorOptions", function(evt) {
// Pinning errors are of type nssFailure2
if (getErrorCode() == "nssFailure2" || getErrorCode() == "weakCryptoUsed") {
- document.getElementById("learnMoreContainer").style.display = "block";
- var learnMoreLink = document.getElementById("learnMoreLink");
- // nssFailure2 also gets us other non-overrideable errors. Choose
- // a "learn more" link based on description:
- if (getDescription().includes("mozilla_pkix_error_key_pinning_failure")) {
- learnMoreLink.href = "https://support.mozilla.org/kb/certificate-pinning-reports";
- }
- if (getErrorCode() == "weakCryptoUsed") {
- learnMoreLink.href = "https://support.mozilla.org/kb/how-resolve-weak-crypto-error-messages-firefox";
- }
-
const hasPrefStyleError = [
"interrupted", // This happens with subresources that are above the max tls
"SSL_ERROR_PROTOCOL_VERSION_ALERT",
@@ -348,8 +334,6 @@
addAutofocus("returnButton");
setupAdvancedButton(true);
- document.getElementById("learnMoreContainer").style.display = "block";
-
let event = new CustomEvent("AboutNetErrorLoad", {bubbles:true});
document.getElementById("advancedButton").dispatchEvent(event);
diff --git a/application/basilisk/themes/shared/aboutNetError.css b/application/basilisk/themes/shared/aboutNetError.css
index c0b76aa47..102e1dc63 100644
--- a/application/basilisk/themes/shared/aboutNetError.css
+++ b/application/basilisk/themes/shared/aboutNetError.css
@@ -39,10 +39,6 @@ button:disabled {
display: none;
}
-#learnMoreContainer {
- display: none;
-}
-
#certErrorAndCaptivePortalButtonContainer {
display: none;
}