Reverted tab match by host only and opted to try to find the active tab instead.
chrome.windows.getLastFocused drops focus for the current window when the extension is opened to show the chart. This causes a race condition where the current tab is most likely cleared out by the time the chart is displayed. The fix is to allow preserving currentTab when closing the time interval.
Removed activity.clearCurrentActiveTab as it is unused.
Fixed additional issue with setActiveTooltip to correctly find tooltip by host.
chrome.windows.getLastFocused
drops focus for the current window when the extension is opened to show the chart. This causes a race condition where the current tab is most likely cleared out by the time the chart is displayed. The fix is to allow preservingcurrentTab
when closing the time interval.activity.clearCurrentActiveTab
as it is unused.setActiveTooltip
to correctly find tooltip by host.