From 97492db3c40dfbfe78c11e9ecaffbabb6b379947 Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Tue, 2 Sep 2025 16:52:21 +1000 Subject: [PATCH 1/2] chore: export Installed Web Application Identity --- index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 092c9b6e..fe0cd794 100644 --- a/index.html +++ b/index.html @@ -863,8 +863,10 @@

The [=manifest's=] id member is a string that represents - the identity for the application. The [=identity=] takes - the form of a URL, which is same origin as the [=start URL=]. + the identity for the application. The + [=identity=] takes the form of a URL, which is same origin as the + [=start URL=].

The [=identity=] is used by user agents to uniquely identify the From 3b838bfc165c224d3b7be230cea1a95ac22b33e0 Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Tue, 2 Sep 2025 16:58:29 +1000 Subject: [PATCH 2/2] fixiup links --- index.html | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/index.html b/index.html index fe0cd794..89056686 100644 --- a/index.html +++ b/index.html @@ -192,7 +192,7 @@

  • [=manifest/icons=]
  • -
  • [=manifest/identity=] +
  • [=manifest/id=]
  • [=manifest/lang=]
  • @@ -865,18 +865,19 @@

    "manifest">id member is a string that represents the identity for the application. The - [=identity=] takes the form of a URL, which is same origin as the - [=start URL=]. -

    -

    - The [=identity=] is used by user agents to uniquely identify the - application universally. When the user agent sees a manifest with an - [=identity=] that does not correspond to an already-installed - application, it SHOULD treat that manifest as a description of a - distinct application, even if it is served from the same URL as that - of another application. When the user agent sees a manifest where - |manifest|["id"] is [=url/equal=] (with [=URL/equals/exclude - fragments=] OPTIONALLY set to true) to the [=identity=] of an + [=installed web application/identity=] takes the form of a URL, which + is same origin as the [=start URL=]. +

    +

    + The [=installed web application/identity=] is used by user agents to + uniquely identify the application universally. When the user agent + sees a manifest with an [=installed web application/identity=] that + does not correspond to an already-installed application, it SHOULD + treat that manifest as a description of a distinct application, even + if it is served from the same URL as that of another application. + When the user agent sees a manifest where |manifest|["id"] is + [=url/equal=] (with [=URL/equals/exclude fragments=] OPTIONALLY set + to true) to the [=installed web application/identity=] of an already-installed application, it SHOULD be used as a signal that this manifest is a replacement for the already-installed application's manifest, and not a distinct application, even if it is @@ -896,13 +897,14 @@

    two [=URLs=] that ought not to have fragments.

    - The [=identity=] can be used by a service that collects lists of web - applications to uniquely identify applications. + The [=installed web application/identity=] can be used by a service + that collects lists of web applications to uniquely identify + applications.

    - The [=identity=] is processed like a URL but it doesn't point to a - resource that can be navigated to, so it's not required to be - [=URL/within scope=]. + The [=installed web application/identity=] is processed like a URL + but it doesn't point to a resource that can be navigated to, so it's + not required to be [=URL/within scope=].

    To process the `id` member, given [=ordered map=]