Skip to content
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

Patches for v101 #2010

Merged
merged 3 commits into from
Apr 28, 2022
Merged

Patches for v101 #2010

merged 3 commits into from
Apr 28, 2022

Conversation

csagan5
Copy link
Contributor

@csagan5 csagan5 commented Apr 21, 2022

The first half of the patches for v101.

@uazo
Copy link
Collaborator

uazo commented Apr 22, 2022

if it can help you uazo/bromite-buildtools#12
I have not finished yet

@csagan5
Copy link
Contributor Author

csagan5 commented Apr 23, 2022

if it can help you uazo/bromite-buildtools#12

Yes, I will use your version of the breaking patches you contributed (Experimental user scripts, Logcat UI etc) and check the differences.

About the JIT patch JIT-site-settings.patch, is the author correct? I see it changed between fgei and hardenedfuchsiaoswhen, do you have the original patch that was used? Instead if you have written this yourself I will change the author.

From #1752 (comment):

theoretically I would like you to take a look at https://github.com/uazo/bromite/tree/master-v100/build/patches/contrib if it is understandable without explanation (but which I will do to you soon anyway)

Are there still patches you would like to submit? I can give a look: are they all still valid?

@csagan5
Copy link
Contributor Author

csagan5 commented Apr 23, 2022

Note: I have merged the incognito patches and assigned authorship to you, there are some changes from me and original author but mostly it's your work now.

@uazo
Copy link
Collaborator

uazo commented Apr 23, 2022

About the JIT patch JIT-site-settings.patch, is the author correct?

I started from this: https://github.com/GrapheneOS/Vanadium/pull/165/files

Are there still patches you would like to submit?

I would have waited for the 101, so as not to overload yourself.

if you agree on these I would do a separate pull:

  1. Add-history-support-in-incognito-mode-addon.patch
    we have to evaluate it together, because it is suitable for always incognito (delete a local track I added with history support) but also for normal to minimize the problem of using large userscripts (remember?).
  2. Content-settings-infrastructure.patch
    I would need to do much less work when we add a new site setting (Add-site-settings-for-webgl.patch and the future patch for webrtc).
    the patch for webgl and Multiple-fingerprinting-mitigations-addon.patch are to be reviewed, I still left useless logs and comments because I have yet to answer what you were asking me
  3. fix-Add-option-to-force-tablet-UI.patch
    we also have to evaluate this together because it seems strange to me that it is not needed ...
  4. Remove-some-trace-on-disk.patch
    this is sketchy, but even as it is, it completely eliminates all useless traces for the always incognito

these instead if you want you can also bring them immediately:

  1. Add-more-private-google-search-engine.patch
    I know you disagree with adding more, but you can use it to simplify the current search engine patch
  2. Disable-DICE-MIRROR-gaia-mode.patch and Fix-StartupTabPreloader-crash.patch
    it does not change anything in bromite but removes crashes that appears only in debug

Remove-HashAffiliationFetcher.patch is useless for bromite.
while this I have not yet understood if the code goes - really - from there

@csagan5
Copy link
Contributor Author

csagan5 commented Apr 23, 2022

About the JIT patch JIT-site-settings.patch, is the author correct?

I started from this: https://github.com/GrapheneOS/Vanadium/pull/165/files

Ok, then I will keep current author.

Are there still patches you would like to submit?

I would have waited for the 101, so as not to overload yourself.

This is not a problem.

  1. Add-history-support-in-incognito-mode-addon.patch
    we have to evaluate it together, because it is suitable for always incognito (delete a local track I added with history support) but also for normal to minimize the problem of using large userscripts (remember?).
    2. Content-settings-infrastructure.patch
    I would need to do much less work when we add a new site setting (Add-site-settings-for-webgl.patch and the future patch for webrtc).
    the patch for webgl and Multiple-fingerprinting-mitigations-addon.patch are to be reviewed, I still left useless logs and comments because I have yet to answer what you were asking me

Please open the PRs otherwise there is no review in progress. There is also this to address.

3. fix-Add-option-to-force-tablet-UI.patch
we also have to evaluate this together because it seems strange to me that it is not needed ...

What is the bug and how to reproduce it in Bromite?

