Skip to content

Commit

Permalink
Export end time so that subclasses can change it
Browse files Browse the repository at this point in the history
  • Loading branch information
noamr committed Feb 9, 2024
1 parent 2f5db06 commit c3c1c87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@ <h2>The <dfn>PerformanceEntry</dfn> interface</h2>
the first recorded timestamp of this performance metric.</dd>
<dt><dfn>duration</dfn></dt>
<dd>
The getter steps for the <a>duration</a> attribute are to return 0 if <a>this</a>'s <a>endTime</a>
is 0; otherwise <a>this</a>'s <a>endTime</a> - <a>this</a>'s <a>startTime</a>.
The getter steps for the <a>duration</a> attribute are to return 0 if <a>this</a>'s <a>end time</a>
is 0; otherwise <a>this</a>'s <a>end time</a> - <a>this</a>'s <a>startTime</a>.
</dd>
<dt><dfn>navigationId</dfn></dt>
<dd>
Expand All @@ -354,7 +354,7 @@ <h2>The <dfn>PerformanceEntry</dfn> interface</h2>
<p>When <dfn>toJSON</dfn> is called, run [[WebIDL]]'s <a>default toJSON
steps</a>.</p>

<p>A <a>PerformanceEntry</a> has a {{DOMHighResTimeStamp}} <dfn>endTime</dfn>,
<p>A <a>PerformanceEntry</a> has a {{DOMHighResTimeStamp}} <dfn export>end time</dfn>,
initially 0.

<p>To <dfn class="export">initialize a <a>PerformanceEntry</a></dfn> <var>entry</var> given a {{DOMHighResTimeStamp}} <var>startTime</var>,
Expand Down

0 comments on commit c3c1c87

Please sign in to comment.