This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
Lists all installed apps in the user's repository.
getAll() returns a
pendingGetAll object. Callers are expected to set the
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
- Permission denied.