tor-browser

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

commit 5dabada4ef6453d78fa6dac0fa6bc30ab4c39c17
parent 39906288368f00a147435a3a592b5bae05adb7d1
Author: agoloman <agoloman@mozilla.com>
Date:   Wed, 22 Oct 2025 21:46:05 +0300

Revert "Bug 1910648 - Remove revampComponentsLoaded from SidebarController r=jsudiaman" for causing bc failures @browser_scroll_size_determination.js.

This reverts commit 682781dc4c02315458e9ac2756091a92cabcd108.

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

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