Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

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.

The getAll() method of the DOMApplicationsManager interface lists all installed apps in the user's repository.

Syntax

window.navigator.mozApps.mgmt.getAll()

Parameters

None.

Return value

getAll() returns a pendingGetAll object. Callers are expected to set the onsuccess and onerror callback properties of the returned object.

pendingGetAll.result will be an array of App objects that contains all the apps installed in the current browser. pendingGetAll.result will be the empty list if no apps are installed. onerror will be called if a serious problem occurs while checking this.

This is a privileged call. navigator.mozApps.mgmt will be null if you do not have the privilege to query apps.

Errors

The following error can be returned in DOMRequest.error.

DENIED
Permission denied.

Document Tags and Contributors

 Last updated by: chrisdavidmills,