mozilla-extensions / aboutsync

A Firefox addon to show information about Sync.
Mozilla Public License 2.0
77 stars 17 forks source link

About Sync

This desktop-only addon shows information about your Sync account, including showing all server data for your account. It is designed primarily for Sync developers, or advanced users who would like insights into their Sync data.

It is a React app which needs full chrome permissions - ie, the .jsx files have ChromeUtils and are able to reach into the internal sync/fxa/etc implementation to display and edit. It mostly just reads, but it includes destructive functionality; arbitrary editing of sync related stuff, raw sql execution, etc.

It does this by abusing addons "experimental api" support - where the "api" here is "whatever it takes to give ChromeUtils to our jsx". See ext_bootstrap.js. And to register the about page - see "*Redirector.js".

Using the addon

Once installed, type about:sync into the URL bar.

Pull requests are welcome

Availability

Available for Firefox here: https://addons.mozilla.org/firefox/addon/about-sync/

Running from source

This is only possible in Nightly. To proceed, you must use about:config to set extensions.experiments.enabled=true and xpinstall.signatures.required=false.

Other help:

Testing a XPI

The CI process creates "dep signed" XPI files which can be used to test - this is useful to test the artifact of a PR, or to pre-test a release XPI before final "production signing".

See the official docs but a tl;dr is:

Release Process

Because this addon must be signed by the addons team, the release process is more difficult than for regular addons.

The general process followed by the addons team is documented here, but at the current time, the maintainers of about-sync don't have the required permissions. Therefore, the process is: