Telemetry API Experiment
WebExtensions Experiment to implement a browser.telemetry API.
Why?
When Mozilla develops an add-on, it needs access to send data to the Telemetry Pipeline, so we can measure its events and effects.
Requirements
- Firefox Developer Edition or Nightly
Run it
Install via .xpi file:
-
Build the
.xpifile withzip:zip web-ext-telemetry-api-experiment.xpi api.js install.rdf schema.json -
Go to
about:addons, click "Install Add-on From File...", and choose the.xpifile
Load the install.rdf file:
- Go to
about:debugging, click "Load Temporary Add-on", and choose theinstall.rdffile
Tips
When you are working on a WebExtension add-on that uses browser.telemetry, it
helps to install this .xpi file into a special
web-ext-telemetry-api-experiment Firefox profile, and then use web-ext to run
your add-on with the profile.
web-ext run -p /path/to/Profiles/web-ext-telemetry-api-experiment --firefox-binary /path/to/aurora|nightly