Commit a2a52537 authored by Emanuele Aina's avatar Emanuele Aina

web-runtime: Split the Persistent state section from App Manager

Move considerations about persistent state in their own section and add
some comments about where to store cached data.
Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
Differential Revision: https://phabricator.apertis.org/D4831
parent db968f87
......@@ -302,6 +302,15 @@ Developers must ship a suitable AppArmor profile
if a wider access to the platform from the application is needed,
using the conventions defined in the [Applications design document].
App-bundles containing web applications can ship any number of native agents
written in any language supported by Apertis, for example JavaScript, C or C++.
As specified in the [Security design document]
there is no security boundary between programs in the same app-bundle,
and the same AppArmor profile covers both the Web application
and any other program agents shipped in the same app-bundle.
### Persistent state
The application persistent state handling currently does nothing in web runtime mode
and is likely not relevant for the web runtime
as web applications usually rely on the `localStorage` area or remote services
......@@ -313,12 +322,9 @@ of any functionality offered by the Application Manager
like any other Apertis application,
and use any of the mechanisms described in the [Preferences and persistence document].
App-bundles containing web applications can ship any number of native agents
written in any language supported by Apertis, for example JavaScript, C or C++;
as specified in the [Security design document]
there is no security boundary between programs in the same app-bundle,
and the same AppArmor profile covers both the Web application
and any other program agents shipped in the same app-bundle.
Cached files are stored in the per-application, per-user cache directory,
as specified by the *Data Storage* section of the [Applications design document],
and as pointed to by the `$XDG_CACHE_HOME` environment variable.
### Hardkey integration
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment