From a799a92d01e2a1e5276a499efe0124ed3db79e31 Mon Sep 17 00:00:00 2001 From: Albert Tang Date: Fri, 26 Feb 2021 10:45:06 -0600 Subject: [PATCH] Update to Chromium 89.0.4389.58 --- chromium_version.txt | 2 +- domain_substitution.list | 3 +++ .../0001-fix-building-without-safebrowsing.patch | 4 ++-- .../all-add-trk-prefixes-to-possibly-evil-connections.patch | 2 +- .../core/ungoogled-chromium/block-trk-and-subdomains.patch | 2 +- patches/core/ungoogled-chromium/disable-mei-preload.patch | 4 ++-- .../fix-building-without-one-click-signin.patch | 2 +- .../remove-unused-preferences-fields.patch | 6 +++--- .../fingerprinting-flags-client-rects-and-measuretext.patch | 2 +- patches/extra/bromite/flag-max-connections-per-host.patch | 4 ++-- .../browser-disable-profile-auto-import-on-first-run.patch | 2 +- .../extra/iridium-browser/updater-disable-auto-update.patch | 2 +- .../add-flag-to-close-window-with-last-tab.patch | 2 +- .../enable-paste-and-go-new-tab-button.patch | 4 ++-- pruning.list | 3 ++- 15 files changed, 24 insertions(+), 20 deletions(-) diff --git a/chromium_version.txt b/chromium_version.txt index 1402f00b..d0f5c513 100644 --- a/chromium_version.txt +++ b/chromium_version.txt @@ -1 +1 @@ -89.0.4389.40 +89.0.4389.58 diff --git a/domain_substitution.list b/domain_substitution.list index 00d9f758..7b70e733 100644 --- a/domain_substitution.list +++ b/domain_substitution.list @@ -1115,6 +1115,7 @@ chrome/browser/supervised_user/kids_chrome_management/kids_chrome_management_cli chrome/browser/supervised_user/kids_management_url_checker_client_unittest.cc chrome/browser/supervised_user/logged_in_user_mixin.cc chrome/browser/supervised_user/supervised_user_error_page/resources/supervised_user_block_interstitial.html +chrome/browser/supervised_user/supervised_user_navigation_throttle_browsertest.cc chrome/browser/supervised_user/supervised_user_service.cc chrome/browser/supervised_user/supervised_user_test_util.cc chrome/browser/supervised_user/supervised_user_url_filter.cc @@ -2273,6 +2274,8 @@ components/policy/tools/template_writers/writers/adml_writer_unittest.py components/policy/tools/template_writers/writers/chromeos_adml_writer_unittest.py components/policy/tools/template_writers/writers/doc_atomic_groups_writer.py components/policy/tools/template_writers/writers/doc_writer.py +components/policy/tools/template_writers/writers/ios_app_config_writer.py +components/policy/tools/template_writers/writers/ios_app_config_writer_unittest.py components/policy/tools/template_writers/writers/json_writer_unittest.py components/policy/tools/template_writers/writers/template_writer.py components/policy/tools/template_writers/writers/template_writer_unittest.py diff --git a/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch b/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch index 241d3ce6..7acc046c 100644 --- a/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch +++ b/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/BUILD.gn +++ b/chrome/browser/BUILD.gn -@@ -3540,8 +3540,6 @@ static_library("browser") { +@@ -3538,8 +3538,6 @@ static_library("browser") { "download/download_commands.h", "download/download_crx_util.cc", "download/download_crx_util.h", @@ -850,7 +850,7 @@ subresource_filter::ProfileInteractionManager* --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -3585,7 +3585,6 @@ static_library("ui") { +@@ -3586,7 +3586,6 @@ static_library("ui") { "views/device_chooser_content_view.h", "views/devtools_process_observer.cc", "views/devtools_process_observer.h", diff --git a/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch b/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch index 557416ee..a360af93 100644 --- a/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch +++ b/patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch @@ -485,7 +485,7 @@ by default. "http://clientservices.googleapis.com/uma/v2"; --- a/components/password_manager/core/browser/password_store.cc +++ b/components/password_manager/core/browser/password_store.cc -@@ -271,10 +271,10 @@ void PasswordStore::GetLogins(const Form +@@ -298,10 +298,10 @@ void PasswordStore::GetLogins(const Form // TODO(mdm): actually delete them at some point, say M24 or so. base::Time cutoff; // the null time if (form.scheme == PasswordForm::Scheme::kHtml && diff --git a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch index 5d391edc..0ed830ea 100644 --- a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch +++ b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch @@ -71,7 +71,7 @@ return GURL(parts.scheme.is_valid() ? text : FixupPath(text)); --- a/content/browser/child_process_security_policy_impl.cc +++ b/content/browser/child_process_security_policy_impl.cc -@@ -767,6 +767,7 @@ ChildProcessSecurityPolicyImpl::ChildPro +@@ -762,6 +762,7 @@ ChildProcessSecurityPolicyImpl::ChildPro #endif // BUILDFLAG(ENABLE_WEBSOCKETS) RegisterWebSafeScheme(url::kFtpScheme); RegisterWebSafeScheme(url::kDataScheme); diff --git a/patches/core/ungoogled-chromium/disable-mei-preload.patch b/patches/core/ungoogled-chromium/disable-mei-preload.patch index f27a3337..69bc5b5c 100644 --- a/patches/core/ungoogled-chromium/disable-mei-preload.patch +++ b/patches/core/ungoogled-chromium/disable-mei-preload.patch @@ -7,7 +7,7 @@ --- a/chrome/BUILD.gn +++ b/chrome/BUILD.gn -@@ -313,7 +313,6 @@ if (!is_android && !is_mac) { +@@ -314,7 +314,6 @@ if (!is_android && !is_mac) { } data_deps += [ @@ -15,7 +15,7 @@ "//third_party/widevine/cdm", ] } -@@ -1038,7 +1037,6 @@ if (is_win) { +@@ -1039,7 +1038,6 @@ if (is_win) { ":keystone_registration_framework", ":swiftshader_library", ":widevine_cdm_library", diff --git a/patches/core/ungoogled-chromium/fix-building-without-one-click-signin.patch b/patches/core/ungoogled-chromium/fix-building-without-one-click-signin.patch index cebe2d0d..473593a0 100644 --- a/patches/core/ungoogled-chromium/fix-building-without-one-click-signin.patch +++ b/patches/core/ungoogled-chromium/fix-building-without-one-click-signin.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/ui/BUILD.gn +++ b/chrome/browser/ui/BUILD.gn -@@ -4352,8 +4352,6 @@ static_library("ui") { +@@ -4353,8 +4353,6 @@ static_library("ui") { "views/sync/dice_bubble_sync_promo_view.h", "views/sync/dice_signin_button_view.cc", "views/sync/dice_signin_button_view.h", diff --git a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch index 52ad8c9a..e32542ee 100644 --- a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch +++ b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch @@ -3114,7 +3114,7 @@ #include "components/sync/model_impl/client_tag_based_model_type_processor.h" #include "components/sync/model_impl/proxy_model_type_controller_delegate.h" -@@ -633,15 +632,6 @@ void PasswordStore::SchedulePasswordHash +@@ -660,15 +659,6 @@ void PasswordStore::SchedulePasswordHash } void PasswordStore::ScheduleEnterprisePasswordURLUpdate() { @@ -4887,7 +4887,7 @@ #include "components/signin/public/identity_manager/identity_test_utils.h" --- a/tools/metrics/histograms/enums.xml +++ b/tools/metrics/histograms/enums.xml -@@ -74619,7 +74619,6 @@ Full version information for the fingerp +@@ -74645,7 +74645,6 @@ Full version information for the fingerp @@ -4895,7 +4895,7 @@ -@@ -74634,10 +74633,7 @@ Full version information for the fingerp +@@ -74660,10 +74659,7 @@ Full version information for the fingerp diff --git a/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch b/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch index a50fca81..b5ff3a16 100644 --- a/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch +++ b/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch @@ -285,7 +285,7 @@ void CanvasRenderingContext2D::DrawTextInternal( --- a/third_party/blink/renderer/platform/BUILD.gn +++ b/third_party/blink/renderer/platform/BUILD.gn -@@ -1638,6 +1638,7 @@ component("platform") { +@@ -1640,6 +1640,7 @@ component("platform") { "//cc/mojo_embedder", "//components/paint_preview/common", "//components/search_engines:search_engine_utils", diff --git a/patches/extra/bromite/flag-max-connections-per-host.patch b/patches/extra/bromite/flag-max-connections-per-host.patch index b7e09b77..5a4395cf 100644 --- a/patches/extra/bromite/flag-max-connections-per-host.patch +++ b/patches/extra/bromite/flag-max-connections-per-host.patch @@ -101,7 +101,7 @@ with limited CPU/memory resources and it is disabled by default. --- a/chrome/browser/flag_descriptions.cc +++ b/chrome/browser/flag_descriptions.cc -@@ -1383,6 +1383,10 @@ const char kMediaHistoryDescription[] = +@@ -1391,6 +1391,10 @@ const char kMediaHistoryDescription[] = "Enables Media History which records data around media playbacks on " "websites."; @@ -114,7 +114,7 @@ with limited CPU/memory resources and it is disabled by default. const char kMediaRouterCastAllowAllIPsDescription[] = --- a/chrome/browser/flag_descriptions.h +++ b/chrome/browser/flag_descriptions.h -@@ -820,6 +820,9 @@ extern const char kLogJsConsoleMessagesD +@@ -823,6 +823,9 @@ extern const char kLogJsConsoleMessagesD extern const char kMediaHistoryName[]; extern const char kMediaHistoryDescription[]; diff --git a/patches/extra/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch b/patches/extra/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch index ed9cbbe7..2dfdfbae 100644 --- a/patches/extra/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch +++ b/patches/extra/iridium-browser/browser-disable-profile-auto-import-on-first-run.patch @@ -9,7 +9,7 @@ Subject: [PATCH 56/66] browser: disable profile auto-import on first run --- a/chrome/browser/chrome_browser_main.cc +++ b/chrome/browser/chrome_browser_main.cc -@@ -1447,8 +1447,6 @@ int ChromeBrowserMainParts::PreMainMessa +@@ -1448,8 +1448,6 @@ int ChromeBrowserMainParts::PreMainMessa // and preferences have been registered since some of the import code depends // on preferences. if (first_run::IsChromeFirstRun()) { diff --git a/patches/extra/iridium-browser/updater-disable-auto-update.patch b/patches/extra/iridium-browser/updater-disable-auto-update.patch index 04c57b1a..1ed929a9 100644 --- a/patches/extra/iridium-browser/updater-disable-auto-update.patch +++ b/patches/extra/iridium-browser/updater-disable-auto-update.patch @@ -16,7 +16,7 @@ the case anyway, since we are based off Chromium, not Chrome. --- a/chrome/browser/app_controller_mac.mm +++ b/chrome/browser/app_controller_mac.mm -@@ -712,7 +712,7 @@ static base::mac::ScopedObjCClassSwizzle +@@ -738,7 +738,7 @@ static base::mac::ScopedObjCClassSwizzle CFStringRef checkInterval = CFSTR("checkInterval"); CFPropertyListRef plist = CFPreferencesCopyAppValue(checkInterval, app); if (!plist) { diff --git a/patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch b/patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch index eee3520d..1e266db3 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch @@ -8,7 +8,7 @@ #include "base/containers/flat_map.h" #include "base/metrics/histogram_macros.h" #include "base/metrics/user_metrics.h" -@@ -1738,6 +1739,10 @@ bool TabStripModel::InternalCloseTabs( +@@ -1741,6 +1742,10 @@ bool TabStripModel::InternalCloseTabs( if (items.empty()) return true; diff --git a/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch b/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch index 292f4604..e7a0422b 100644 --- a/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch +++ b/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch @@ -13,7 +13,7 @@ AddChildView(std::make_unique()); --- a/chrome/browser/ui/views/tabs/tab_strip.cc +++ b/chrome/browser/ui/views/tabs/tab_strip.cc -@@ -2578,8 +2578,6 @@ void TabStrip::NewTabButtonPressed(const +@@ -2592,8 +2592,6 @@ void TabStrip::NewTabButtonPressed(const const ui::MouseEvent& mouse = static_cast(event); if (mouse.IsOnlyMiddleMouseButton()) { @@ -22,7 +22,7 @@ ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); CHECK(clipboard); base::string16 clipboard_text; -@@ -2587,7 +2585,6 @@ void TabStrip::NewTabButtonPressed(const +@@ -2601,7 +2599,6 @@ void TabStrip::NewTabButtonPressed(const /* data_dst = */ nullptr, &clipboard_text); if (!clipboard_text.empty()) controller_->CreateNewTabWithLocation(clipboard_text); diff --git a/pruning.list b/pruning.list index ce5fc58d..697ac407 100644 --- a/pruning.list +++ b/pruning.list @@ -75,7 +75,7 @@ chrome/browser/resources/default_apps/youtube.crx chrome/browser/resources/media/mei_preload/preloaded_data.pb chrome/browser/ui/app_list/search/search_result_ranker/20190722_example_preprocessor_config.pb chrome/browser/ui/app_list/search/search_result_ranker/search_ranker_assets/20190923_example_preprocessor_config.pb -chrome/build/pgo_profiles/chrome-linux-4389-1612288121-5e2bb99f5b741c158df9368088fc3d1304a6f283.profdata +chrome/build/pgo_profiles/chrome-linux-4389-1613519706-101f0b782ab5aafc7241018b62ea8259360caad1.profdata chrome/chrome_cleaner/parsers/shortcut_parser/target/data/lnk_parser_fuzzer/Network Share Test.lnk chrome/chrome_cleaner/parsers/shortcut_parser/target/data/lnk_parser_fuzzer/New folder - Shortcut.lnk chrome/chrome_cleaner/parsers/shortcut_parser/target/data/lnk_parser_fuzzer/long_name.lnk @@ -295,6 +295,7 @@ media/formats/mp4/h264_annex_b_fuzz_corpus/chunk4-non-idr.bin media/formats/mp4/h264_annex_b_fuzz_corpus/chunk5-non-idr.bin media/formats/mp4/h264_annex_b_fuzz_corpus/chunk6-config-idr.bin media/formats/mp4/h264_annex_b_fuzz_corpus/chunk7-non-idr.bin +media/formats/mp4/h264_annex_b_fuzz_corpus/pps_neq_sps_config_idr.bin media/midi/fuzz/corpus/broken_data_3 media/midi/fuzz/corpus/channel_pressure media/midi/fuzz/corpus/channel_pressure_with_running_status