summaryrefslogtreecommitdiffstats
path: root/application/basilisk/modules/PermissionUI.jsm
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/modules/PermissionUI.jsm
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/modules/PermissionUI.jsm')
-rw-r--r--application/basilisk/modules/PermissionUI.jsm23
1 files changed, 0 insertions, 23 deletions
diff --git a/application/basilisk/modules/PermissionUI.jsm b/application/basilisk/modules/PermissionUI.jsm
index 5fa0f9f06..5c8b94421 100644
--- a/application/basilisk/modules/PermissionUI.jsm
+++ b/application/basilisk/modules/PermissionUI.jsm
@@ -437,26 +437,12 @@ GeolocationPermissionPrompt.prototype = {
},
get promptActions() {
- // We collect Telemetry data on Geolocation prompts and how users
- // respond to them. The probe keys are a bit verbose, so let's alias them.
- const SHARE_LOCATION =
- Ci.nsISecurityUITelemetry.WARNING_GEOLOCATION_REQUEST_SHARE_LOCATION;
- const ALWAYS_SHARE =
- Ci.nsISecurityUITelemetry.WARNING_GEOLOCATION_REQUEST_ALWAYS_SHARE;
- const NEVER_SHARE =
- Ci.nsISecurityUITelemetry.WARNING_GEOLOCATION_REQUEST_NEVER_SHARE;
-
- let secHistogram = Services.telemetry.getHistogramById("SECURITY_UI");
-
let actions = [{
label: gBrowserBundle.GetStringFromName("geolocation.shareLocation"),
accessKey:
gBrowserBundle.GetStringFromName("geolocation.shareLocation.accesskey"),
action: null,
expireType: null,
- callback: function() {
- secHistogram.add(SHARE_LOCATION);
- },
}];
if (!this.principal.URI.schemeIs("file")) {
@@ -467,9 +453,6 @@ GeolocationPermissionPrompt.prototype = {
gBrowserBundle.GetStringFromName("geolocation.alwaysShareLocation.accesskey"),
action: Ci.nsIPermissionManager.ALLOW_ACTION,
expireType: null,
- callback: function() {
- secHistogram.add(ALWAYS_SHARE);
- },
});
// Never share location action.
@@ -479,9 +462,6 @@ GeolocationPermissionPrompt.prototype = {
gBrowserBundle.GetStringFromName("geolocation.neverShareLocation.accesskey"),
action: Ci.nsIPermissionManager.DENY_ACTION,
expireType: null,
- callback: function() {
- secHistogram.add(NEVER_SHARE);
- },
});
}
@@ -489,9 +469,6 @@ GeolocationPermissionPrompt.prototype = {
},
onBeforeShow() {
- let secHistogram = Services.telemetry.getHistogramById("SECURITY_UI");
- const SHOW_REQUEST = Ci.nsISecurityUITelemetry.WARNING_GEOLOCATION_REQUEST;
- secHistogram.add(SHOW_REQUEST);
},
};