summaryrefslogtreecommitdiff
path: root/components/preferences/in-content/preferences.js
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2022-05-08 16:42:41 -0400
committerGaming4JC <g4jc@hyperbola.info>2022-05-08 16:42:41 -0400
commit34964f0ea6b83234e47396441ca3b8334dbf0daa (patch)
tree570f0d78d7c2c8b38343a21cfb2e9e3d351f34e5 /components/preferences/in-content/preferences.js
parent0e6fd39de109fa1020848fecddb5821501661ca7 (diff)
downloadiceweasel-uxp-34964f0ea6b83234e47396441ca3b8334dbf0daa.tar.gz
Remove telemetry more telemetry references
Diffstat (limited to 'components/preferences/in-content/preferences.js')
-rw-r--r--components/preferences/in-content/preferences.js34
1 files changed, 0 insertions, 34 deletions
diff --git a/components/preferences/in-content/preferences.js b/components/preferences/in-content/preferences.js
index 69cb180..f6a6941 100644
--- a/components/preferences/in-content/preferences.js
+++ b/components/preferences/in-content/preferences.js
@@ -124,36 +124,6 @@ function init_dynamic_padding() {
document.documentElement.appendChild(mediaStyle);
}
-function telemetryBucketForCategory(category) {
- switch (category) {
- case "general":
- case "search":
- case "content":
- case "applications":
- case "privacy":
- case "security":
- case "sync":
- return category;
- case "advanced":
- let advancedPaneTabs = document.getElementById("advancedPrefs");
- switch (advancedPaneTabs.selectedTab.id) {
- case "generalTab":
- return "advancedGeneral";
- case "dataChoicesTab":
- return "advancedDataChoices";
- case "networkTab":
- return "advancedNetwork";
- case "updateTab":
- return "advancedUpdates";
- case "encryptionTab":
- return "advancedCerts";
- }
- // fall-through for unknown.
- default:
- return "unknown";
- }
-}
-
function onHashChange() {
gotoPref();
}
@@ -194,10 +164,6 @@ function gotoPref(aCategory) {
search(category, "data-category");
let mainContent = document.querySelector(".main-content");
mainContent.scrollTop = 0;
-
- Services.telemetry
- .getHistogramById("FX_PREFERENCES_CATEGORY_OPENED")
- .add(telemetryBucketForCategory(friendlyName));
}
function search(aQuery, aAttribute) {