Skip to content

Commit

Permalink
Note manifest should always be fetched for installed web app
Browse files Browse the repository at this point in the history
  • Loading branch information
philloooo committed Oct 18, 2021
1 parent cd143c7 commit 92f172f
Showing 1 changed file with 22 additions and 3 deletions.
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

0 comments on commit 92f172f

Please sign in to comment.