forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backed out changeset 2a140cd74bae (bug 1749079) for causing bc failur…
…es on browser_verify_l10n_strings.js CLOSED TREE
- Loading branch information
Norisz Fay
committed
Jan 11, 2022
1 parent
244a662
commit 7b9909b
Showing
23 changed files
with
11 additions
and
845 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,54 +39,6 @@ const BuiltInThemeConfig = new Map([ | |
path: "resource://builtin-themes/alpenglow/", | ||
}, | ||
], | ||
[ | ||
"[email protected]", | ||
{ | ||
version: "1.0", | ||
path: "resource://builtin-themes/monochromatic/2022red/", | ||
expiry: "2022-05-03", | ||
}, | ||
], | ||
[ | ||
"[email protected]", | ||
{ | ||
version: "1.0", | ||
path: "resource://builtin-themes/monochromatic/2022orange/", | ||
expiry: "2022-05-03", | ||
}, | ||
], | ||
[ | ||
"[email protected]", | ||
{ | ||
version: "1.0", | ||
path: "resource://builtin-themes/monochromatic/2022green/", | ||
expiry: "2022-05-03", | ||
}, | ||
], | ||
[ | ||
"[email protected]", | ||
{ | ||
version: "1.0", | ||
path: "resource://builtin-themes/monochromatic/2022yellow/", | ||
expiry: "2022-05-03", | ||
}, | ||
], | ||
[ | ||
"[email protected]", | ||
{ | ||
version: "1.0", | ||
path: "resource://builtin-themes/monochromatic/2022purple/", | ||
expiry: "2022-05-03", | ||
}, | ||
], | ||
[ | ||
"[email protected]", | ||
{ | ||
version: "1.0", | ||
path: "resource://builtin-themes/monochromatic/2022blue/", | ||
expiry: "2022-05-03", | ||
}, | ||
], | ||
[ | ||
"[email protected]", | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,15 +62,6 @@ class _BuiltInThemes { | |
return null; | ||
} | ||
|
||
/** | ||
* @param {string} id An addon's id string. | ||
* @return {boolean} | ||
* True if the theme with id `id` is a monochromatic theme. | ||
*/ | ||
isMonochromaticTheme(id) { | ||
return id.endsWith("[email protected]"); | ||
} | ||
|
||
/** | ||
* If the active theme is built-in, this function calls | ||
* AddonManager.maybeInstallBuiltinAddon for that theme. | ||
|
@@ -100,8 +91,6 @@ class _BuiltInThemes { | |
installPromises.push(this._uninstallExpiredThemes()); | ||
|
||
const now = new Date(); | ||
this.monochromaticSortIndices = new Map(); | ||
let monochromaticSortIndex = 0; | ||
for (let [id, themeInfo] of this.builtInThemeMap.entries()) { | ||
if ( | ||
!themeInfo.expiry || | ||
|
@@ -115,12 +104,6 @@ class _BuiltInThemes { | |
themeInfo.path | ||
) | ||
); | ||
if (this.isMonochromaticTheme(id)) { | ||
// Monochromatic themes get sorted in the UI according to their | ||
// position in the config, implied by this loop over | ||
// builtInThemeMap.entries(). | ||
this.monochromaticSortIndices.set(id, monochromaticSortIndex++); | ||
} | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
76 changes: 0 additions & 76 deletions
76
browser/themes/addons/monochromatic/2022blue/manifest.json
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
76 changes: 0 additions & 76 deletions
76
browser/themes/addons/monochromatic/2022green/manifest.json
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.