-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
crash with Google autocomplete and Private Window #9119
Comments
@rebron nice find 👍Reproduced using the following builds:
However, I can't reproduce the crash using the following build:
Seems like C81 related as @rebron mentioned above. |
Fixes brave/brave-browser#9119 When search suggestions are turned on and a user types into the omnibox in a Private window a crash would occur. This started happening with the upgrade to Chromium 81 because the check for BitmapFetchService bein null has been removed in ChromeOmniboxClient::OnResultChanged (and other places). This is because the code there isn't expected to be triggered for an OTR profile. Updated BraveAutocompleteProviderClient to override 2 additional methods: 1. IsOffTheRecord 2. StartServiceWorker These methods regulate when it is suitable to make suggestions and should use the real profile (OTR or regular) instead of using regular profile that we send to the base class even when the profile is OTR.
I can still reproduce this on Used the following build to reproduce on
|
Verification passed on
Verification passed on
Clean profile:
Upgraded profile: ( 1.7.95 to 1.7.98)
Verified passed with
Clean profile:
Upgraded profile: (1.7.95 to 1.7.98)
|
Description
Instant crash with Google's autocomplete pref on and opening a New Private Window.
Crash ID: 4f71746f-6429-4691-aa1a-32107e6428e5
Crassh ID: f3634a1b-bc46-4181-b04b-cbcc5c54f647
Steps to Reproduce
Autocomplete searches and URLs
in brave://settings/privacy with Google as the search engine.Actual result:
See str.
Expected result:
No crash with Google's new autocomplete feed in Private Window.
Reproduces how often:
Easily. CR 81 related.
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
The text was updated successfully, but these errors were encountered: