Skip to content

Commit 944d443

Browse files
committed
Add a non-normative note that the app can be installed from a document that is outside the scope of that app.
Closes #784.
1 parent 95d216f commit 944d443

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

index.html

+20-1
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,25 @@ <h2 id="installable-web-applications">
318318
Installability signals</a>).
319319
</li>
320320
</ol>
321+
<div class="note" data-link-for="WebAppManifest">
322+
<p>
323+
The {{Document}} might not be <a data-lt=
324+
"within-scope-manifest">within scope</a> of the linked manifest, by
325+
design. For example, a page at <code>https://example.com</code> might
326+
link a manifest with <a>scope</a> <code>"/installable/"</code>,
327+
allowing the top-level page of the site (which itself is not part of
328+
the installable web application) to show installation UI.
329+
</p>
330+
<p>
331+
Implementors should be aware of this possibility. One consequence is
332+
that if, post install, the user agent opens the document URL in an
333+
<a>application context</a>, it would immediately start showing the
334+
"out of scope" warning UI (that is recommended in <a href=
335+
"#navigation-scope">Navigation scope</a>). Hence, implementors might
336+
wish to avoid doing this if the {{Document}} is <a data-lt=
337+
"within-scope-manifest">out of scope</a>.
338+
</p>
339+
</div>
321340
<section>
322341
<h3>
323342
Authority of the manifest's metadata
@@ -842,7 +861,7 @@ <h4>
842861
</section>
843862
</section>
844863
<section>
845-
<h2>
864+
<h2 id="navigation-scope">
846865
Navigation scope
847866
</h2>
848867
<p data-link-for="WebAppManifest">

0 commit comments

Comments
 (0)