From bd796978ea9c14d345875f3269eeb2dd960f703e Mon Sep 17 00:00:00 2001 From: Mark Pilgrim Date: Wed, 22 Jun 2022 16:41:08 -0400 Subject: [PATCH] enable feature for browsertest --- .../farbling/brave_navigator_languages_farbling_browsertest.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/browser/farbling/brave_navigator_languages_farbling_browsertest.cc b/browser/farbling/brave_navigator_languages_farbling_browsertest.cc index 07a0277cfbaa..ebf2c4cef789 100644 --- a/browser/farbling/brave_navigator_languages_farbling_browsertest.cc +++ b/browser/farbling/brave_navigator_languages_farbling_browsertest.cc @@ -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 { @@ -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);