From 389d48adc8797ea73cbf663aca6a216de1b80fa9 Mon Sep 17 00:00:00 2001 From: Nishith Khanna Date: Sun, 6 Jul 2025 06:52:10 +0000 Subject: [PATCH 1/2] Update cromite tag --- update_cromite_patches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_cromite_patches.sh b/update_cromite_patches.sh index 0613c7c2..ae4f2f1e 100755 --- a/update_cromite_patches.sh +++ b/update_cromite_patches.sh @@ -4,7 +4,7 @@ root_dir=$(dirname "$(readlink -f "$0")") cd $root_dir/build -branch="v138.0.7204.50-f44f153674d484bc6b33d005f4441407b0b588a7" +branch="v138.0.7204.97-418943de425329115e0783375c12ee5aec36e2b6" if [ -d cromite ]; then cd cromite git fetch origin $branch -- GitLab From 88c3c20308de36c3d97aa7a39699a0b6aa739447 Mon Sep 17 00:00:00 2001 From: Nishith Khanna Date: Sun, 6 Jul 2025 10:37:19 +0000 Subject: [PATCH 2/2] Fix webview not working by adding patch form cromite --- .../Temp-disable-UseContextSnapshot.patch | 23 +++++++++++++++++++ build/cromite_patches_list.txt | 1 + 2 files changed, 24 insertions(+) create mode 100644 build/cromite_patches/Temp-disable-UseContextSnapshot.patch diff --git a/build/cromite_patches/Temp-disable-UseContextSnapshot.patch b/build/cromite_patches/Temp-disable-UseContextSnapshot.patch new file mode 100644 index 00000000..a86c7d10 --- /dev/null +++ b/build/cromite_patches/Temp-disable-UseContextSnapshot.patch @@ -0,0 +1,23 @@ +From: uazo +Date: Tue, 1 Jul 2025 14:50:29 +0000 +Subject: Temp disable UseContextSnapshot + +Temporarily disable the context snapshot of blink and use that of v8. + +License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html +--- + content/public/common/content_features.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc +--- a/content/public/common/content_features.cc ++++ b/content/public/common/content_features.cc +@@ -1205,6 +1205,7 @@ BASE_FEATURE(kUnrestrictedSharedArrayBuffer, + BASE_FEATURE(kUseContextSnapshot, + "UseContextSnapshot", + base::FEATURE_ENABLED_BY_DEFAULT); ++SET_CROMITE_FEATURE_DISABLED(kUseContextSnapshot); + #endif + + // Enables comparing browser and renderer's DidCommitProvisionalLoadParams in +-- diff --git a/build/cromite_patches_list.txt b/build/cromite_patches_list.txt index 8c625555..5931196b 100644 --- a/build/cromite_patches_list.txt +++ b/build/cromite_patches_list.txt @@ -181,6 +181,7 @@ Disable-privacy-issues-in-password-manager.patch Restore-chrome-password-store.patch Use-browser-navigation-handler.patch Disable-Android-Tab-Declutter.patch +Temp-disable-UseContextSnapshot.patch eyeo-133.0.6943.49-base.patch eyeo-133.0.6943.49-chrome_integration.patch -- GitLab