Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 575017 of DOMHighResTimeStamp

  • Revision slug: Web/API/DOMHighResTimeStamp
  • Revision title: DOMHighResTimeStamp
  • Revision id: 575017
  • Created:
  • Creator: MattBrubeck
  • Is current revision? No
  • Comment minor corrections and spelling fixes

Revision Content

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

Implementations that cannot get the required precision (for example, if the underlying system doesn't support it) are allowed to only be accurate to one 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 thousandth of millisecond, that is with a precision of 1 µs.</p>
<div class="note">
 <p>Implementations that cannot get the required precision (for example, if the underlying system doesn't support it) are allowed to only be accurate to one 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