874
edits
(reworded some things in philosophy section) |
m (minor rewording) |
||
Line 21: | Line 21: | ||
In the context of this document, a ''jetpack'' is a collection of code and metadata about the code. The code, if executed, is run in a sandbox in accordance with the principle of least authority. | In the context of this document, a ''jetpack'' is a collection of code and metadata about the code. The code, if executed, is run in a sandbox in accordance with the principle of least authority. | ||
A ''capability'' is an object in a JavaScript sandbox that endows code with the ability to do something it is incapable of doing | A ''capability'' is an object in a JavaScript sandbox that endows code with the ability to do something it is otherwise incapable of doing: e.g. accessing a file, the network, a user password, and so forth. | ||
The jetpack's metadata is called a ''manifest'' and can be expressed as a JSON object. It has the following keys: | The jetpack's metadata is called a ''manifest'' and can be expressed as a JSON object. It has the following keys: |
edits