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.

Summary

Installs a packaged app.

Syntax

installPackage: function(aURL[, aParams])

Parameters

 
aURL
The URL of the mini-manifest associated with the app package you are trying to install. This must be a full, absolute URL.
aParams
Optionally, an object with optional information:
  • receipts: Will be used to specify the payment receipts for this installation.
  • categories: Will be used to specify the categories of the webapp.

Returns

DOMRequest

See also

Document Tags and Contributors

 Last updated by: chrisdavidmills,