morgan pushed to branch tor-browser-140.2.0esr-15.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
2c5430c0
by Henry Wilkes at 2025-08-18T14:04:47+01:00
1 changed file:
Changes:
... | ... | @@ -113,6 +113,9 @@ var SidebarController = { |
113 | 113 | gleanEvent: Glean.history.sidebarToggle,
|
114 | 114 | gleanClickEvent: Glean.sidebar.historyIconClick,
|
115 | 115 | recordSidebarVersion: true,
|
116 | + // In permanent private browsing, the history panel can be opened, but
|
|
117 | + // we hide the sidebar button to control this. tor-browser#43902.
|
|
118 | + visible: !PrivateBrowsingUtils.permanentPrivateBrowsing,
|
|
116 | 119 | }),
|
117 | 120 | ],
|
118 | 121 | [
|
... | ... | @@ -131,6 +134,15 @@ var SidebarController = { |
131 | 134 | ? "sidebar-synced-tabs-context-menu"
|
132 | 135 | : undefined,
|
133 | 136 | gleanClickEvent: Glean.sidebar.syncedTabsIconClick,
|
137 | + // firefoxview is disabled. tor-browser#42037 and tor-browser#43902.
|
|
138 | + // See bugzilla bug 1983505.
|
|
139 | + // NOTE: The menuId and elementId menu items (sidebar switchers)
|
|
140 | + // should be hidden via the `sync-ui-item` class, which will *one*
|
|
141 | + // time hide the menu items via gSync.init.
|
|
142 | + // #sidebar-switcher-tabs is already in the initial browser DOM,
|
|
143 | + // and #menu_tabsSidebar is created during SidebarController.init,
|
|
144 | + // which seems to run prior to gSync.init.
|
|
145 | + visible: false,
|
|
134 | 146 | }),
|
135 | 147 | ],
|
136 | 148 | [
|