In Tor Browser 9.0, there is now a "Tor" section in the preferences. When setting the TOR_SKIP_LAUNCH=1 variable to disable Tor (e.g. if in a transparent proxy environment) then the section is still visible on the left but clicking on it does nothing. It should be hidden when this variable is set to prevent confusion.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
That's a bit of new code added to different places and I would be hesitating just shipping it in 9.0.1. But it seems it's mainly the mechanism used to hide Sync if it is disabled. Thus, this seems already tested quite a bit. So, this looks good to me and works for me, thanks!
I put your code into proper fixup commits, though, this time. Please do it the next time, too (if there is anything that's worth a fixup commit and not a "real" one).
Applied to tor-browser-68.2.0esr-9.5-1 (commit 5d24d4b6873de2da8afa7cba448905522311a4b8) and tor-browser-68.2.0esr-9.0-1 (commit a339c6ec84d612d37eb409eca1b36706a89c9486).