Name Description Size Coverage
ActionsManager.sys.mjs A class to manage the actions that recipes can use in Normandy. 2274 -
CleanupManager.sys.mjs 1207 -
EventEmitter.sys.mjs 1692 -
Heartbeat.sys.mjs Show the Heartbeat UI to request user feedback. @param chromeWindow The chrome window that the heartbeat notification is displayed in. @param {object} options Options object. @param {string} options.message The message, or question, to display on the notification. @param {string} options.thanksMessage The thank you message to display after user votes. @param {string} options.flowId An identifier for this rating flow. Please note that this is only used to identify the notification box. @param {string} [options.engagementButtonLabel=null] The text of the engagement button to use instead of stars. If this is null or invalid, rating stars are used. @param {string} [options.learnMoreMessage=null] The label of the learn more link. No link will be shown if this is null. @param {string} [options.learnMoreUrl=null] The learn more URL to open when clicking on the learn more link. No learn more will be shown if this is an invalid URL. @param {string} [options.surveyId] An ID for the survey, reflected in the Telemetry ping. @param {number} [options.surveyVersion] Survey's version number, reflected in the Telemetry ping. @param {boolean} [options.testing] Whether this is a test survey, reflected in the Telemetry ping. @param {string} [options.postAnswerURL=null] The url to visit after the user answers the question. 12489 -
LegacyHeartbeat.sys.mjs A bridge between Nimbus and Normandy's Heartbeat implementation. 1102 -
LogManager.sys.mjs Configure the root logger for the Recipe Client. Must be called at least once before using any loggers created via getLogger. @param {number} loggingLevel Logging level to use as defined in Log.sys.mjs 1121 -
NormandyApi.sys.mjs Verify content signature, by serializing the specified `object` as canonical JSON, and using the Normandy signer verifier to check that it matches the signature specified in `signaturePayload`. If the the signature is not valid, an error is thrown. Otherwise this function returns undefined. @param {object | string} data The object (or string) to be checked @param {object} signaturePayload The signature information @param {string} signaturePayload.x5u The certificate chain URL @param {string} signaturePayload.signature base64 signature bytes @param {string} type The object type (eg. `"recipe"`, `"action"`) @returns {Promise<undefined>} If the signature is valid, this function returns without error @throws {NormandyApi.InvalidSignatureError} if signature is invalid. 5071 -
NormandyUtils.sys.mjs 417 -
RecipeRunner.sys.mjs cacheProxy returns an object Proxy that will memoize properties of the target. 19752 -