Mozilla's getting a new look. What do you think? https://mzl.la/brandsurvey

Apps.installPackage Redirect 1

« DOM Reference

Non-standard
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.


Only available on Firefox OS.

Summary

Installs a packaged app.

Syntax

installPackage: function(aURL[, aParams])

Parameters

  • receipts: Will be used to specify the payment receipts for this installation.
  • categories: Will be used to specify the categories of the webapp.

Returns

aURL
The URL of the app package to install. This must be a full, absolute URL.
aParams
Optionally, an object with optional information:
DOMRequest

See also

Document Tags and Contributors

 Last updated by: Sheppy,