Skip to content

Commit

Permalink
Specify the global object when calculating user activation
Browse files Browse the repository at this point in the history
Closes #6806.
  • Loading branch information
sylph01 authored Mar 15, 2022
1 parent 0098f44 commit a54ae27
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -75249,9 +75249,9 @@ END:VCARD</pre>
<dl>
<dt><dfn export>Sticky activation</dfn></dt>
<dd>
<p>When the <span>current high resolution time</span> is greater than or equal to the <span>last
activation timestamp</span> in <var>W</var>, <var>W</var> is said to have <span>sticky
activation</span>.</p>
<p>When the <span>current high resolution time</span> given <var>W</var> is greater than or
equal to the <span>last activation timestamp</span> in <var>W</var>, <var>W</var> is said to
have <span>sticky activation</span>.</p>

<p>This is <var>W</var>'s historical activation state, indicating whether the user has ever
interacted in <var>W</var>. It starts false, then changes to true (and never changes back to
Expand All @@ -75260,10 +75260,10 @@ END:VCARD</pre>

<dt><dfn export>Transient activation</dfn></dt>
<dd>
<p>When the <span>current high resolution time</span> is greater than or equal to the <span>last
activation timestamp</span> in <var>W</var>, and less than the <span>last activation
timestamp</span> in <var>W</var> plus the <span>transient activation duration</span>, then
<var>W</var> is said to have <span>transient activation</span>.</p>
<p>When the <span>current high resolution time</span> given <var>W</var> is greater than or
equal to the <span>last activation timestamp</span> in <var>W</var>, and less than the
<span>last activation timestamp</span> in <var>W</var> plus the <span>transient activation
duration</span>, then <var>W</var> is said to have <span>transient activation</span>.</p>

<p>This is <var>W</var>'s current activation state, indicating whether the user has interacted
in <var>W</var> recently. This starts with a false value, and remains true for a limited time
Expand Down Expand Up @@ -127824,6 +127824,7 @@ INSERT INTERFACES HERE
Ryan King,
Ryan Landay,
Ryan Sleevi,
Ryo Kajiwara, <!-- sylph01 on GitHub -->
Ryo Kato,
Ryosuke Niwa,
S. Mike Dierken,
Expand Down

0 comments on commit a54ae27

Please sign in to comment.