-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,7 @@ <h2>Example</h2> | |
"description": "Exciting Open Web development action!", | ||
"launch_path": "/", | ||
"version": "1.0", | ||
"type": "trusted", | ||
"icons": { | ||
"16": "/img/icon_16.png", | ||
"48": "/img/icon_48.png", | ||
|
@@ -104,6 +105,40 @@ <h3>Optional Properties</h3> | |
<li><dfn>icons</dfn>: A map of icon sizes to URIs of the icons (which | ||
may be absolute or data URIs). Icons MUST be square.</li> | ||
|
||
<li><dfn>type</dfn>: Determines how this app and the manifest will | ||
be verified by the runtime, and what security policy will apply. The | ||
value MUST be one of the following: | ||
|
||
<ul> | ||
This comment has been minimized.
Sorry, something went wrong. |
||
<li><dfn>web</dfn>: A regular web app, may be self hosted or | ||
distributed by an app store. All permissions are opt-in at install | ||
and runtime, limited to permissions enumerated in the manifest. | ||
If the <a>type</a> property is not specified, this will be the | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
anantn
Author
Contributor
|
||
default value.</li> | ||
|
||
<li><dfn>trusted</dfn>: An authenticated application approved by | ||
an app store. Equivalent in functionality and security to apps on | ||
other mobile platforms, but is required to be approved by an app | ||
store after a code review or some equivalent risk management | ||
process. At install, app assets are verified & remain stored | ||
locally in a package. Requires a Content Security Policy, and | ||
This comment has been minimized.
Sorry, something went wrong. |
||
all explicit permissions are requested at runtime, showing user the | ||
app's data usage intentions, and persisted by default.</li> | ||
|
||
<li><dfn>certified</dfn>: This category is reserved for apps that | ||
require approval by a device vendor or equivalent party due to risk | ||
of device corruption or risk to critical functionality. These | ||
include apps such as the system settings app, default dialer | ||
(to ensure emergency services are always accessible), core radio | ||
and power management, etc. Not intended for 3rd party applications. | ||
</li> | ||
</ul> | ||
|
||
See also: <a href="https://wiki.mozilla.org/Apps/Security#Types_of_applications"> | ||
"Types of Applications"</a>, for a more detailed description of each | ||
type. | ||
</li> | ||
|
||
<li> | ||
<dfn>developer</dfn>: Information about the developer of the | ||
application, suitable for display. | ||
|
3 comments
on commit 40946ee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that we have renamed "Trusted" to "Privileged". Sorry!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, that rename was made in e270c61
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah great, thanks!
seems like a definition list would be most suitable here