Bug 1765794 - Extend lifetime of the Life in Color colorway collection in Nightly to prepare for dogfooding the Colorway Closet. r=amy

Differential Revision: https://phabricator.services.mozilla.com/D144296
This commit is contained in:
Dão Gottwald 2022-04-23 09:56:14 +00:00
Родитель ce9521dabd
Коммит 57656e5c90
1 изменённых файлов: 11 добавлений и 2 удалений

Просмотреть файл

@ -2,8 +2,17 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
var EXPORTED_SYMBOLS = ["BuiltInThemeConfig"];
const { XPCOMUtils } = ChromeUtils.import(
"resource://gre/modules/XPCOMUtils.jsm"
);
XPCOMUtils.defineLazyModuleGetters(this, {
AppConstants: "resource://gre/modules/AppConstants.jsm",
});
/**
* A Map of themes built in to the browser, alongwith a Map of collections those themes belong to. Params for the objects contained
* within the map:
@ -239,13 +248,13 @@ const ColorwayCollections = new Map([
[
"life-in-color",
{
expiry: "2022-02-08",
expiry: AppConstants.NIGHTLY_BUILD ? "2022-08-03" : "2022-02-08",
},
],
[
"true-colors",
{
expiry: "2022-05-03",
expiry: AppConstants.NIGHTLY_BUILD ? "2022-4-20" : "2022-05-03",
},
],
]);