morgan pushed to branch base-browser-140.2.0esr-15.0-1 at The Tor Project /
Applications / Tor Browser
Commits:
76412dec by Henry Wilkes at 2025-08-19T12:08:17+00:00
BB 43902: Modify the new sidebar for Base Browser.
- - - - -
1 changed file:
- browser/components/sidebar/browser-sidebar.js
Changes:
=====================================
browser/components/sidebar/browser-sidebar.js
=====================================
@@ -113,6 +113,9 @@ var SidebarController = {
gleanEvent: Glean.history.sidebarToggle,
gleanClickEvent: Glean.sidebar.historyIconClick,
recordSidebarVersion: true,
+ // In permanent private browsing, the history panel can be opened,
but
+ // we hide the sidebar button to control this. tor-browser#43902.
+ visible: !PrivateBrowsingUtils.permanentPrivateBrowsing,
}),
],
[
@@ -131,6 +134,15 @@ var SidebarController = {
? "sidebar-synced-tabs-context-menu"
: undefined,
gleanClickEvent: Glean.sidebar.syncedTabsIconClick,
+ // firefoxview is disabled. tor-browser#42037 and tor-browser#43902.
+ // See bugzilla bug 1983505.
+ // NOTE: The menuId and elementId menu items (sidebar switchers)
+ // should be hidden via the `sync-ui-item` class, which will *one*
+ // time hide the menu items via gSync.init.
+ // #sidebar-switcher-tabs is already in the initial browser DOM,
+ // and #menu_tabsSidebar is created during SidebarController.init,
+ // which seems to run prior to gSync.init.
+ visible: false,
}),
],
[
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/76412dec075e5e94c94432a21bb68dfbb35dbe69
--
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/76412dec075e5e94c94432a21bb68dfbb35dbe69
You're receiving this email because of your account on gitlab.torproject.org.
_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]