Skip to content

Commit

Permalink
Use the current high resolution time concept
Browse files Browse the repository at this point in the history
Using an underlying concept is better than invoking a method directly.
  • Loading branch information
annevk committed May 25, 2018
1 parent ce8404f commit 9dbad6a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -3297,12 +3297,10 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
</ul>

<p>The <cite>High Resolution Time</cite> specification provides the <dfn
data-x-href="https://w3c.github.io/hr-time/#dfn-current-high-resolution-time">current high
resolution time</dfn> and the <dfn
data-x-href="https://w3c.github.io/hr-time/#dom-domhighrestimestamp"><code>DOMHighResTimeStamp</code></dfn>
typedef and the <dfn
data-x-href="https://w3c.github.io/hr-time/#the-performance-interface"><code>Performance</code></dfn>
interface's <dfn data-x="dom-Performance-now"
data-x-href="https://w3c.github.io/hr-time/#dom-performance-now()"><code>now()</code></dfn>
method. <ref spec=HRT></p>
typedef. <ref spec=HRT></p>

</dd>

Expand Down Expand Up @@ -88877,8 +88875,8 @@ dictionary <dfn>PromiseRejectionEventInit</dfn> : <span>EventInit</span> {
href="#workers">worker</a> <span>event loop</span>), then run the following substeps.</p>

<ol>
<li><p>Let <var>now</var> be the value that would be returned by the <code>Performance</code>
object's <code data-x="dom-Performance-now">now()</code> method. <ref spec=HRT></p>
<li><p>Let <var>now</var> be the <span>current high resolution time</span>. <ref
spec=HRT></p></li>

<li>
<p>Let <var>docs</var> be the list of <code>Document</code> objects associated with the
Expand Down

0 comments on commit 9dbad6a

Please sign in to comment.