summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base/content/browser-addons.js
diff options
context:
space:
mode:
authoradeshkp <adeshkp@users.noreply.github.com>2019-04-21 13:02:52 -0400
committeradeshkp <adeshkp@users.noreply.github.com>2019-04-21 13:02:52 -0400
commitb10712de8733ef8e8b963c0d020682d7a2590c3a (patch)
tree2d492e0f05aaf234df1e79a5e84872bf9746d12a /application/basilisk/base/content/browser-addons.js
parentbccf86a10d845d2ea2d1dcd22383d09d3ddeba61 (diff)
downloadUXP-b10712de8733ef8e8b963c0d020682d7a2590c3a.tar
UXP-b10712de8733ef8e8b963c0d020682d7a2590c3a.tar.gz
UXP-b10712de8733ef8e8b963c0d020682d7a2590c3a.tar.lz
UXP-b10712de8733ef8e8b963c0d020682d7a2590c3a.tar.xz
UXP-b10712de8733ef8e8b963c0d020682d7a2590c3a.zip
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);