summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base/content/browser-addons.js
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2019-04-23 12:17:09 -0400
committerGitHub <noreply@github.com>2019-04-23 12:17:09 -0400
commit8bd7da130c720480a7bd6901ef3efbdac5f7258b (patch)
tree84fa1e0b2835f632b0eefc7965ff9506813f1f9a /application/basilisk/base/content/browser-addons.js
parent7d61305b0f4415db66762ccc5ba758e2996dda63 (diff)
parentb10712de8733ef8e8b963c0d020682d7a2590c3a (diff)
downloadUXP-8bd7da130c720480a7bd6901ef3efbdac5f7258b.tar
UXP-8bd7da130c720480a7bd6901ef3efbdac5f7258b.tar.gz
UXP-8bd7da130c720480a7bd6901ef3efbdac5f7258b.tar.lz
UXP-8bd7da130c720480a7bd6901ef3efbdac5f7258b.tar.xz
UXP-8bd7da130c720480a7bd6901ef3efbdac5f7258b.zip
Merge pull request #1051 from adeshkp/remove-telemetry-security_ui
Remove SecurityUI telemetry.
Diffstat (limited to 'application/basilisk/base/content/browser-addons.js')
-rw-r--r--application/basilisk/base/content/browser-addons.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/application/basilisk/base/content/browser-addons.js b/application/basilisk/base/content/browser-addons.js
index 1d881536a..733114ba9 100644
--- a/application/basilisk/base/content/browser-addons.js
+++ b/application/basilisk/base/content/browser-addons.js
@@ -145,10 +145,6 @@ const gXPInstallObserver = {
for (let install of installInfo.installs)
install.install();
installInfo = null;
-
- Services.telemetry
- .getHistogramById("SECURITY_UI")
- .add(Ci.nsISecurityUITelemetry.WARNING_CONFIRM_ADDON_INSTALL_CLICK_THROUGH);
};
break;
}
@@ -208,10 +204,6 @@ const gXPInstallObserver = {
options);
removeNotificationOnEnd(popup, installInfo.installs);
-
- Services.telemetry
- .getHistogramById("SECURITY_UI")
- .add(Ci.nsISecurityUITelemetry.WARNING_CONFIRM_ADDON_INSTALL);
},
observe: function (aSubject, aTopic, aData)
@@ -262,8 +254,6 @@ const gXPInstallObserver = {
messageString = gNavigatorBundle.getFormattedString("xpinstallPromptMessage",
[brandShortName]);
- let secHistogram = Components.classes["@mozilla.org/base/telemetry;1"].getService(Ci.nsITelemetry).getHistogramById("SECURITY_UI");
- secHistogram.add(Ci.nsISecurityUITelemetry.WARNING_ADDON_ASKING_PREVENTED);
let popup = PopupNotifications.show(browser, notificationID,
messageString, anchorID,
null, null, options);
@@ -273,17 +263,14 @@ const gXPInstallObserver = {
messageString = gNavigatorBundle.getFormattedString("xpinstallPromptMessage",
[brandShortName]);
- let secHistogram = Components.classes["@mozilla.org/base/telemetry;1"].getService(Ci.nsITelemetry).getHistogramById("SECURITY_UI");
action = {
label: gNavigatorBundle.getString("xpinstallPromptAllowButton"),
accessKey: gNavigatorBundle.getString("xpinstallPromptAllowButton.accesskey"),
callback: function() {
- secHistogram.add(Ci.nsISecurityUITelemetry.WARNING_ADDON_ASKING_PREVENTED_CLICK_THROUGH);
installInfo.install();
}
};
- secHistogram.add(Ci.nsISecurityUITelemetry.WARNING_ADDON_ASKING_PREVENTED);
let popup = PopupNotifications.show(browser, notificationID,
messageString, anchorID,
action, null, options);