canmove, Confirmed users
1,448
edits
(Adding bootstrapped add-on section) |
|||
| Line 4: | Line 4: | ||
== Bootstrapped (Restartless) Add-ons == | == Bootstrapped (Restartless) Add-ons == | ||
[https://developer.mozilla.org/en/Extensions/Bootstrapped_extensions Bootstrapped add-ons] are extensions for Gecko 2 (Firefox 4) which are installed, upgraded, enabled, and disabled all without an aplication restart. They can be identified by the presence of the ''em:bootstrapped'' flag in install.rdf. | |||
The main challenge for boostrapped add-ons is to clean up after themselves. They are not allowed to register chrome or overlays because they have no inverse operation. Bootstrapped add-ons that don't perform proper cleanup should receive a Preliminary Approval at most. | |||
Some things to look for: | |||
* The add-on must not require a restart for any of its features to fully work. | |||
* The add-on must not require a restart after being disabled or uninstalled. | |||
* Unregister all observers when disabled or uninstalled. | |||
* Remove all event listeners when disabled or uninstalled. | |||
* Remove all UI when disabled or uninstalled. | |||
The add-on should be installed, uninstalled, disabled and enabled a couple of times during a single session to test the main entry points. | |||
A more detailed treatment of this topic by a member of our team can be [http://maglione-k.users.sourceforge.net/bootstrapped.xhtml found here]. | |||
== Themes == | == Themes == | ||