-
Notifications
You must be signed in to change notification settings - Fork 90
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 crash on first startup in EEA #1369
Conversation
that check is only required to make static the maximum histogram value generated by RecordChoiceScreenSelectedIndex. |
may I ask how to see it? |
Makes sense, Enable-search-engine-settings-desktop-ui.patch is not one we include currently.
Sounds good to me!
How to see the chat? Sure, it is the CalyxOS Development channel from this list. Here is a Matrix permalink to around the time this was discussed. The user discovered the issue because they kept running into it when we couldn't repro it, and they kept investigating. They didn't refer to this as a proper fix but said it worked around the problem for them. When I looked at it, the idea looked okay to me, and it worked. If kMaxEeaPrepopulatedEngines can simply be pulled out, that sounds good, too. |
It's referenced in a lot of places, particularly if we count the tests. What if we just increase the number to something ridiculously high like 10000? Or what do you prefer? I got a little stuck on what should go in RecordChoiceScreenSelectedIndex if we remove kMaxEeaPrepopulatedEngines. |
https://source.chromium.org/search?q=kMaxEeaPrepopulatedEngines
deletes the code completely: record the data as a histogram for statistics, I don't think you use them, or do you? |
Nope, definitely don't, but it looked like it could break tests by removing that, which would be yet another annoyance to change. I'm not worried about tests either, so this sounds good. I'll update this. |
Solves an issue in which, with a system language whose country code is a country within the European Economic Area (extension of the EU), the browser may crash in template_url_prepopulate_data.cc with this error: `Check failed: t_urls.size() <= kMaxEeaPrepopulatedEngines (10 vs. 8)` Discovered by a user in the CalyxOS Development channel. Does not affect Cromite itself, but would impact forks which do not include "Enable-search-engine-settings-desktop-ui.patch". Issue: calyxos#2636
Description
Solves an issue in which, with a system language whose country code is a country within the European Economic Area (extension of the EU), the browser may crash in template_url_prepopulate_data.cc with this error:
Check failed: t_urls.size() <= kMaxEeaPrepopulatedEngines (10 vs. 8)
Discovered by a user in the CalyxOS Development channel. Does not appear to affect Cromite itself for some reason, but may impact forks.
All submissions
Format
Subject: Alternative cache (NIK-based)
->Alternative-cache-NIK-based.patch
)