34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
|
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
||
|
Date: Sat, 26 Mar 2022 16:41:55 +0100
|
||
|
Subject: Disable AsyncDNS by default
|
||
|
|
||
|
This feature is detrimental to privacy, see also:
|
||
|
* https://bugs.chromium.org/p/chromium/issues/detail?id=805020
|
||
|
|
||
|
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
|
||
|
---
|
||
|
chrome/common/chrome_features.cc | 9 ++-------
|
||
|
1 file changed, 2 insertions(+), 7 deletions(-)
|
||
|
|
||
|
diff --git a/chrome/common/chrome_features.cc b/chrome/common/chrome_features.cc
|
||
|
--- a/chrome/common/chrome_features.cc
|
||
|
+++ b/chrome/common/chrome_features.cc
|
||
|
@@ -74,13 +74,8 @@ BASE_FEATURE(kAppShimNotificationAttribution,
|
||
|
|
||
|
// Enables the built-in DNS resolver.
|
||
|
BASE_FEATURE(kAsyncDns,
|
||
|
- "AsyncDns",
|
||
|
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_ANDROID) || \
|
||
|
- BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
|
||
|
- base::FEATURE_ENABLED_BY_DEFAULT
|
||
|
-#else
|
||
|
- base::FEATURE_DISABLED_BY_DEFAULT
|
||
|
-#endif
|
||
|
+ "AsyncDns", // disabled by default
|
||
|
+ base::FEATURE_DISABLED_BY_DEFAULT // in Bromite
|
||
|
);
|
||
|
|
||
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
|
||
|
--
|
||
|
2.25.1
|