diff options
Diffstat (limited to 'components/preferences')
-rw-r--r-- | components/preferences/in-content/content.js | 5 | ||||
-rw-r--r-- | components/preferences/in-content/preferences.js | 34 |
2 files changed, 0 insertions, 39 deletions
diff --git a/components/preferences/in-content/content.js b/components/preferences/in-content/content.js index a2a3e8a..d0423bf 100644 --- a/components/preferences/in-content/content.js +++ b/components/preferences/in-content/content.js @@ -101,11 +101,6 @@ var gContentPane = { gSubDialog.open("chrome://browser/content/preferences/permissions.xul", "resizable=yes", params); - - try { - Services.telemetry - .getHistogramById("WEB_NOTIFICATION_EXCEPTIONS_OPENED").add(); - } catch (e) {} }, 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) { |