This feature is not on a current W3C standards track, but it is supported on the Firefox OS platform. Although implementations may change in the future and it is not supported widely across browsers, it is suitable for use in code dedicated to Firefox OS apps.

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





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.


The following error can be returned in DOMRequest.error.

Permission denied.

Document Tags and Contributors

Last updated by: chrisdavidmills,