diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 2d2a492f16ed..53c2395bc8b0 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -4033,9 +4033,6 @@ pref("reader.has_used_toolbar", false); // Whether to use a vertical or horizontal toolbar. pref("reader.toolbar.vertical", true); -// Whether or not we display additional UI (such as the full screen, reset to default, and browser theme buttons). -pref("reader.improvements_H12022.enabled", false); - #if !defined(ANDROID) pref("narrate.enabled", true); #else diff --git a/toolkit/components/reader/AboutReader.jsm b/toolkit/components/reader/AboutReader.jsm index 7bf4e95eec93..972b77636ff2 100644 --- a/toolkit/components/reader/AboutReader.jsm +++ b/toolkit/components/reader/AboutReader.jsm @@ -176,23 +176,6 @@ var AboutReader = function( }); let colorScheme = Services.prefs.getCharPref("reader.color_scheme"); - // If the UI improvements are not enabled, we will filter "Auto" from - // the list of color schemes available and ensure the current preference isn't set to - // "Auto" - this.readerImprovementsEnabled = Services.prefs.getBoolPref( - "reader.improvements_H12022.enabled", - false - ); - if (!this.readerImprovementsEnabled) { - colorSchemeOptions = colorSchemeOptions.filter(function(value) { - return value.name !== "Auto"; - }); - - if (Services.prefs.getCharPref("reader.color_scheme") === "auto") { - colorScheme = "light"; - } - } - this._setupSegmentedButton( "color-scheme-buttons", colorSchemeOptions, diff --git a/toolkit/components/reader/test/browser_readerMode_colorSchemePref.js b/toolkit/components/reader/test/browser_readerMode_colorSchemePref.js index 4d0712b7b412..251657f58b13 100644 --- a/toolkit/components/reader/test/browser_readerMode_colorSchemePref.js +++ b/toolkit/components/reader/test/browser_readerMode_colorSchemePref.js @@ -10,11 +10,6 @@ const TEST_PATH = getRootDirectory(gTestPath).replace( ); async function testColorScheme(aPref, aExpectation) { - // Enable this preference so we can test the new behavior for the color scheme. - await SpecialPowers.pushPrefEnv({ - set: [["reader.improvements_H12022.enabled", true]], - }); - // Set the browser content theme to light or dark. Services.prefs.setIntPref("browser.theme.content-theme", aPref); diff --git a/toolkit/components/reader/test/browser_readerMode_pocket.js b/toolkit/components/reader/test/browser_readerMode_pocket.js index 318614568ff3..98bbb934f785 100644 --- a/toolkit/components/reader/test/browser_readerMode_pocket.js +++ b/toolkit/components/reader/test/browser_readerMode_pocket.js @@ -93,9 +93,6 @@ add_task(async function() { * Test that the pocket button toggles the pocket popup successfully */ add_task(async function() { - await SpecialPowers.pushPrefEnv({ - set: [["reader.improvements_H12022.enabled", true]], - }); await BrowserTestUtils.withNewTab( TEST_PATH + "readerModeArticleShort.html", async function(browser) {