Skip to content

Commit

Permalink
Merge pull request #13911 from brave/pr13905_mpilgrim_disable_reduce_…
Browse files Browse the repository at this point in the history
…language_by_default_1.41.x

Disable reduce language feature by default (uplift to 1.41.x)
  • Loading branch information
kjozwiak authored Jun 24, 2022
2 parents a8c63b7 + 4ec19cd commit c51d119
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include "third_party/blink/renderer/core/frame/navigator_language.h"

using brave_shields::ControlType;
using brave_shields::features::kBraveReduceLanguage;
using content::TitleWatcher;

namespace {
Expand All @@ -48,6 +49,7 @@ class BraveNavigatorLanguagesFarblingBrowserTest : public InProcessBrowserTest {
public:
BraveNavigatorLanguagesFarblingBrowserTest()
: https_server_(net::EmbeddedTestServer::TYPE_HTTPS) {
feature_list_.InitAndEnableFeature(kBraveReduceLanguage);
brave::RegisterPathProvider();
base::FilePath test_data_dir;
base::PathService::Get(brave::DIR_TEST_DATA, &test_data_dir);
Expand Down
2 changes: 1 addition & 1 deletion components/brave_shields/common/features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const base::Feature kBraveExtensionNetworkBlocking{
"BraveExtensionNetworkBlocking", base::FEATURE_DISABLED_BY_DEFAULT};
// When enabled, language headers and APIs may be altered by Brave Shields.
const base::Feature kBraveReduceLanguage{"BraveReduceLanguage",
base::FEATURE_ENABLED_BY_DEFAULT};
base::FEATURE_DISABLED_BY_DEFAULT};
// When enabled, Brave will always report Light in Fingerprinting: Strict mode
const base::Feature kBraveDarkModeBlock{"BraveDarkModeBlock",
base::FEATURE_ENABLED_BY_DEFAULT};
Expand Down

0 comments on commit c51d119

Please sign in to comment.