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 d97e6e3 commit 12a861b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
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 12a861b

Please sign in to comment.