-
Notifications
You must be signed in to change notification settings - Fork 888
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
Fix default search logic for Tor window and guest window #3738
Conversation
0749e00
to
e854bcc
Compare
a4208d5
to
487ab5f
Compare
I think we can do some cleanup |
That would be a good follow up for sure - not sure if that should be done in this PR (this needs to go back to 0.70, for C78) How do things look otherwise, @simonhong? 😄 |
Fixes brave/brave-browser#6476 Specifically, fixes the engine when a previously set engine is no longer available. For example, in DE the engine used to be DDG (501), but was changed in the prepopulated list to DDG_DE(516). The value in the preferences will not be able to be used to get a valid engine (and cause a crash). This change checks if the currently selected engine is available and if not resets the value to the currently preset default.
487ab5f
to
f07cdf2
Compare
Given the manual testing done + full CI passing (and the need for a build soon), I'm going to merge this one 👍 |
Fixes brave/brave-browser#6476
Specifically fixes:
Submitter Checklist:
npm run lint
)git rebase master
(if needed).git rebase -i
to squash commits (if needed).Test Plan:
I ran through the following:
Germany
Search in...
Australia
Search in...
New Zealand
Search in...
Ireland
Search in...
USA
Search in...
Reviewer Checklist:
After-merge Checklist:
changes has landed on.