Skip to content

Commit

Permalink
Re-enable ScrollToText feature (#27754)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivanKaul authored Feb 27, 2025
1 parent bdb1811 commit d9d3451
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion app/feature_defaults_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ TEST(FeatureDefaultsTest, DisabledFeatures) {
&blink::features::kPrivateAggregationApi,
&blink::features::kSharedStorageAPI,
&blink::features::kSpeculationRulesPrefetchFuture,
&blink::features::kTextFragmentAnchor,
#if BUILDFLAG(IS_ANDROID)
&chrome::android::kAdaptiveButtonInTopToolbarCustomizationV2,
#endif
Expand Down
4 changes: 0 additions & 4 deletions browser/brave_profile_prefs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,6 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
registry->SetDefaultPrefValue(prefs::kPrivacySandboxApisEnabled,
base::Value(false));

// Disable ScrollToText (Copy link to text).
registry->SetDefaultPrefValue(prefs::kScrollToTextFragmentEnabled,
base::Value(false));

// Importer: selected data types
registry->RegisterBooleanPref(kImportDialogExtensions, true);
registry->RegisterBooleanPref(kImportDialogPayments, true);
Expand Down
1 change: 0 additions & 1 deletion chromium_src/third_party/blink/common/features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ OVERRIDE_FEATURE_DEFAULT_STATES({{
{kReduceUserAgentMinorVersion, base::FEATURE_ENABLED_BY_DEFAULT},
{kSharedStorageAPI, base::FEATURE_DISABLED_BY_DEFAULT},
{kSpeculationRulesPrefetchFuture, base::FEATURE_DISABLED_BY_DEFAULT},
{kTextFragmentAnchor, base::FEATURE_DISABLED_BY_DEFAULT},
}});

BASE_FEATURE(kFileSystemAccessAPI,
Expand Down
1 change: 0 additions & 1 deletion test/filters/browser_tests.filter
Original file line number Diff line number Diff line change
Expand Up @@ -2036,7 +2036,6 @@
-All/ProfileMenuViewExtensionsIphDismissTest.CloseIPH/_ProfileSwitch
-All/ProfileMenuViewExtensionsIphDismissTest.CloseIPH/_SupervisedUser
-All/ReportingBrowserTest.*
-All/ScrollToTextFragmentPolicyTest.*
-All/SearchEnginePreconnectorForegroundBrowserTest.*
-All/StartupBrowserCreatorInfobarsWithoutStartupWindowTest.*
-All/StartupBrowserCreatorPickerInfobarTest.*
Expand Down

0 comments on commit d9d3451

Please sign in to comment.