diff options
author | Gaming4JC <g4jc@bulletmail.org> | 2018-06-21 19:15:22 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@bulletmail.org> | 2018-06-21 19:15:22 -0400 |
commit | cf2ec9e9788120baace086a45ba898fc709a5e6f (patch) | |
tree | 8e6ec4350e23555afaea2f4c6a96d514852fd7ed /base/content/browser.js | |
parent | 4a136d92dd32b63c9dfb4277e6435ee48ebb23d5 (diff) | |
download | iceweasel-uxp-cf2ec9e9788120baace086a45ba898fc709a5e6f.tar.gz |
Remove BrowserUITelemetry
Diffstat (limited to 'base/content/browser.js')
-rwxr-xr-x | base/content/browser.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/base/content/browser.js b/base/content/browser.js index 5f4b576..b21f8f0 100755 --- a/base/content/browser.js +++ b/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); |