Skip to content

Commit 6a7a75d

Browse files
committed
Update to Chromium 142.0.7444.59
1 parent 0b53546 commit 6a7a75d

File tree

78 files changed

+1472
-911
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+1472
-911
lines changed

chromium_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
141.0.7390.122
1+
142.0.7444.59

devutils/update_lists.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
'third_party/node/node_modules/@rollup/wasm-node/dist/wasm-node/bindings_wasm_bg.wasm',
6767
# Exclusion for performance tracing
6868
'third_party/perfetto/src/trace_processor/importers/proto/atoms.descriptor',
69-
# Exclusion for jiff
70-
'third_party/rust/chromium_crates_io/vendor/jiff-tzdb-v0_1/concatenated-zoneinfo.dat',
69+
# Exclusion for zoneinfo64
70+
'third_party/rust/chromium_crates_io/vendor/zoneinfo64-v0_2/src/data/zoneinfo64.res',
7171
# Exclusions for safe file extensions
7272
'*.avif',
7373
'*.ttf',

domain_substitution.list

Lines changed: 411 additions & 81 deletions
Large diffs are not rendered by default.

patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/chrome/browser/BUILD.gn
22
+++ b/chrome/browser/BUILD.gn
3-
@@ -3802,8 +3802,6 @@ static_library("browser") {
3+
@@ -3801,8 +3801,6 @@ static_library("browser") {
44
"download/download_auto_open_policy_handler.cc",
55
"download/download_auto_open_policy_handler.h",
66
"download/download_commands.cc",
@@ -11,7 +11,7 @@
1111
"download/download_dir_util.cc",
1212
--- a/chrome/browser/chrome_content_browser_client_navigation_throttles.cc
1313
+++ b/chrome/browser/chrome_content_browser_client_navigation_throttles.cc
14-
@@ -390,10 +390,6 @@ void CreateAndAddChromeThrottlesForNavig
14+
@@ -393,10 +393,6 @@ void CreateAndAddChromeThrottlesForNavig
1515
registry.AddThrottle(std::make_unique<PolicyBlocklistNavigationThrottle>(
1616
registry, handle.GetWebContents()->GetBrowserContext()));
1717

@@ -84,7 +84,7 @@
8484
#include "chrome/browser/download/download_file_icon_extractor.h"
8585
#include "chrome/browser/download/download_open_prompt.h"
8686
#include "chrome/browser/download/download_prefs.h"
87-
@@ -1379,9 +1378,6 @@ DownloadsAcceptDangerFunction::Downloads
87+
@@ -1382,9 +1381,6 @@ DownloadsAcceptDangerFunction::Downloads
8888

8989
DownloadsAcceptDangerFunction::~DownloadsAcceptDangerFunction() = default;
9090

@@ -94,7 +94,7 @@
9494
ExtensionFunction::ResponseAction DownloadsAcceptDangerFunction::Run() {
9595
std::optional<downloads::AcceptDanger::Params> params =
9696
downloads::AcceptDanger::Params::Create(args());
97-
@@ -1431,44 +1427,7 @@ void DownloadsAcceptDangerFunction::Prom
97+
@@ -1434,44 +1430,7 @@ void DownloadsAcceptDangerFunction::Prom
9898
return;
9999
}
100100
RecordApiFunctions(DownloadsFunctionName::kDownloadsFunctionAcceptDanger);
@@ -180,7 +180,7 @@
180180
class DownloadsShowFunction : public ExtensionFunction {
181181
--- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
182182
+++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
183-
@@ -701,18 +701,6 @@ void WebstorePrivateBeginInstallWithMani
183+
@@ -706,18 +706,6 @@ void WebstorePrivateBeginInstallWithMani
184184

185185
void WebstorePrivateBeginInstallWithManifest3Function::
186186
ReportFrictionAcceptedEvent() {
@@ -201,7 +201,7 @@
201201
void WebstorePrivateBeginInstallWithManifest3Function::OnInstallPromptDone(
202202
--- a/chrome/browser/extensions/blocklist_state_fetcher.cc
203203
+++ b/chrome/browser/extensions/blocklist_state_fetcher.cc
204-
@@ -75,8 +75,7 @@ void BlocklistStateFetcher::SendRequest(
204+
@@ -78,8 +78,7 @@ void BlocklistStateFetcher::SendRequest(
205205
std::string request_str;
206206
request.SerializeToString(&request_str);
207207

@@ -211,7 +211,7 @@
211211
net::NetworkTrafficAnnotationTag traffic_annotation =
212212
net::DefineNetworkTrafficAnnotation("extension_blacklist", R"(
213213
semantics {
214-
@@ -131,12 +130,6 @@ void BlocklistStateFetcher::SendRequest(
214+
@@ -134,12 +133,6 @@ void BlocklistStateFetcher::SendRequest(
215215
base::Unretained(this), fetcher));
216216
}
217217

@@ -245,23 +245,23 @@
245245
sources = [
246246
"chrome_controller_client.cc",
247247
"chrome_controller_client.h",
248-
@@ -80,6 +81,7 @@ static_library("safe_browsing") {
248+
@@ -81,6 +82,7 @@ static_library("safe_browsing") {
249249
"//services/metrics/public/cpp:ukm_builders",
250250
"//services/preferences/public/cpp",
251251
]
252252
+ }
253253

254254
if (enable_extensions) {
255255
deps += [ "//chrome/browser/ui/web_applications" ]
256-
@@ -612,6 +614,7 @@ static_library("advanced_protection") {
256+
@@ -614,6 +616,7 @@ static_library("advanced_protection") {
257257
}
258258

259259
source_set("metrics_collector") {
260260
+ if (false) {
261261
sources = [
262262
"safe_browsing_metrics_collector_factory.cc",
263263
"safe_browsing_metrics_collector_factory.h",
264-
@@ -631,6 +634,7 @@ source_set("metrics_collector") {
264+
@@ -633,6 +636,7 @@ source_set("metrics_collector") {
265265
"//components/safe_browsing/core/common:safe_browsing_prefs",
266266
"//content/public/browser",
267267
]

patches/core/inox-patchset/0005-disable-default-extensions.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- a/chrome/browser/extensions/component_extensions_allowlist/allowlist.cc
22
+++ b/chrome/browser/extensions/component_extensions_allowlist/allowlist.cc
3-
@@ -29,7 +29,6 @@ namespace extensions {
3+
@@ -32,7 +32,6 @@ namespace extensions {
44

55
bool IsComponentExtensionAllowlisted(const std::string& extension_id) {
66
constexpr auto kAllowed = base::MakeFixedFlatSet<std::string_view>({
@@ -10,7 +10,7 @@
1010
extension_misc::kAssessmentAssistantExtensionId,
1111
--- a/chrome/browser/extensions/component_loader.cc
1212
+++ b/chrome/browser/extensions/component_loader.cc
13-
@@ -422,11 +422,6 @@ void ComponentLoader::AddWebStoreApp() {
13+
@@ -423,11 +423,6 @@ void ComponentLoader::AddWebStoreApp() {
1414
return;
1515
}
1616
#endif
@@ -24,7 +24,7 @@
2424
#if BUILDFLAG(IS_CHROMEOS)
2525
--- a/chrome/browser/extensions/external_component_loader.cc
2626
+++ b/chrome/browser/extensions/external_component_loader.cc
27-
@@ -38,9 +38,6 @@ ExternalComponentLoader::~ExternalCompon
27+
@@ -41,9 +41,6 @@ ExternalComponentLoader::~ExternalCompon
2828
void ExternalComponentLoader::StartLoading() {
2929
auto prefs = base::Value::Dict();
3030
// Skip in-app payments app on Android. crbug.com/409396604
@@ -36,7 +36,7 @@
3636
{
3737
--- a/chrome/browser/extensions/webstore_installer.cc
3838
+++ b/chrome/browser/extensions/webstore_installer.cc
39-
@@ -485,20 +485,6 @@ void WebstoreInstaller::DownloadNextPend
39+
@@ -488,20 +488,6 @@ void WebstoreInstaller::DownloadNextPend
4040

4141
void WebstoreInstaller::DownloadCrx(const extensions::ExtensionId& extension_id,
4242
InstallSource source) {
@@ -57,7 +57,7 @@
5757
}
5858

5959
// http://crbug.com/165634
60-
@@ -653,21 +639,6 @@ void WebstoreInstaller::UpdateDownloadPr
60+
@@ -656,21 +642,6 @@ void WebstoreInstaller::UpdateDownloadPr
6161
void WebstoreInstaller::StartCrxInstaller(const DownloadItem& download) {
6262
DCHECK_CURRENTLY_ON(BrowserThread::UI);
6363
DCHECK(!crx_installer_.get());

patches/core/inox-patchset/0021-disable-rlz.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
--- a/BUILD.gn
44
+++ b/BUILD.gn
5-
@@ -469,14 +469,6 @@ group("gn_all") {
5+
@@ -458,14 +458,6 @@ group("gn_all") {
66
]
77
}
88

patches/core/iridium-browser/all-add-trk-prefixes-to-possibly-evil-connections.patch

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ by default.
9090
// once per machine.
9191
--- a/chrome/browser/extensions/install_signer.cc
9292
+++ b/chrome/browser/extensions/install_signer.cc
93-
@@ -63,7 +63,7 @@ const int kSignatureFormatVersion = 2;
93+
@@ -66,7 +66,7 @@ const int kSignatureFormatVersion = 2;
9494
const size_t kSaltBytes = 32;
9595

9696
const char kBackendUrl[] =
@@ -112,7 +112,7 @@ by default.
112112
scoped_refptr<base::SequencedTaskRunner> task_runner)
113113
--- a/chrome/browser/media/webrtc/webrtc_log_uploader.cc
114114
+++ b/chrome/browser/media/webrtc/webrtc_log_uploader.cc
115-
@@ -531,7 +531,7 @@ void WebRtcLogUploader::UploadCompressed
115+
@@ -530,7 +530,7 @@ void WebRtcLogUploader::UploadCompressed
116116
}
117117
})");
118118

@@ -252,7 +252,7 @@ by default.
252252
// Mime type to create a directory.
253253
--- a/components/feedback/feedback_uploader.cc
254254
+++ b/components/feedback/feedback_uploader.cc
255-
@@ -39,7 +39,7 @@ constexpr base::FilePath::CharType kFeed
255+
@@ -40,7 +40,7 @@ constexpr base::FilePath::CharType kFeed
256256
FILE_PATH_LITERAL("Feedback Reports");
257257

258258
constexpr char kFeedbackPostUrl[] =
@@ -263,7 +263,7 @@ by default.
263263

264264
--- a/components/google/core/common/google_util.cc
265265
+++ b/components/google/core/common/google_util.cc
266-
@@ -152,7 +152,7 @@ BASE_FEATURE(kIsViewerGoogleSearchUrl,
266+
@@ -150,7 +150,7 @@ BASE_FEATURE(kIsViewerGoogleSearchUrl, b
267267

268268
// Global functions -----------------------------------------------------------
269269

@@ -274,7 +274,7 @@ by default.
274274
url::Component query(0, static_cast<int>(str.length())), key, value;
275275
--- a/components/history/core/browser/web_history_service.cc
276276
+++ b/components/history/core/browser/web_history_service.cc
277-
@@ -43,13 +43,13 @@ namespace history {
277+
@@ -44,13 +44,13 @@ namespace history {
278278
namespace {
279279

280280
const char kHistoryQueryHistoryUrl[] =
@@ -369,7 +369,7 @@ by default.
369369

370370
--- a/content/browser/webauth/webauth_request_security_checker.h
371371
+++ b/content/browser/webauth/webauth_request_security_checker.h
372-
@@ -90,9 +90,9 @@ class CONTENT_EXPORT WebAuthRequestSecur
372+
@@ -85,9 +85,9 @@ class CONTENT_EXPORT WebAuthRequestSecur
373373
// Legacy App IDs, which google.com origins are allowed to assert for
374374
// compatibility reasons.
375375
static constexpr char kGstaticAppId[] =

patches/core/iridium-browser/safe_browsing-disable-incident-reporting.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ the URL so we get notified if this happens again in the future).
3939
kSafeBrowsingIncidentTrafficAnnotation =
4040
--- a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc
4141
+++ b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc
42-
@@ -303,11 +303,14 @@ IncidentReportingService::UploadContext:
42+
@@ -302,11 +302,14 @@ IncidentReportingService::UploadContext:
4343

4444
// static
4545
bool IncidentReportingService::IsEnabledForProfile(Profile* profile) {

patches/core/iridium-browser/safe_browsing-disable-reporting-of-safebrowsing-over.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ This prevents trk:148 (phishing) and trk:149 (malware).
1919

2020
+#if 1
2121
+ if (!callback.is_null())
22-
+ callback.Run(GURL(request->url()), false);
22+
+ std::move(callback).Run(GURL(request->url()), false, std::nullopt, std::nullopt);
2323
+#else
2424
std::string request_data;
2525
request->SerializeToString(&request_data);
2626

27-
@@ -362,6 +366,7 @@ void ClientSideDetectionService::StartCl
28-
base::BindOnce(&WebUIInfoSingleton::AddToClientPhishingRequestsSent,
29-
base::Unretained(WebUIInfoSingleton::GetInstance()),
30-
std::move(request), access_token));
27+
@@ -363,6 +367,7 @@ void ClientSideDetectionService::StartCl
28+
&WebUIContentInfoSingleton::AddToClientPhishingRequestsSent,
29+
base::Unretained(WebUIContentInfoSingleton::GetInstance()),
30+
std::move(request), access_token));
3131
+#endif
3232
}
3333

patches/core/ungoogled-chromium/block-requests.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858

5959
--- a/components/affiliations/core/browser/hash_affiliation_fetcher.cc
6060
+++ b/components/affiliations/core/browser/hash_affiliation_fetcher.cc
61-
@@ -128,6 +128,10 @@ HashAffiliationFetcher::~HashAffiliation
61+
@@ -129,6 +129,10 @@ HashAffiliationFetcher::~HashAffiliation
6262
}
6363

6464
void HashAffiliationFetcher::StartRequest(

0 commit comments

Comments
 (0)