summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base/content/browser.js
diff options
context:
space:
mode:
authorGaming4JC <g4jc@bulletmail.org>2018-06-21 20:09:48 -0400
committerGaming4JC <g4jc@bulletmail.org>2018-06-21 20:09:48 -0400
commite3719ec517645a17224d2f3e5d3320ea77952719 (patch)
tree326ff9724e7adc8b33ca9f4da0247457686b41a1 /application/basilisk/base/content/browser.js
parente6f765a27070a6b922742e61d0a14dcc2c18baba (diff)
downloadUXP-e3719ec517645a17224d2f3e5d3320ea77952719.tar
UXP-e3719ec517645a17224d2f3e5d3320ea77952719.tar.gz
UXP-e3719ec517645a17224d2f3e5d3320ea77952719.tar.lz
UXP-e3719ec517645a17224d2f3e5d3320ea77952719.tar.xz
UXP-e3719ec517645a17224d2f3e5d3320ea77952719.zip
Remove BrowserUITelemetry from Basilisk application
Diffstat (limited to 'application/basilisk/base/content/browser.js')
-rw-r--r--application/basilisk/base/content/browser.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/application/basilisk/base/content/browser.js b/application/basilisk/base/content/browser.js
index 64c0d86f5..38c340eea 100644
--- a/application/basilisk/base/content/browser.js
+++ b/application/basilisk/base/content/browser.js
@@ -16,7 +16,6 @@ Cu.import("resource://gre/modules/NotificationDB.jsm");
["AboutHome", "resource:///modules/AboutHome.jsm"],
["AddonWatcher", "resource://gre/modules/AddonWatcher.jsm"],
["AppConstants", "resource://gre/modules/AppConstants.jsm"],
- ["BrowserUITelemetry", "resource:///modules/BrowserUITelemetry.jsm"],
["BrowserUsageTelemetry", "resource:///modules/BrowserUsageTelemetry.jsm"],
["BrowserUtils", "resource://gre/modules/BrowserUtils.jsm"],
["CastingApps", "resource:///modules/CastingApps.jsm"],
@@ -3722,18 +3721,6 @@ const BrowserSearch = {
openUILinkIn(this.searchEnginesURL, where);
},
- _getSearchEngineId: function (engine) {
- if (engine && engine.identifier) {
- return engine.identifier;
- }
-
- if (!engine || (engine.name === undefined) ||
- !Services.prefs.getBoolPref("toolkit.telemetry.enabled"))
- return "other";
-
- return "other-" + engine.name;
- },
-
/**
* Helper to record a search with Telemetry.
*
@@ -3752,7 +3739,6 @@ const BrowserSearch = {
* selected it: {selection: {index: The selected index, kind: "key" or "mouse"}}
*/
recordSearchInTelemetry: function (engine, source, details={}) {
- BrowserUITelemetry.countSearchEvent(source, null, details.selection);
try {
BrowserUsageTelemetry.recordSearch(engine, source, details);
} catch (ex) {
@@ -3776,8 +3762,6 @@ const BrowserSearch = {
* (string) Where was the search link opened (e.g. new tab, current tab, ..).
*/
recordOneoffSearchInTelemetry: function (engine, source, type, where) {
- let id = this._getSearchEngineId(engine) + "." + source;
- BrowserUITelemetry.countOneoffSearchEvent(id, type, where);
try {
const details = {type, isOneOff: true};
BrowserUsageTelemetry.recordSearch(engine, source, details);