summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base/content/browser-sidebar.js
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/base/content/browser-sidebar.js
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/base/content/browser-sidebar.js')
-rw-r--r--application/basilisk/base/content/browser-sidebar.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/application/basilisk/base/content/browser-sidebar.js b/application/basilisk/base/content/browser-sidebar.js
index 5893e6015..27517d162 100644
--- a/application/basilisk/base/content/browser-sidebar.js
+++ b/application/basilisk/base/content/browser-sidebar.js
@@ -194,10 +194,6 @@ var SidebarUI = {
return;
}
- if (this.isOpen && commandID != this.currentID) {
- BrowserUITelemetry.countSidebarEvent(this.currentID, "hide");
- }
-
let broadcasters = document.getElementsByAttribute("group", "sidebar");
for (let broadcaster of broadcasters) {
// skip elements that observe sidebar broadcasters and random
@@ -260,7 +256,6 @@ var SidebarUI = {
selBrowser.messageManager.sendAsyncMessage("Sidebar:VisibilityChange",
{commandID: commandID, isOpen: true}
);
- BrowserUITelemetry.countSidebarEvent(commandID, "show");
});
},
@@ -298,7 +293,6 @@ var SidebarUI = {
selBrowser.messageManager.sendAsyncMessage("Sidebar:VisibilityChange",
{commandID: commandID, isOpen: false}
);
- BrowserUITelemetry.countSidebarEvent(commandID, "hide");
},
};