Firefox/RemoteSettings: Difference between revisions
< Firefox
Jump to navigation
Jump to search
(Add missing title) |
(Update the URL for the List of Firefox features powered by RemoteSettings. See https://bugzilla.mozilla.org/show_bug.cgi?id=2004506#c1.) |
||
| (13 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
'''Remote Settings''' is a Mozilla service that makes it easy to manage evergreen settings data in Firefox. [[Firefox/Kinto]] is used for syncing of data. A simple API is available in Firefox for accessing the synchronized data. | '''Remote Settings''' is a Mozilla service that makes it easy to manage evergreen settings data in Firefox. [[Firefox/Kinto]] is used for syncing of data. A simple API is available in Firefox for accessing the synchronized data. | ||
= Key Features = | = Key Features = | ||
| Line 36: | Line 14: | ||
* Single endpoint for polling for changes | * Single endpoint for polling for changes | ||
* Client synchronization (diff based, local db) | * Client synchronization (diff based, local db) | ||
* Client-side target filtering (JEXL a-la Normandy) | |||
* Client Telemetry | * Client Telemetry | ||
* Robust protocol (retry, precondition headers, backoff, …) | |||
= | <pre> | ||
const { RemoteSettings } = ChromeUtils.import("resource://services-settings/remote-settings.js", {}); | |||
== | RemoteSettings("my-collection") | ||
.on("sync", (e) => { | |||
// e.data.current = [ Record, Record, ... ] | |||
}); | |||
</pre> | |||
= Resources = | |||
* [https://remote-settings.readthedocs.io Tutorials, screencasts and FAQ] | |||
* [https://firefox-source-docs.mozilla.org/main/latest/services/common/services/RemoteSettings.html API client docs] (How to use RemoteSettings in Gecko) | |||
* [https://mana.mozilla.org/wiki/pages/viewpage.action?pageId=66655528 OPs and staff documentation] (How to create new collections etc.) | |||
* [https://mozilla.github.io/remote-settings-permissions/ List of Firefox features powered by RemoteSettings] | |||
* [https://bugzilla.mozilla.org/buglist.cgi?product=Cloud%20Services&component=Server%3A%20Remote%20Settings&resolution=---&list_id=14124423 RemoteSettings server bugs list] | |||
* [https://bugzilla.mozilla.org/buglist.cgi?product=Firefox&component=Remote%20Settings%20Client&resolution=---&list_id=14124425 RemoteSettings client bugs list] | |||
* [https://github.com/mozilla/remote-settings Project milestones] | |||
== | |||
== | |||
== RemoteSettings DevTools == | |||
An addon is available to diagnose remote settings synchronization and state. See https://github.com/mozilla/remote-settings-devtools | |||
Latest revision as of 19:12, 8 December 2025
Firefox Remote Settings
Remote Settings is a Mozilla service that makes it easy to manage evergreen settings data in Firefox. Firefox/Kinto is used for syncing of data. A simple API is available in Firefox for accessing the synchronized data.
Key Features
- Admin UI (generated from data schema)
- Data history
- Preview data (QA)
- Sign-off (review)
- File attachments
- Email notifications
- Content signature (Autograph integration)
- Single endpoint for polling for changes
- Client synchronization (diff based, local db)
- Client-side target filtering (JEXL a-la Normandy)
- Client Telemetry
- Robust protocol (retry, precondition headers, backoff, …)
const { RemoteSettings } = ChromeUtils.import("resource://services-settings/remote-settings.js", {});
RemoteSettings("my-collection")
.on("sync", (e) => {
// e.data.current = [ Record, Record, ... ]
});
Resources
- Tutorials, screencasts and FAQ
- API client docs (How to use RemoteSettings in Gecko)
- OPs and staff documentation (How to create new collections etc.)
- List of Firefox features powered by RemoteSettings
- RemoteSettings server bugs list
- RemoteSettings client bugs list
- Project milestones
RemoteSettings DevTools
An addon is available to diagnose remote settings synchronization and state. See https://github.com/mozilla/remote-settings-devtools