Skip to content

Commit

Permalink
Meta: export user activation-related terms
Browse files Browse the repository at this point in the history
  • Loading branch information
mustaqahmed committed Nov 9, 2021
1 parent f8cb0cc commit 54bff73
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -74281,7 +74281,7 @@ END:VCARD</pre>



<h3>Tracking user activation</h3>
<h3>Tracking <dfn export>user activation</dfn></h3>

<p>To prevent abuse of certain APIs that could be annoying to users (e.g., opening popups or
vibrating phones), user agents allow these APIs only when the user is actively interacting with
Expand Down Expand Up @@ -74431,19 +74431,21 @@ END:VCARD</pre>
to strongest):</p>

<dl>
<dt><dfn data-x="sticky activation gated api">Sticky activation-gated APIs</dfn></dt>
<dd><p>These APIs require the <span>sticky activation</span> state to be true, so they are blocked
until the very first user activation.</p></dd>

<dt><dfn data-x="transient activation gated api">Transient activation-gated APIs</dfn><dt>
<dd><p>These APIs require the <span>transient activation</span> state to be true, but they don't
<span data-x="consume user activation">consume</span> it, so multiple calls are allowed per user
activation until the transient state <span data-x="activation-expiry">expires</span>.</p></dd>

<dt><dfn data-x="activation consuming api">Transient activation-consuming APIs</dfn></dt>
<dd><p>These APIs require the <span>transient activation</span> state to be true, and they
<span>consume user activation</span> in each call to prevent multiple calls per user
<dt><dfn export data-x="sticky activation gated api" data-lt="sticky activation-gated
API">Sticky activation-gated APIs</dfn></dt> <dd><p>These APIs require the <span>sticky
activation</span> state to be true, so they are blocked until the very first user
activation.</p></dd>

<dt><dfn export data-x="transient activation gated api" data-lt="transient activation-gated
API">Transient activation-gated APIs</dfn><dt> <dd><p>These APIs require the <span>transient
activation</span> state to be true, but they don't <span data-x="consume user
activation">consume</span> it, so multiple calls are allowed per user activation until the
transient state <span data-x="activation-expiry">expires</span>.</p></dd>

<dt><dfn export data-x="activation consuming api" data-lt="transient activation-consuming
API">Transient activation-consuming APIs</dfn></dt> <dd><p>These APIs require the
<span>transient activation</span> state to be true, and they <span>consume user
activation</span> in each call to prevent multiple calls per user activation.</p></dd>
</dl>


Expand Down

0 comments on commit 54bff73

Please sign in to comment.