Skip to content

Commit 12a861b

Browse files
committed
Export end time so that subclasses can change it
See w3c/navigation-timing#194
1 parent d97e6e3 commit 12a861b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@ <h2>The <dfn>PerformanceEntry</dfn> interface</h2>
343343
the first recorded timestamp of this performance metric.</dd>
344344
<dt><dfn>duration</dfn></dt>
345345
<dd>
346-
The getter steps for the <a>duration</a> attribute are to return 0 if <a>this</a>'s <a>endTime</a>
347-
is 0; otherwise <a>this</a>'s <a>endTime</a> - <a>this</a>'s <a>startTime</a>.
346+
The getter steps for the <a>duration</a> attribute are to return 0 if <a>this</a>'s <a>end time</a>
347+
is 0; otherwise <a>this</a>'s <a>end time</a> - <a>this</a>'s <a>startTime</a>.
348348
</dd>
349349
<dt><dfn>navigationId</dfn></dt>
350350
<dd>
@@ -354,7 +354,7 @@ <h2>The <dfn>PerformanceEntry</dfn> interface</h2>
354354
<p>When <dfn>toJSON</dfn> is called, run [[WebIDL]]'s <a>default toJSON
355355
steps</a>.</p>
356356

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

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

0 commit comments

Comments
 (0)