summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base/content/aboutNetError.xhtml
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-07-26 17:51:08 +0200
committerGitHub <noreply@github.com>2018-07-26 17:51:08 +0200
commitc904349ce229f576c586ae4760197e02b461ea26 (patch)
tree38ee74c1d144a7f802a1646de22a6a9f597dbccb /application/basilisk/base/content/aboutNetError.xhtml
parentd2498873e95da2f6624841144dfb015fa5f898d0 (diff)
parent36033ae5e5c3e175d85c3a3b45997d804784833d (diff)
downloadUXP-c904349ce229f576c586ae4760197e02b461ea26.tar
UXP-c904349ce229f576c586ae4760197e02b461ea26.tar.gz
UXP-c904349ce229f576c586ae4760197e02b461ea26.tar.lz
UXP-c904349ce229f576c586ae4760197e02b461ea26.tar.xz
UXP-c904349ce229f576c586ae4760197e02b461ea26.zip
Merge pull request #677 from kn-yami/issue667
remove "learnMoreContainer" leftovers
Diffstat (limited to 'application/basilisk/base/content/aboutNetError.xhtml')
-rw-r--r--application/basilisk/base/content/aboutNetError.xhtml16
1 files changed, 0 insertions, 16 deletions
diff --git a/application/basilisk/base/content/aboutNetError.xhtml b/application/basilisk/base/content/aboutNetError.xhtml
index f28e2365f..3296600c8 100644
--- a/application/basilisk/base/content/aboutNetError.xhtml
+++ b/application/basilisk/base/content/aboutNetError.xhtml
@@ -212,9 +212,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";
}
@@ -258,17 +255,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",
@@ -336,8 +322,6 @@
addAutofocus("returnButton");
setupAdvancedButton(true);
- document.getElementById("learnMoreContainer").style.display = "block";
-
let event = new CustomEvent("AboutNetErrorLoad", {bubbles:true});
document.getElementById("advancedButton").dispatchEvent(event);