Marketplace feature removal
The functionality described on this page no longer works — Firefox Marketplace has discontinued support for Android, Desktop, Tablets, and payments (and other related functionality). For more information, read the Future of Marketplace FAQ.

Provides support for managing and installing Open Web apps in a browser. A manager can be accessed via Navigator.mozApps.mgmt

Event handlers

DOMApplicationsManager.oninstall
Is an EventManager call when install event is received.
DOMApplicationsManager.onuninstall
Is an EventManager call when uninstall event is received.
DOMApplicationsManager.onenabledstatechange
Defines an event handler for the enabledstatechange event; this is received when an app is enabled or disabled using DOMApplicationsManager.setEnabled().

Methods

DOMApplicationsManager.getAll()
Returns all applications.
DOMApplicationsManager.setEnabled()
Sets an application to be enabled or disabled.

Obsolete methods

DOMApplicationsManager.clearWatch() 
Removes a watch callback function. After this function is called, the specified watch callback is no longer called.
DOMApplicationsManager.list() 
Lists all installed apps in the user's repository.
DOMApplicationsManager.uninstall() 
Uninstalls an app from the user's repository.
DOMApplicationsManager.watchUpdates() 
Sets up a callback function to be called whenever an app is installed or removed from the repository.

Specifications

Not currently part of an official specification.

Browser compatibility

Supported in Firefox OS 1.0.1.

onstatechange, setEnabled() supported in Firefox OS 2.2.

Document Tags and Contributors

Contributors to this page: ExE-Boss, wbamberg, fscholz, chrisdavidmills, maybe, teoli
Last updated by: ExE-Boss,