<?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>22246</bug_id>
          
          <creation_ts>2013-06-03 15:02:37 +0000</creation_ts>
          <short_desc>media.buffered should have length 0</short_desc>
          <delta_ts>2013-08-27 08:56:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebRTC Working Group</product>
          <component>Media Capture and Streams</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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="Dominique Hazael-Massieux">dom</reporter>
          <assigned_to name="public-media-capture@w3.org">public-media-capture</assigned_to>
          <cc>harald</cc>
    
    <cc>public-media-capture</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88571</commentid>
    <comment_count>0</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2013-06-03 15:02:37 +0000</bug_when>
    <thetext>The HTML5 spec says:
&quot;The buffered attribute must return a new static normalized TimeRanges object that represents the ranges of the media resource, if any, that the user agent has buffered&quot;
http://www.w3.org/html/wg/drafts/html/CR/embedded-content-0.html#dom-media-buffered

This suggests to me that when no range have been buffered, no TimeRanges should be returned, and thus media.buffered should have zero length (and thus no need to define what .start() and .end() do on it)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92627</commentid>
    <comment_count>1</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2013-08-27 08:56:15 +0000</bug_when>
    <thetext>Resolved in 20130824 version of MediaCapture.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>