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
Safebrowsing removal in windows #54
Comments
A while ago, I had problems trying to update the Windows version without removing Safe Browsing entirely. I think this pattern has since carried forward.
I've wondered about this for a while. It'd be beneficial for macOS, and could solve some bugs in Linux builds relating to the partially removed Safe Browsing code. @Zoraver Since you've updated ungoogled-chromium in recent versions, what are your thoughts on merging changes from this Windows patch back into ungoogled-chromium? |
I will give it a try applying it on macos build. So far I realised everything in |
Successfully built and working on macOS with some minor changes. Merging @Eloston can this issue be moved to core repo? |
@Eloston I don't think that merging From my perspective, merging it back to ungoogled-chromium will just increase the (already nontrivial) amount of work required to port ungoogled-chromium to a new major version of Chromium with little to no payoff for people who don't use Windows. This will likely result in longer delays between the release of a new major version of Chromium and ungoogled-chromium being available for it. |
Maybe it can be left as optinal, so each version bump can be done without it and it would be left to the bravest among us to work on. |
The core repo currently lives under my personal account, whereas this repo lives under the ungoogled-software organization. GitHub won't allow me to move issues across users/organizations. As a workaround, we could cross-link this issue to a new one, but I don't think that's immediately necessary.
The reason I suggested the idea is we will sometimes have obscure crashing bugs (e.g. migrating Chrome profiles to ungoogled-chromium) because we don't completely patch out the components we do not want. Technically it is safer to completely remove components we do not want, because it forces us to properly fix all code paths during compile time. However, I agree with your point that our current development workflow would make updates prohibitively slow. Considering the majority of use-cases (most don't migrate profiles from Chrome) and platforms we support (Linux is probably the most popular in our user base), it is probably not a good idea to merge this Safe Browsing patch into the main repo right now. I'll expand on this point a bit more below.
This is a part of my idea in ungoogled-software/ungoogled-chromium#1087. In theory, that new tool would make it feasible to maintain a huge Safe Browsing patch. However, we'd need to do quite a bit of research first to test the feasibility of the tool. For example, I'm interested to see how practical it is to use AST representations of the C++ code to automate common patch-breaking code changes. In summary, I don't think there's much we can do about this issue until we develop that better tool. Of course, I'm also open to other suggestions. |
Why does windows build require more in depth removal of safebrowsing compared to other platforms?
Would insertion of
windows-fix-building-without-safebrowsing.patch
to other platform builds results in better safebrowsing removal since big part of code removed is not windows specific?The text was updated successfully, but these errors were encountered: