diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-08-20 09:33:07 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-08-20 09:33:07 +0200 |
commit | f030cc6c05c32bcb6ad4ff2615fba84f4274e75e (patch) | |
tree | c0ee4e5dc2750d2bf025a3c3c2aa013128361167 /toolkit/components/places/nsPlacesAutoComplete.js | |
parent | 3499a2e4932e3054a229987aca80e7abd9c75c6c (diff) | |
download | UXP-f030cc6c05c32bcb6ad4ff2615fba84f4274e75e.tar UXP-f030cc6c05c32bcb6ad4ff2615fba84f4274e75e.tar.gz UXP-f030cc6c05c32bcb6ad4ff2615fba84f4274e75e.tar.lz UXP-f030cc6c05c32bcb6ad4ff2615fba84f4274e75e.tar.xz UXP-f030cc6c05c32bcb6ad4ff2615fba84f4274e75e.zip |
Remove TelemetryStopwatch call sites from toolkit components.
Tag #21
Diffstat (limited to 'toolkit/components/places/nsPlacesAutoComplete.js')
-rw-r--r-- | toolkit/components/places/nsPlacesAutoComplete.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/toolkit/components/places/nsPlacesAutoComplete.js b/toolkit/components/places/nsPlacesAutoComplete.js index 29bdae4c1..9c6452ecd 100644 --- a/toolkit/components/places/nsPlacesAutoComplete.js +++ b/toolkit/components/places/nsPlacesAutoComplete.js @@ -8,8 +8,6 @@ Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); Components.utils.import("resource://gre/modules/Services.jsm"); XPCOMUtils.defineLazyModuleGetter(this, "PlacesUtils", "resource://gre/modules/PlacesUtils.jsm"); -XPCOMUtils.defineLazyModuleGetter(this, "TelemetryStopwatch", - "resource://gre/modules/TelemetryStopwatch.jsm"); XPCOMUtils.defineLazyModuleGetter(this, "NetUtil", "resource://gre/modules/NetUtil.jsm"); XPCOMUtils.defineLazyModuleGetter(this, "Task", @@ -1510,8 +1508,6 @@ urlInlineComplete.prototype = { // Do a synchronous search on the table of hosts. let query = this._hostQuery; query.params.search_string = this._currentSearchString.toLowerCase(); - // This is just to measure the delay to reach the UI, not the query time. - TelemetryStopwatch.start(DOMAIN_QUERY_TELEMETRY); let wrapper = new AutoCompleteStatementCallbackWrapper(this, { handleResult: aResultSet => { if (this._pendingSearch != pendingSearch) @@ -1541,7 +1537,6 @@ urlInlineComplete.prototype = { handleCompletion: aReason => { if (this._pendingSearch != pendingSearch) return; - TelemetryStopwatch.finish(DOMAIN_QUERY_TELEMETRY); this._finishSearch(); } }, this._db); |