Bug 1883876 - Update window list in Open Tabs in Fx View when moving a tab between windows r=fxview-reviewers,sclements,sfoster

Differential Revision: https://phabricator.services.mozilla.com/D203971
This commit is contained in:
Kelly Cochrane
2024-03-22 14:02:18 +00:00
parent 9d2b79c9b2
commit 7cc1085907
3 changed files with 112 additions and 20 deletions

View File

@@ -348,11 +348,6 @@ class OpenTabsInView extends ViewPage {
switch (type) {
case "TabRecencyChange":
case "TabChange":
// if we're switching away from our tab, we can halt any updates immediately
if (!this.isSelectedBrowserTab) {
this.stop();
return;
}
windowIds = detail.windowIds;
this._updateWindowList();
this.bookmarkList.setTrackedUrls(this.#getAllTabUrls());