summaryrefslogtreecommitdiffstats
path: root/application/basilisk/components/customizableui/CustomizableWidgets.jsm
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-06-22 13:03:45 +0200
committerGitHub <noreply@github.com>2018-06-22 13:03:45 +0200
commit5f5523bffd09c2caa5de5a08758db9574cb5978b (patch)
tree78273646952793ba3d80ca8d270edf485c235cc6 /application/basilisk/components/customizableui/CustomizableWidgets.jsm
parent4b65237d5d6e6f84a69571435e7b9fa5b36f444f (diff)
parente3719ec517645a17224d2f3e5d3320ea77952719 (diff)
downloadUXP-5f5523bffd09c2caa5de5a08758db9574cb5978b.tar
UXP-5f5523bffd09c2caa5de5a08758db9574cb5978b.tar.gz
UXP-5f5523bffd09c2caa5de5a08758db9574cb5978b.tar.lz
UXP-5f5523bffd09c2caa5de5a08758db9574cb5978b.tar.xz
UXP-5f5523bffd09c2caa5de5a08758db9574cb5978b.zip
Merge pull request #528 from g4jc/remove_browser_ui_telemetry
backport mozbug 1453667: Remove BrowserUITelemetry from Basilisk application
Diffstat (limited to 'application/basilisk/components/customizableui/CustomizableWidgets.jsm')
-rw-r--r--application/basilisk/components/customizableui/CustomizableWidgets.jsm4
1 files changed, 0 insertions, 4 deletions
diff --git a/application/basilisk/components/customizableui/CustomizableWidgets.jsm b/application/basilisk/components/customizableui/CustomizableWidgets.jsm
index 3e00d385f..642e06f0f 100644
--- a/application/basilisk/components/customizableui/CustomizableWidgets.jsm
+++ b/application/basilisk/components/customizableui/CustomizableWidgets.jsm
@@ -11,8 +11,6 @@ Cu.import("resource:///modules/CustomizableUI.jsm");
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/AppConstants.jsm");
-XPCOMUtils.defineLazyModuleGetter(this, "BrowserUITelemetry",
- "resource:///modules/BrowserUITelemetry.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "PlacesUtils",
"resource://gre/modules/PlacesUtils.jsm");
XPCOMUtils.defineLazyModuleGetter(this, "PlacesUIUtils",
@@ -497,7 +495,6 @@ const CustomizableWidgets = [
item.addEventListener("click", e => {
doc.defaultView.openUILink(tabInfo.url, e);
CustomizableUI.hidePanelForNode(item);
- BrowserUITelemetry.countSyncedTabEvent("open", "toolbarbutton-subview");
});
return item;
},
@@ -1179,7 +1176,6 @@ if (Services.prefs.getBoolPref("privacy.panicButton.enabled")) {
this._ensureSanitizer();
this._sanitizer.range = this._getSanitizeRange(doc);
let group = doc.getElementById("PanelUI-panic-timeSpan");
- BrowserUITelemetry.countPanicEvent(group.selectedItem.id);
group.selectedItem = doc.getElementById("PanelUI-panic-5min");
let itemsToClear = [
"cookies", "history", "openWindows", "formdata", "sessions", "cache", "downloads"