Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

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,