diff options
author | Gaming4JC <g4jc@bulletmail.org> | 2018-06-29 19:18:52 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@bulletmail.org> | 2018-06-29 19:18:52 -0400 |
commit | 1caa195664f1d91b6b121115ae58c014739bd97e (patch) | |
tree | 292a4d92371147f0115fb4865e37fa5d6c0f5c05 /base/content/content.js | |
parent | 8d84538c47acf2955f78f5b2e60da15c1d6e214d (diff) | |
download | iceweasel-uxp-1caa195664f1d91b6b121115ae58c014739bd97e.tar.gz |
backport: Remove SSL Error Reporting telemetry
Diffstat (limited to 'base/content/content.js')
-rw-r--r-- | base/content/content.js | 30 |
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} }); |