From f94e3f35a415d2d43b369ab4ea66294dabb1c09b Mon Sep 17 00:00:00 2001
From: Christian Liebel
algorithm is used to process the [=manifest/theme_color=] member.
- A related application is an application accessible to the - underlying application platform that has a relationship with the web - application. -
-
- The [=manifest's=] related_applications
member lists related
- applications and serves as an indication of such a relationship
- between web application and related applications. This
- relationship is unidirectional and unless a listed application claims
- the same relationship, the user agent MUST NOT assume a
- bi-directional endorsement.
-
- Example of usages of the `related_applications` could be a crawler - that would use that information to gather more information about the - web application or a browser that could suggest a listed application - as an alternative if the user wants to install the web application. -
-- To process the `related_applications` member, given - [=ordered map=] |json:ordered map| and [=ordered map=] - |manifest:ordered map|: -
-
- The [=manifest's=] `prefer_related_applications`
member is a
- [=boolean=] that is used as a hint for the user agent to say that
- related applications should be preferred over the web
- application. If the `prefer_related_applications` member is set to
- `true`, and the user agent wants to suggest to install the web
- application, the user agent might want to suggest installing one of
- the related applications instead.
-
- Each external - application resource represents an application related to the web - application. -
-- An [=external application resource=] can have the following members, - some of which are required to be a [=valid external application - resource=]: -
-- A valid external application resource MUST have [=external - application resource/platform=] member, and either an [=external - application resource/url=] or an [=external application resource/id=] - member (or both). -
- -
- The platform
member
- represents the [=platform=] this [=external application resource=] is
- associated with. A platform represents a
- software distribution ecosystem or possibly an operating system. This
- specification does not define the particular values for the
- platform member.
-
- An [=external application resource's=] url
member is the
- URL where the application can be found.
-
- To process the `url` member of an application: -
-
- An [=external application resource's=] id
member represents the
- id which is used to represent the application on the platform.
-
- An [=external application resource's=] min_version
member
- represents the minimum version of the application that is considered
- related to this web app. This version is a string with
- platform-specific syntax and semantics.
-
- An [=external application resource's=] fingerprints
member
- represents an [=list=] of [=fingerprints=].
-
- A fingerprint represents a - set of cryptographic fingerprints used for verifying the application. - A fingerprint has the following two members: type and value. Each of these are strings, but - their syntax and semantics are platform-defined. -
-