Skip to content

Commit

Permalink
Disable reduce language feature by default (#13905)
Browse files Browse the repository at this point in the history
* Disable reduce language feature by default

* enable feature for browsertest
  • Loading branch information
pilgrim-brave authored Jun 22, 2022
1 parent 14034b0 commit f27fad6
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 f27fad6

Please sign in to comment.