summaryrefslogtreecommitdiff
path: root/base/content/content.js
diff options
context:
space:
mode:
authorGaming4JC <g4jc@bulletmail.org>2018-06-29 19:18:52 -0400
committerGaming4JC <g4jc@bulletmail.org>2018-06-29 19:18:52 -0400
commit1caa195664f1d91b6b121115ae58c014739bd97e (patch)
tree292a4d92371147f0115fb4865e37fa5d6c0f5c05 /base/content/content.js
parent8d84538c47acf2955f78f5b2e60da15c1d6e214d (diff)
downloadiceweasel-uxp-1caa195664f1d91b6b121115ae58c014739bd97e.tar.gz
backport: Remove SSL Error Reporting telemetry
Diffstat (limited to 'base/content/content.js')
-rw-r--r--base/content/content.js30
1 files changed, 1 insertions, 29 deletions
diff --git a/base/content/content.js b/base/content/content.js
index 5758cb0..c19bd76 100644
--- a/base/content/content.js
+++ b/base/content/content.js
@@ -385,18 +385,6 @@ var AboutNetAndCertErrorListener = {
let ownerDoc = originalTarget.ownerDocument;
ClickEventHandler.onCertError(originalTarget, ownerDoc);
}
-
- let automatic = Services.prefs.getBoolPref("security.ssl.errorReporting.automatic");
- content.dispatchEvent(new content.CustomEvent("AboutNetErrorOptions", {
- detail: JSON.stringify({
- enabled: Services.prefs.getBoolPref("security.ssl.errorReporting.enabled"),
- changedCertPrefs: this.changedCertPrefs(),
- automatic: automatic
- })
- }));
-
- sendAsyncMessage("Browser:SSLErrorReportTelemetry",
- {reportStatus: TLS_ERROR_REPORT_TELEMETRY_UI_SHOWN});
},
openCaptivePortalPage: function(evt) {
@@ -407,23 +395,7 @@ var AboutNetAndCertErrorListener = {
onResetPreferences: function(evt) {
sendAsyncMessage("Browser:ResetSSLPreferences");
},
-
- onSetAutomatic: function(evt) {
- sendAsyncMessage("Browser:SetSSLErrorReportAuto", {
- automatic: evt.detail
- });
-
- // if we're enabling reports, send a report for this failure
- if (evt.detail) {
- let {host, port} = content.document.mozDocumentURIIfNotForErrorPages;
- sendAsyncMessage("Browser:SendSSLErrorReport", {
- uri: { host, port },
- securityInfo: getSerializedSecurityInfo(docShell),
- });
-
- }
- },
-
+
onOverride: function(evt) {
let {host, port} = content.document.mozDocumentURIIfNotForErrorPages;
sendAsyncMessage("Browser:OverrideWeakCrypto", { uri: {host, port} });