From 03b757f738ef6f5aa5f867d54a86f22f7ff124a0 Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Tue, 1 Jul 2025 18:10:06 +0200 Subject: [PATCH] Temp disable UseContextSnapshot: Temporarily disable the context snapshot of blink and use that of v8. --- build/cromite_patches_list.txt | 1 + .../Temp-disable-UseContextSnapshot.patch | 23 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 build/patches/Temp-disable-UseContextSnapshot.patch diff --git a/build/cromite_patches_list.txt b/build/cromite_patches_list.txt index 8fabf526..1277e638 100644 --- a/build/cromite_patches_list.txt +++ b/build/cromite_patches_list.txt @@ -304,6 +304,7 @@ Disable-css-preferred-text-scale.patch Disable-Viewport-Segments.patch Keep-disabled-cache-sharing-for-pervasive-scripts.patch High-Resolution-Timing-Mitigation.patch +Temp-disable-UseContextSnapshot.patch # temporary or wip patches Temp-PerformanceNavigationTiming-privacy-fix.patch diff --git a/build/patches/Temp-disable-UseContextSnapshot.patch b/build/patches/Temp-disable-UseContextSnapshot.patch new file mode 100644 index 00000000..a86c7d10 --- /dev/null +++ b/build/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 +--