From d22dcb0a20a29f21b1d67bc1eeebd5e52afe0e46 Mon Sep 17 00:00:00 2001
From: markgif
{%- trans %} - Note: Currently (January 2013) the Firefox - Marketplace supports packaged apps only for Firefox OS apps. + One difference from a hosted app is that a packaged app must + specify a launch_path in the manifest, whereas it's an optional + manifest field for a hosted app. + {% endtrans -%} +
++ {%- trans %} + Note: Currently (July 2013) the Firefox + Marketplace supports packaged apps only when they are Firefox + OS apps. {% endtrans -%}
type
field to its
+ manifest.webapp
file and set it to
+ privileged
. A privileged app has the following
+ characteristics:
{% endtrans -%}
type
field to its
+ manifest.webapp
file and set it to
+ certified
. The following is the CSP for a
+ certified app, which is slightly different from the CSP for
+ a privileged app:
{% endtrans -%}
"default-src *; script-src 'self'; object-src 'none'; style-src 'self'"{%- trans url_default_csp='https://wiki.mozilla.org/Apps/CSP', @@ -117,7 +131,13 @@ special authentication process used for privileged or certified apps. This plain packaged app cannot use certain sensitive Web APIs. It is not subject to the CSPs described - for privileged and certified apps. + for privileged and certified apps. This type of app could be + useful if you want all of your app's resources available on + the device when the user first uses it, with no downloading. + This type of packaged app does not require the
type
+ field in its manifest.webapp
file, because the
+ default value for type
(web
)
+ is correct.
{% endtrans -%}