Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export end time so that subclasses can change it #211

Merged
merged 3 commits into from
Feb 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 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 class="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 All @@ -365,7 +365,7 @@ <h2>The <dfn>PerformanceEntry</dfn> interface</h2>
<li>Initialize <var>entry</var>'s <a>startTime</a> to <var>startTime</var>.
<li>Initialize <var>entry</var>'s <a>entryType</a> to <var>entryType</var>.
<li>Initialize <var>entry</var>'s <a>name</a> to <var>name</var>.
<li>Initialize <var>entry</var>'s <a>endTime</a> to <var>endTime</var>.
<li>Initialize <var>entry</var>'s <a>end time</a> to <var>endTime</var>.
</ol>
</section>
<section data-link-for="PerformanceObserver" data-dfn-for=
Expand Down
Loading