Name Description Size Coverage
AddonRollbackAction.sys.mjs 2407 72 %
AddonRolloutAction.sys.mjs @param {string} slug @param {object} extra Extra details to include when reporting the error to telemetry. @param {string} extra.reason The specific reason for the failure. 6873 91 %
BaseAction.sys.mjs Base class for local actions. This should be subclassed. Subclasses must implement _run() for per-recipe behavior, and may implement _preExecution and _finalize for actions to be taken once before and after recipes are run. Other methods should be overridden with care, to maintain the life cycle events and error reporting implemented by this class. 9160 89 %
BaseStudyAction.sys.mjs Base class for local study actions. This should be subclassed. Subclasses must implement _run() for per-recipe behavior, and may implement _finalize for actions to be taken once after recipes are run. For actions that need to be taken once before recipes are run _preExecution may be overriden but the overridden method must call the parent method to ensure the appropriate checks occur. Other methods should be overridden with care, to maintain the life cycle events and error reporting implemented by this class. 1351 100 %
BranchedAddonStudyAction.sys.mjs This action handles the life cycle of add-on based studies. Currently that means installing the add-on the first time the recipe applies to this client, updating the add-on to new versions if the recipe changes, and uninstalling them when the recipe no longer applies. 24343 89 %
ConsoleLogAction.sys.mjs 611 100 %
PreferenceExperimentAction.sys.mjs Enrolls a user in a preference experiment, in which we assign the user to an experiment branch and modify a preference temporarily to measure how it affects Firefox via Telemetry. 9495 96 %
PreferenceRollbackAction.sys.mjs 3034 96 %
PreferenceRolloutAction.sys.mjs Check that all the preferences in a rollout are ok to set. This means 1) no other rollout is managing them, and 2) they match the types of the builtin values. @param {PreferenceRollout} rollout The arguments from a rollout recipe. @throws If the preferences are not valid, with details in the error message. 8443 98 %
schemas 99 %
ShowHeartbeatAction.sys.mjs Returns a surveyId value. If recipe calls to include the Normandy client ID, then the client ID is attached to the surveyId in the format `${surveyId}::${userId}`. @return {string} Survey ID, possibly with user UUID 10028 97 %