In 4.5 (#14630 (moved)), we removed the Torbutton settings window because I assumed that users could use the Firefox proxy setting instead. Unfortunately, Torbutton still has code to check if its SOCKS settings match the browser proxy settings, and to disable itself if these are out of sync.
We should remove this old code so that it is easier for people to point TBB at a different Tor instance. The code is a toggle-era relic, and we have a control port check anyway.
We should also ensure that if the Tor check fails, Torbutton's features aren't actually disabled, and that the difference is only a cosmetic warning. Right now, I fear that features are actually disabled, due to other toggle-era checks.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
Sometimes when you pull on a thread, an entire sweater begins to unravel. Kathy and I removed the code that dealt with the long gone proxy preferences, and that led us to to clean up more Torbutton code. The following branch contains 4 commits that are ready for review:
https://gitweb.torproject.org/user/brade/torbutton.git/log/?h=bug15852-01
These commits can be smooshed together before merging into master, but it seemed better to keep them separate for review purposes.
Please let us know if we removed something that should be kept. In our judgment, all of the code that we removed was either not being used or it could have confusing (and possible harmful) effects.
Trac: Keywords: TorBrowserTeam201608 deleted, TorBrowserTeam201608R added Status: assigned to needs_review
re commit 6244aadf7cfd944e8b53aabd1da52fe40df89f96:
It seems we don't need to add/remove an observer for network.proxy anymore in torbutton,js?
You are right. We will remove that observer.
Maybe add 3. Reset Security Slider settings" in torbutton_prefs_reset_defaults()`?
OK.
I have the feeling that
{{{
// XXX: Hack for TBB people who alternate between transproxy and non
}}}
in startup-observer.js can go as well or did I miss something?
Do you mean just remove the comment or do you want the code to be removed? Kathy and I thought we should keep the code so that existing behavior is not modified for users who rely on setting the env variables.
I have the feeling that
{{{
// XXX: Hack for TBB people who alternate between transproxy and non
}}}
in startup-observer.js can go as well or did I miss something?
Do you mean just remove the comment or do you want the code to be removed? Kathy and I thought we should keep the code so that existing behavior is not modified for users who rely on setting the env variables.
Just the comment. It seemed to me, if at all, then it only applied to the lines you removed.
While testing some other things, Kathy and I noticed a change in behavior compared to older versions of Torbutton: prior to the commit that fixed this ticket, the network.proxy.socks and network.proxy.socks_port prefs were not reset in the absence of env vars. We should probably restore the old behavior.
were not removed with this update? Are they still being used anywhere?
Looking at Torbutton master it seems to me they are gone as well? Grepping in different ways does not show instances of them anymore. Where do you still see them?
Looks good and got applied to master (commit 0a5e21b00533960317352ac27db996258544eac6) and hardened-builds (commit 36842fddafcf79bab6911def2ec4133826bc28f9).
Trac: Resolution: N/Ato fixed Status: needs_review to closed