Skip to content

Commit

Permalink
Merge pull request #60 from w3c/registration-note
Browse files Browse the repository at this point in the history
Replace supportedEntryTypes registration with Note
  • Loading branch information
yoavweiss authored Jun 19, 2019
2 parents d2bbcd3 + d4358bf commit 717dda0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -348,11 +348,9 @@ <h2>The <dfn>PerformanceMeasure</dfn> Interface</h2>
</section>
<section>
<h2>Processing</h2>
<p>A user agent implementing the User Timing API must perform the following steps:</p>
<ol>
<li>Run the <a data-cite="PERFORMANCE-TIMELINE-2#dfn-register-a-performance-entry-type">register a performance entry type</a> algorithm with <code>"mark"</code> as input.</li>
<li>Run the <a data-cite="PERFORMANCE-TIMELINE-2#dfn-register-a-performance-entry-type">register a performance entry type</a> algorithm with <code>"measure"</code> as input.</li>
</ol>
<p class='note'>A user agent implementing the User Timing API would need to include <code>"mark"</code> and
<code>"measure"</code> in <a data-cite="PERFORMANCE-TIMELINE-2#supportedentrytypes-attribute">
supportedEntryTypes</a>. This allows developers to detect support for User Timing.</p>
<section>
<h2>Convert a <var>mark</var> to a <var>timestamp</var></h2>
<p>To <dfn>convert a mark to a timestamp</dfn>, given a <var>mark</var> that is a <code>DOMString</code> or <code>DOMHighResTimeStamp</code> run these steps:
Expand Down

0 comments on commit 717dda0

Please sign in to comment.