-
Notifications
You must be signed in to change notification settings - Fork 909
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
Fixed crash when searching from omnibox in tor window with search engine extension #8460
Conversation
92f420d
to
62b2a36
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.
see comments
62b2a36
to
b78efe8
Compare
b78efe8
to
16742b5
Compare
# License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
# You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
import("//components/gcm_driver/config.gni") |
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.
cc @mariospr
16742b5
to
ec557cb
Compare
fix brave/brave-browser#15140 When OnTemplateURLServiceChanged() is called, it tries to access default search engine provider but it's null when search engine extension is installed and that extension enabled to private window. Those code is not valid now so just deleted because we can't change tor window's search engine during the run time. It was possible ago but not now.
…UILD.gn to avoid import loop.
ec557cb
to
461f70c
Compare
Fixed crash when searching from omnibox in tor window with search engine extension
Fixed crash when searching from omnibox in tor window with search engine extension
@simonhong seems like this is still still crashing using
STR:
I can reproduce 100% of the time on my |
Created brave/brave-browser#15224 as the above is a different crash and requires actually searching. The above fixes the crash when a user sets focus in the URL. |
Fixed crash when searching from omnibox in tor window with search engine extension
Verification PASSED on
However, brave/brave-browser#15224 is still happening and will need to be fixed in a new PR. |
fix brave/brave-browser#15140
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
,npm run lint
,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: