mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
168102a659
This commit does several things: 1. It configures a new Nimbus feature and corresponding message group `backgroundTaskMessage`. 2. It configures `Firefox Messaging Experiments` to use the new Nimbus feature in background tasks. The existing Remote Settings collection `nimbus-desktop-experiments` continues to be used. These configurations are achieved by setting preferences in `backgroundtasks_browser.js`, which is applied on top of `firefox.js` prefs by the preference service. These preferences apply to every background task. 3. It implements functions for enabling Nimbus and the Firefox Messaging System (and Messaging Experiments) that can be used by arbitrary background tasks. It is assumed (but not enforced here) that such tasks will use non-ephemeral (persistent) profiles, so that Remote Settings incremental sync, Nimbus bucketing, and Messaging System message limits, function as expected. 4. It adds a new `message` background task specifically for testing background task messages. Invoke the testing task with command lines like `firefox --backgroundtask message ...`. To ease testing, the framework accepts `--url about:studies?...` arguments from the Experimenter Web UI to explicitly opt-in to specific experiment branches. This task is complicated because it is intended both for QA to manually invoke, but also to be used by automated tests. Eventually the existing `backgroundupdate` task will use the new functions, just as the testing `message` task does. Differential Revision: https://phabricator.services.mozilla.com/D150521 |
||
---|---|---|
.. | ||
windows | ||
allowed-dupes.mn | ||
Makefile.in | ||
package-manifest.in | ||
removed-files.in |