tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 682781dc4c02315458e9ac2756091a92cabcd108
parent 658e41e5b6704218a75a8432c85da0267bfda995
Author: Cassandra Stone <Cassandra.Stone@unh.edu>
Date:   Wed, 22 Oct 2025 11:53:34 +0000

Bug 1910648 - Remove revampComponentsLoaded from SidebarController r=jsudiaman

Differential Revision: https://phabricator.services.mozilla.com/D269498

Diffstat:
Mbrowser/components/sidebar/browser-sidebar.js | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/browser/components/sidebar/browser-sidebar.js b/browser/components/sidebar/browser-sidebar.js @@ -446,7 +446,6 @@ var SidebarController = { { global: "current" } ); } - this.revampComponentsLoaded = true; this._state.initializeState(this._showLauncherAfterInit); // clear the flag after we've used it delete this._showLauncherAfterInit; @@ -565,7 +564,7 @@ var SidebarController = { this._mainResizeObserver = null; } - if (this.revampComponentsLoaded) { + if (this.sidebarRevampEnabled) { // Explicitly disconnect the `sidebar-main` element so that listeners // setup by reactive controllers will also be removed. this.sidebarMain.remove(); @@ -665,7 +664,7 @@ var SidebarController = { this.showInitially(this.lastOpenedId); break; } - if (this.revampComponentsLoaded) { + if (this.sidebarRevampEnabled) { this.sidebarMain.requestUpdate(); } break;