<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>21911</bug_id>
          
          <creation_ts>2013-05-02 18:06:04 +0000</creation_ts>
          <short_desc>MediaPlaybackQuality.creationDate should be a DOMHighResTimeStamp</short_desc>
          <delta_ts>2013-05-14 10:26:17 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>Media Source Extensions</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrew Scherkus">scherkus</reporter>
          <assigned_to name="Adrian Bateman [MSFT]">adrianba</assigned_to>
          <cc>acolwell</cc>
    
    <cc>cyril.concolato</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-media</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>87184</commentid>
    <comment_count>0</comment_count>
    <who name="Andrew Scherkus">scherkus</who>
    <bug_when>2013-05-02 18:06:04 +0000</bug_when>
    <thetext>Date() is suspect to changes in system clock and/or clock skew. The High Resolution Time spec [1] provides a monotonically increasing, sub-millisecond API as well as new type DOMHighResTimeStamp (which is really just a double).

Given the performance-y nature of these stats, perhaps creationDate can be similar to window.performance.now() in that it&apos;s a time value measured relative to navigationStart [2].

[1] http://www.w3.org/TR/hr-time/
[2] https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/NavigationTiming/Overview.html#dom-performancetiming-navigationstart</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87186</commentid>
    <comment_count>1</comment_count>
    <who name="Aaron Colwell">acolwell</who>
    <bug_when>2013-05-02 21:16:03 +0000</bug_when>
    <thetext>This seems reasonable to me.

Adrian: Do you have any reason to prefer Date() over DOMHighResTimeStamp?

If we change the type here then we should probably rename the attribute to creationTime.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87273</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Bateman [MSFT]">adrianba</who>
    <bug_when>2013-05-06 17:34:11 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Adrian: Do you have any reason to prefer Date() over DOMHighResTimeStamp?

I&apos;m fine with the change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87289</commentid>
    <comment_count>3</comment_count>
    <who name="Aaron Colwell">acolwell</who>
    <bug_when>2013-05-06 21:59:20 +0000</bug_when>
    <thetext>Changes committed.
https://dvcs.w3.org/hg/html-media/rev/9ff5e42736b6</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>