diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2022-05-08 16:42:41 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2022-05-08 16:42:41 -0400 |
commit | 34964f0ea6b83234e47396441ca3b8334dbf0daa (patch) | |
tree | 570f0d78d7c2c8b38343a21cfb2e9e3d351f34e5 /components/search/service/nsSearchService.js | |
parent | 0e6fd39de109fa1020848fecddb5821501661ca7 (diff) | |
download | iceweasel-uxp-34964f0ea6b83234e47396441ca3b8334dbf0daa.tar.gz |
Remove telemetry more telemetry references
Diffstat (limited to 'components/search/service/nsSearchService.js')
-rw-r--r-- | components/search/service/nsSearchService.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/components/search/service/nsSearchService.js b/components/search/service/nsSearchService.js index b4db31d..aaa719e 100644 --- a/components/search/service/nsSearchService.js +++ b/components/search/service/nsSearchService.js @@ -2309,8 +2309,6 @@ SearchService.prototype = { this._initObservers.resolve(this._initRV); Services.obs.notifyObservers(null, SEARCH_SERVICE_TOPIC, "init-complete"); - Services.telemetry.getHistogramById("SEARCH_SERVICE_INIT_SYNC").add(true); - this._recordEngineTelemetry(); LOG("_syncInit end"); }, @@ -2348,8 +2346,6 @@ SearchService.prototype = { this._cacheFileJSON = null; this._initObservers.resolve(this._initRV); Services.obs.notifyObservers(null, SEARCH_SERVICE_TOPIC, "init-complete"); - Services.telemetry.getHistogramById("SEARCH_SERVICE_INIT_SYNC").add(false); - this._recordEngineTelemetry(); LOG("_asyncInit: Completed _asyncInit"); }), @@ -2715,7 +2711,6 @@ SearchService.prototype = { // Typically we'll re-init as a result of a pref observer, // so signal to 'callers' that we're done. Services.obs.notifyObservers(null, SEARCH_SERVICE_TOPIC, "init-complete"); - this._recordEngineTelemetry(); gInitialized = true; } catch (err) { LOG("Reinit failed: " + err); @@ -3892,25 +3887,6 @@ SearchService.prototype = { return result; }, - _recordEngineTelemetry: function() { - Services.telemetry.getHistogramById("SEARCH_SERVICE_ENGINE_COUNT") - .add(Object.keys(this._engines).length); - let hasUpdates = false; - let hasIconUpdates = false; - for (let name in this._engines) { - let engine = this._engines[name]; - if (engine._hasUpdates) { - hasUpdates = true; - if (engine._iconUpdateURL) { - hasIconUpdates = true; - break; - } - } - } - Services.telemetry.getHistogramById("SEARCH_SERVICE_HAS_UPDATES").add(hasUpdates); - Services.telemetry.getHistogramById("SEARCH_SERVICE_HAS_ICON_UPDATES").add(hasIconUpdates); - }, - /** * This map is built lazily after the available search engines change. It * allows quick parsing of an URL representing a search submission into the |