From |scope|, remove the [=url/query=] and [=url/fragment=]
- components.
+
Set |scope|'s [=URL/query=] and [=URL/fragment=] to null.
If |manifest|["start_url"] is not [=URL/within scope=] of
|scope|, return.
@@ -873,13 +872,26 @@
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 serializer/exclude
- fragment|exclude fragment true=] to the [=identity=] of an
+ |manifest|["id"] is [=url/equal=] (with [=URL/equals/exclude
+ fragments=] OPTIONALLY set to true) to the [=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
served from a different URL than the one seen previously.
+
The [=identity=] can be used by a service that collects lists of web
applications to uniquely identify applications.
@@ -910,6 +922,8 @@
If |id| is not [=same origin=] as |manifest|["start_url"],
return.
If the [=document=]'s [=document|processed manifest=] is not
null, and [=document=]'s [=document|processed manifest=]'s id is
- not [=URL/equal=] with [=URL serializer/exclude fragment|exclude
- fragment true=] to |manifest|["id"], return.
+ not [=URL/equal=] to |manifest|["id"], return.
[=Process the `scope` member=] passing |json|, |manifest|, and
|manifest URL|.