From f030cc6c05c32bcb6ad4ff2615fba84f4274e75e Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 20 Aug 2018 09:33:07 +0200 Subject: Remove TelemetryStopwatch call sites from toolkit components. Tag #21 --- toolkit/content/widgets/tabbox.xml | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'toolkit/content') diff --git a/toolkit/content/widgets/tabbox.xml b/toolkit/content/widgets/tabbox.xml index 02adb70b3..60c395c13 100644 --- a/toolkit/content/widgets/tabbox.xml +++ b/toolkit/content/widgets/tabbox.xml @@ -792,19 +792,6 @@ /Mac/.test(navigator.platform) - - - @@ -814,11 +801,6 @@ return; if (this != this.parentNode.selectedItem) { // Not selected yet - let stopwatchid = this.parentNode.getAttribute("stopwatchid"); - if (stopwatchid) { - this.TelemetryStopwatch.start(stopwatchid); - } - // Call this before setting the 'ignorefocus' attribute because this // will pass on focus if the formerly selected tab was focused as well. this.parentNode._selectNewTab(this); @@ -836,10 +818,6 @@ this.setAttribute("ignorefocus", "true"); setTimeout(tab => tab.removeAttribute("ignorefocus"), 0, this); } - - if (stopwatchid) { - this.TelemetryStopwatch.finish(stopwatchid); - } } // Otherwise this tab is already selected and we will fall // through to mousedown behavior which sets focus on the current tab, -- cgit v1.2.3