Skip to content

Commit

Permalink
Merge pull request #99 from w3c/lint-warnings
Browse files Browse the repository at this point in the history
Fix lint warnings
  • Loading branch information
noamr committed Jan 17, 2022
2 parents a251a96 + 7729cb8 commit 87f942f
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,6 @@ <h2>{{Window}} interface extensions</h2>
object.</li>
<li>An <dfn>idle callback identifier</dfn>, which is a number which MUST
initially be zero.</li>
<li>A <dfn>last idle period deadline</dfn>, which is a
{{DOMHighResTimeStamp}} which MUST initially be zero.
</ul>
<section data-dfn-for="Window">
<h2>The <dfn>requestIdleCallback()</dfn> method</h2>
Expand Down Expand Up @@ -414,7 +412,7 @@ <h2>The <dfn>IdleDeadline</dfn> interface</h2>
<h2>Processing</h2>
<section>
<h2>Start an idle period algorithm</h2>
<p>To <dfn export>start an idle period</dfn> given {{Window}} <var>window</var> and
<p>To <dfn class="export">start an idle period</dfn> given {{Window}} <var>window</var> and
<var>getDeadline</var>, an algorithm that returns a {{DOMHighResTimeStamp}}: [[HR-TIME]]

<p class="note">The algorithm is called
Expand Down Expand Up @@ -445,8 +443,6 @@ <h2>Start an idle period algorithm</h2>
parameters.
</li>
</ol>
<p>The <a>task source</a> for these <a>tasks</a> is the <dfn>idle-task
task source</dfn>.</p>
<div class="note">
<p>The time between now and the deadline is referred
to as the <dfn>idle period</dfn>. There can only be one idle period
Expand Down Expand Up @@ -512,7 +508,7 @@ <h2>Invoke idle callback timeout algorithm</h2>
</section>
</section>
<section>
<h2>Privacy and Security</h2>
<h2>Privacy Considerations</h2>
<p>When an idle callback is scheduled the user agent provides an estimate
of how long it expects to remain idle. This information can be used to
estimate the time taken by other application tasks and related browser work
Expand All @@ -522,8 +518,13 @@ <h2>Privacy and Security</h2>
information to compute "remaining time" within any callback.</p>
<p>To mitigate cache and statistical fingerprinting attacks, the resolution
of the time estimates returned by the <a>IdleDeadline</a> interface should
be set to the same 5 microsecond minimum as the <code>Performance</code> interface
defined in [[HR-TIME]].</p>
be [=coarsen time|coarsened=] based on
[=environment settings object/cross-origin isolated capability=] to ensure this API is not
exposing more information than what's exposed by other web-exposed timers. [[HR-TIME]]</p>
</section>
<section>
<h2>Security Considerations</h2>
<p>TBD
</section>
<section id="acknowledgements" class="appendix">
<h2>Acknowledgments</h2>
Expand Down

0 comments on commit 87f942f

Please sign in to comment.