Confirmed users
130
edits
Wmccloskey (talk | contribs) m (Wmccloskey moved page Browser Extensions to WebExtensions: Change the name of the technology) |
Wmccloskey (talk | contribs) (packaging) |
||
| Line 10: | Line 10: | ||
We hope to ship a preliminary version of this API in Firefox 42. | We hope to ship a preliminary version of this API in Firefox 42. | ||
== Packaging == | |||
We're planning to use the .zip file extension. All of the data currently in install.rdf will be moved to the manifest.json file. Will will not use install.rdf or bootstrap.js. Extensions will be signed using JAR signing (the same as we do for existing Firefox add-ons). | |||
See https://developer.chrome.com/extensions/manifest for a complete list. | See https://developer.chrome.com/extensions/manifest for a complete list of manifest directives. The ones we currently support are below. | ||
* name | * name | ||
| Line 25: | Line 25: | ||
* browser_action | * browser_action | ||
* default_locale | * default_locale | ||
In addition, we plan to add the following section: | |||
<blockquote><pre> | |||
"applications": { | |||
"gecko": { | |||
"id": "{the-addon-id}", | |||
"strict_min_version": "40.0.0", | |||
"strict_max_version": "50.*" | |||
"update_url": "https://foo/bar" | |||
} | |||
} | |||
</pre></blockquote> | |||
Both versions will be Gecko rapid release versions. The update URL points to an [https://developer.mozilla.org/en-US/docs/Extension_Versioning,_Update_and_Compatibility#Update_RDF_Format update manifest]. We hope to make all of these properties optional. The id would have to be generated fresh either upon local installation or when uploaded to addons.mozilla.org or Marketplace. | |||
== List of supported APIs == | == List of supported APIs == | ||