DOMApplicationsRegistry

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 installing, managing, and controlling Open Web apps in a browser for installation on Firefox OS. Currently implemented as navigator.mozApps.

Property

DOMApplicationsRegistry.mgmt
A mgmt object that exposes functions that let dashboards manage and launch apps on a user's behalf.

Methods

DOMApplicationsRegistry.checkInstalled()
Checks whether an app has already been installed, taking its manifest as parameter.
DOMApplicationsRegistry.install()
Triggers the installation of an app. During the installation process, the app is validated and the user is prompted to approve the installation.
DOMApplicationsRegistry.installPackage()
Installs a packaged app.
DOMApplicationsRegistry.getSelf()
Returns an object that contains an app object for the app.
DOMApplicationsRegistry.getInstalled()
Gets a list of all installed apps.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? 16.0 ? ? ?
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? 16.0 ? ? ?

 

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/apps

API Apps Apps API B2G Firefox OS Non-standard Reference Référence