diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /browser/components/asrouter/modules/MessagingExperimentConstants.sys.mjs | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/asrouter/modules/MessagingExperimentConstants.sys.mjs')
-rw-r--r-- | browser/components/asrouter/modules/MessagingExperimentConstants.sys.mjs | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/browser/components/asrouter/modules/MessagingExperimentConstants.sys.mjs b/browser/components/asrouter/modules/MessagingExperimentConstants.sys.mjs new file mode 100644 index 0000000000..5960ab92cc --- /dev/null +++ b/browser/components/asrouter/modules/MessagingExperimentConstants.sys.mjs @@ -0,0 +1,37 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * 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/. */ + +/** + * This file is used to define constants related to messaging experiments. It is + * imported by both ASRouter as well as import-rollouts.js, a node script that + * imports Nimbus rollouts into tree. It doesn't have access to any Firefox + * APIs, XPCOM, etc. and should be kept that way. + */ + +/** + * These are the Nimbus feature IDs that correspond to messaging experiments. + * Other Nimbus features contain specific variables whose keys are enumerated in + * FeatureManifest.yaml. Conversely, messaging experiment features contain + * actual messages, with the usual message keys like `template` and `targeting`. + * @see FeatureManifest.yaml + */ +export const MESSAGING_EXPERIMENTS_DEFAULT_FEATURES = [ + "cfr", + "fxms-message-1", + "fxms-message-2", + "fxms-message-3", + "fxms-message-4", + "fxms-message-5", + "fxms-message-6", + "fxms-message-7", + "fxms-message-8", + "fxms-message-9", + "fxms-message-10", + "fxms-message-11", + "infobar", + "moments-page", + "pbNewtab", + "spotlight", + "featureCallout", +]; |