4. Remove-some-trace-on-disk.patch
this is sketchy, but even as it is, it completely eliminates all useless traces for the always incognito

Aren't those save-to-file operations needed for normal browsing?

  1. Add-more-private-google-search-engine.patch
    I know you disagree with adding more, but you can use it to simplify the current search engine patch

I will merge this to the existing patch for googleen.

2. Disable-DICE-MIRROR-gaia-mode.patch

I will merge this to the signin patch.

2. Fix-StartupTabPreloader-crash.patch
it does not change anything in bromite but removes crashes that appears only in debug

I will merge this to Disable-various-metrics.patch

while this I have not yet understood if the code goes - really - from there

Some logging might shed light on this?

@uazo
Copy link
Collaborator

uazo commented Apr 23, 2022

Please open the PRs otherwise there is no review in progress. There is also #1991 (comment) to address.

Sure.

What is the bug and how to reproduce it in Bromite?

the weird thing is that the bug is that it doesn't compile me without!
the error is dependency problem with gn.
I still don't understand well, but I think we use different version of something (compiler, gn, I don't know), though i still don't understand if that's true

Aren't those save-to-file operations needed for normal browsing?

is why I haven't proposed it to you yet, I don't know for now.
I checked only regarding command_storage_backend: I think it's a bug of the (relatively new) desktop implementation which has not been removed in android but, in my opinion, it should because it's useless and, above all, active in incognito mode.

Some logging might shed light on this?

I did, but I don't understand via html / javascript how to get it going from there. But I haven't actually checked the test cases yet

@csagan5
Copy link
Contributor Author

csagan5 commented Apr 23, 2022

What is the bug and how to reproduce it in Bromite?

the weird thing is that the bug is that it doesn't compile me without! the error is dependency problem with gn. I still don't understand well, but I think we use different version of something (compiler, gn, I don't know), though i still don't understand if that's true

It could also be a problem of a pre-built file; what should I delete from the built files to test this possibility?

All the tools should be the same because we use the same DEPS; what OS do you use for the builds? I use one of the officially-supported.

@uazo
Copy link
Collaborator

uazo commented Apr 23, 2022

It could also be a problem of a pre-built file; what should I delete from the built files to test this possibility?

I don't know, unfortunately.

what OS do you use for the builds?

the server is Ubuntu 20.04.4 LTS
this is the docker image and the script that prepares chromium

@csagan5
Copy link
Contributor Author

csagan5 commented Apr 28, 2022

what OS do you use for the builds?

the server is Ubuntu 20.04.4 LTS this is the docker image and the script that prepares chromium

It is a supported version, it should work.

@csagan5 csagan5 marked this pull request as ready for review April 28, 2022 22:31
@csagan5 csagan5 merged commit 432f4a0 into master Apr 28, 2022
@csagan5 csagan5 deleted the next/v101 branch April 28, 2022 22:31
@uazo uazo mentioned this pull request May 14, 2022
4 tasks
ChanningPromethean pushed a commit to PrometheanWorld/bromite that referenced this pull request May 12, 2023
ChanningPromethean pushed a commit to PrometheanWorld/bromite that referenced this pull request May 12, 2023
Merge in AP/chromiumpatches from upstream-101.0.4951.69 to master

* commit 'e27c948d5ef6b3ff8f36a70b313a7d74d043adb0': (88 commits)
  AP9-5174 Update Chromium code to latest
  Release 101.0.4951.69
  Update build/patches/Add-webrtc-site-setting.patch
  Add webRTC site settings
  Do not specify 'latest'
  fix odd behaviour with search or site suggestions
  Add Android 12L to version list
  Add a flag to site engagement feature
  Add webgl site setting
  Add missing CHANGELOG entries
  Release 101.0.4951.53
  Fix merge typo in privacy patch
  Updated patches for v101
  multiple fixes
  reverse the order of appmenu
  Fix Move-navigation-bar-to-bottom.patch (bromite#2029)
  Release 101.0.4951.39
  Patches for v101 (bromite#2010)
  Quote grep expression
  Document home page as NTP
  ...
PvPromethean pushed a commit to PrometheanWorld/bromite that referenced this pull request Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants