summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorGaming4JC <g4jc@bulletmail.org>2018-06-29 20:00:47 -0400
committerGaming4JC <g4jc@bulletmail.org>2018-06-29 20:00:47 -0400
commite0855c1aa88b789d2c49e967ff0ea688489df029 (patch)
treebc89f57ba3dac283f8918c60c2346d7d5431b933 /base
parent1caa195664f1d91b6b121115ae58c014739bd97e (diff)
downloadiceweasel-uxp-e0855c1aa88b789d2c49e967ff0ea688489df029.tar.gz
Remove LearnMore url from aboutNetError
Diffstat (limited to 'base')
-rw-r--r--base/content/aboutNetError.xhtml19
1 files changed, 0 insertions, 19 deletions
diff --git a/base/content/aboutNetError.xhtml b/base/content/aboutNetError.xhtml
index a93676f..1502a9b 100644
--- a/base/content/aboutNetError.xhtml
+++ b/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,16 +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
@@ -348,8 +335,6 @@
addAutofocus("returnButton");
setupAdvancedButton(true);
- document.getElementById("learnMoreContainer").style.display = "block";
-
let event = new CustomEvent("AboutNetErrorLoad", {bubbles:true});
document.getElementById("advancedButton").dispatchEvent(event);
@@ -592,10 +577,6 @@
<!-- Long Description (Note: See netError.dtd for used XHTML tags) -->
<div id="errorLongDesc" />
- <div id="learnMoreContainer">
- <p><a href="https://support.mozilla.org/kb/what-does-your-connection-is-not-secure-mean" id="learnMoreLink" target="new">&errorReporting.learnMore;</a></p>
- </div>
-
<div id="prefChangeContainer" class="button-container">
<p>&prefReset.longDesc;</p>
<button id="prefResetButton" class="primary" autocomplete="off">&prefReset.label;</button>