-
Notifications
You must be signed in to change notification settings - Fork 892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block URL requests in Tor windows if Tor is not set up right. #1679
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added QA/Yes for brave/brave-browser#3349 because your manual test plan is detailed.
And maybe we can make MockTorProfileServiceImpl
inheriting TorProfileServiceImpl
to avoid duplicate logic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you squash lint changes into one?
- Fix copyright headings to appease lint. - Fix header include guards to appease lint. - Fix missing includes. - Use explicit for unary constructors. - Fix whitespace to appease lint.
fe5d37c
to
0471a50
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++
Not sure whether I should set QA/Yes or QA/No here: the steps to reproduce are kind of obscure, and the automatic test ought to cover this. But I'm also a little nervous about keeping the copypasta in tor_profile_service_impl.cc and mock_tor_profile_service_impl.cc synchronized.
fix brave/brave-browser#3058
fix brave/brave-browser#3349
Submitter Checklist:
npm test brave_unit_tests && npm test brave_browser_tests
) ongit rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
npm test brave_unit_tests
tor-<version>-<os>-brave-<revision>
file under the user data directory (~/.config/BraveSoftware/Brave-Browser-Dev or similar on Linux, ~/Library/Application Support/BraveSoftware/Brave-Browser-Dev or similar on macOS, %appdata%\BraveSoftware\Brave-Browser-Dev or similar on Windows).chmod -x tor-<version>-<os>-brave-<revision> && sudo chown nobody tor-<version>-<os>-brave-<revision>
.Reviewer Checklist: