opnsense-ports/devel/electron32/files/patch-content_common_features.cc
Franco Fichtner fd3bf1794a */*: sync with upstream
Taken from: FreeBSD
2024-09-23 09:02:17 +02:00

20 lines
1 KiB
C++

--- content/common/features.cc.orig 2024-08-14 20:54:59 UTC
+++ content/common/features.cc
@@ -158,7 +158,7 @@ BASE_FEATURE(kEnableBackForwardCacheForOngoingSubframe
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables error reporting for JS errors inside DevTools frontend host
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
BASE_FEATURE(kEnableDevToolsJsErrorReporting,
"EnableDevToolsJsErrorReporting",
base::FEATURE_DISABLED_BY_DEFAULT);
@@ -308,7 +308,7 @@ BASE_FEATURE(kGroupNIKByJoiningOrigin,
// process and having browser process handle adjusting thread properties (nice
// value, c-group, latency sensitivity...) for children which have sandbox
// restrictions.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
BASE_FEATURE(kHandleChildThreadTypeChangesInBrowser,
"HandleChildThreadTypeChangesInBrowser",
base::FEATURE_ENABLED_BY_DEFAULT);