Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note manifest should always be fetched for installed web app #7200

Merged
merged 3 commits into from
Oct 26, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 22 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -25035,10 +25035,29 @@ document.body.appendChild(wbr);</code></pre>
<p>There is no default type for resources given by the <code data-x="rel-manifest">manifest</code>
keyword.</p>

<p>The appropriate time to <span>fetch and process the linked resource</span> for this link type
<p>When a web application is not <span data-x="installed web application">installed</a>,
the appropriate time to <span>fetch and process the linked resource</span> for this link type
is when the user agent deems it necessary. For example, when the user chooses to <span
data-x="installed web application">install the web application</span>. In that case, only the
first <code>link</code> element in <span>tree order</span> whose <code
data-x="installed web application">install the web application</span>.
</p>
<p>
However, for an <span data-x="installed web application">installed web application</a>,
the appropriate time to <span>fetch and process the linked resource</span> for this link type
are:
</p>
<ul>
<li><p>When the <span>external resource link</span> is created on a <code>link</code> element
that is already <span>browsing-context connected</span>.</p></li>

<li><p>When the <span>external resource link</span>'s <code>link</code> element <span>becomes
browsing-context connected</span>.</p></li>

<li><p>When the <code data-x="attr-link-href">href</code> attribute of the <code>link</code>
element of an <span>external resource link</span> that is already <span>browsing-context
connected</span> is changed.</p></li>
</ul>

<p>In either cases, only the first <code>link</code> element in <span>tree order</span> whose <code
data-x="attr-link-rel">rel</code> attribute contains the token <code
data-x="rel-manifest">manifest</code> may be used.</p>

Expand Down