Revision 460027 of DOMHighResTimeStamp

  • Revision slug: Web/API/DOMHighResTimeStamp
  • Revision title: DOMHighResTimeStamp
  • Revision id: 460027
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment

Revision Content

The DOMHighResTimeStamp type is a double representing a number of milliseconds, accurate to the thousands of millisecond, that is with a precision of 10 µs.

Implementation that cannot get the required precision, like when the underlying system doesn't support it, are allowed to only be accurate to the millisecond.

Properties

No specific property.

Methods

No specific method.

Specifications

Specification Status Comment
{{SpecName('Highres Time', '#sec-DOMHighResTimeStamp', 'DOMHighResTimeStamp')}} {{Spec2('Highres Time')}} Initial definition.

Browser compatibility

{{CompatibilityTable}}
Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 6 {{CompatGeckoDesktop("7.0")}} 9 15.0 {{CompatNo}}
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support {{CompatVersionUnknown}} {{CompatGeckoMobile("15.0")}} 9 15.0 {{CompatNo}}

See also

Revision Source

<p>The <code><strong>DOMHighResTimeStamp</strong></code> type is a <code>double</code> representing a number of milliseconds, accurate to the thousands of millisecond, that is with a precision of 10 µs.</p>
<div class="note">
  <p>Implementation that cannot get the required precision, like when the underlying system doesn't support it, are allowed to only be accurate to the millisecond.</p>
</div>
<h2 id="Properties">Properties</h2>
<p><em>No specific property.</em></p>
<h2 id="Methods">Methods</h2>
<p><em>No specific method.</em></p>
<h2 id="Specifications" name="Specifications">Specifications</h2>
<table class="standard-table">
  <thead>
    <tr>
      <th scope="col">Specification</th>
      <th scope="col">Status</th>
      <th scope="col">Comment</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>{{SpecName('Highres Time', '#sec-DOMHighResTimeStamp', 'DOMHighResTimeStamp')}}</td>
      <td>{{Spec2('Highres Time')}}</td>
      <td>Initial definition.</td>
    </tr>
  </tbody>
</table>
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
<div>
  {{CompatibilityTable}}</div>
<div id="compat-desktop">
  <table class="compat-table">
    <tbody>
      <tr>
        <th>Feature</th>
        <th>Chrome</th>
        <th>Firefox (Gecko)</th>
        <th>Internet Explorer</th>
        <th>Opera</th>
        <th>Safari (WebKit)</th>
      </tr>
      <tr>
        <td>Basic support</td>
        <td>6</td>
        <td>{{CompatGeckoDesktop("7.0")}}</td>
        <td>9</td>
        <td>15.0</td>
        <td>{{CompatNo}}</td>
      </tr>
    </tbody>
  </table>
</div>
<div id="compat-mobile">
  <table class="compat-table">
    <tbody>
      <tr>
        <th>Feature</th>
        <th>Android</th>
        <th>Firefox Mobile (Gecko)</th>
        <th>IE Phone</th>
        <th>Opera Mobile</th>
        <th>Safari Mobile</th>
      </tr>
      <tr>
        <td>Basic support</td>
        <td>{{CompatVersionUnknown}}</td>
        <td>{{CompatGeckoMobile("15.0")}}</td>
        <td>9</td>
        <td>15.0</td>
        <td>{{CompatNo}}</td>
      </tr>
    </tbody>
  </table>
</div>
<h2 id="See_also">See also</h2>
<ul>
  <li><a href="/en-US/docs/Navigation_timing" title="/en-US/docs/Navigation_timing">Navigation Timing API</a></li>
</ul>
Revert to this revision