WebExtensions/Experiments: Difference between revisions

no edit summary
No edit summary
Line 83: Line 83:
Chrome has an [https://developer.chrome.com/extensions/experimental experimental API].  
Chrome has an [https://developer.chrome.com/extensions/experimental experimental API].  


== Questions ==
= Workflow for a new API =


* How will testing happen?
Current status: '''draft'''.
 
1. File a bug in Toolkit > WebExtensions on [https://bugzilla.mozilla.org bugzilla].
2. Mark it as [design-decision-needed]
3. We'll review it in the [[WebExtensions/AdvisoryGroup]]. If you feel the API might not happen or is controversial, it might make sense to wait to see if anyone has any concerns about that.
4. Start creating your code!
 
At this point there's a few things you need to do:
* write some documentation outlining your API
* think about the API should be constructed and work with the WebExtensions team to figure that out
* think about security, privacy in the API, this will be reviewed by the team
* ensure that you have tests
* TODO: let's get a clear set of criteria
 
An email to dev-addons@mozilla.com would be useful with the subject: "Intent to experiment [name]"
 
5. A repository will be created for you.
6. Start sending pull requests in, your code will need to be reviewed before landing.
 
== Uplift ==
 
If the experiment results in an API that is going to land into Firefox, then we'll uplift that to mozilla-central. Any code must meet basic criteria.
 
TODO: complete this flow
 
An email to dev-addons@mozilla.com would be useful with the subject: "Intent to implement [name]" detailing the experiment that is moving up into Firefox.


* Automatic installation of the WebExtensions Experiment add-on?


= Milestones =
= Milestones =
Line 103: Line 127:
* Two APIs that work with experiment
* Two APIs that work with experiment
* A first experiment add-on loaded onto AMO
* A first experiment add-on loaded onto AMO
** Needs [https://github.com/mozilla/addons-server/issues/3315 issue 3315] to land on github first.


== Milestone 3 ==
== Milestone 3 ==
Confirmed users
1,158

edits