summaryrefslogtreecommitdiffstats
path: root/application/basilisk/components/places/content/history-panel.js
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-08-20 08:18:55 +0200
committerGitHub <noreply@github.com>2018-08-20 08:18:55 +0200
commit29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd (patch)
tree36c3c1770d3a2e636e34259975401014e923ddf1 /application/basilisk/components/places/content/history-panel.js
parentf36ad080c6f2f13012180dc0ac566893be9020ad (diff)
parentf3ea4b9d7ac88193b0669e12a31a20685c89691b (diff)
downloadUXP-29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd.tar
UXP-29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd.tar.gz
UXP-29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd.tar.lz
UXP-29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd.tar.xz
UXP-29fbe8f27d58a0dfa64aadbbd1757dbbeff3a4fd.zip
Merge pull request #716 from g4jc/remove_telemetry_stopwatch
Basilisk: Remove TelemetryStopwatch
Diffstat (limited to 'application/basilisk/components/places/content/history-panel.js')
-rw-r--r--application/basilisk/components/places/content/history-panel.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/application/basilisk/components/places/content/history-panel.js b/application/basilisk/components/places/content/history-panel.js
index 20dbbb5bd..65f00e93b 100644
--- a/application/basilisk/components/places/content/history-panel.js
+++ b/application/basilisk/components/places/content/history-panel.js
@@ -3,8 +3,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-Components.utils.import("resource://gre/modules/TelemetryStopwatch.jsm");
-
var gHistoryTree;
var gSearchBox;
var gHistoryGrouping = "";
@@ -81,16 +79,11 @@ function searchHistory(aInput)
options.resultType = resultType;
options.includeHidden = !!aInput;
- if (gHistoryGrouping == "lastvisited")
- this.TelemetryStopwatch.start("HISTORY_LASTVISITED_TREE_QUERY_TIME_MS");
-
// call load() on the tree manually
// instead of setting the place attribute in history-panel.xul
// otherwise, we will end up calling load() twice
gHistoryTree.load([query], options);
- if (gHistoryGrouping == "lastvisited")
- this.TelemetryStopwatch.finish("HISTORY_LASTVISITED_TREE_QUERY_TIME_MS");
}
window.addEventListener("SidebarFocused",