<?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>17139</bug_id>
          
          <creation_ts>2012-05-21 14:44:05 +0000</creation_ts>
          <short_desc>Consider making the argument optional for start() and end(). Many tutorials omit the argument, and think it means start of first range for start() and end of last range for end(). Maybe we should just make the API do what people expect.</short_desc>
          <delta_ts>2012-10-12 18:26:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#time-ranges</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>67967</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-05-21 14:44:05 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html
Multipage: http://www.whatwg.org/C#time-ranges
Complete: http://www.whatwg.org/c#time-ranges

Comment:
Consider making the argument optional for start() and end(). Many tutorials
omit the argument, and think it means start of first range for start() and end
of last range for end(). Maybe we should just make the API do what people
expect.

Posted from: 85.227.154.145 by simonp@opera.com
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.3; U; en) Presto/2.10.229 Version/11.64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70819</commentid>
    <comment_count>1</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 17:33:01 +0000</bug_when>
    <thetext>This bug was cloned to create bug 18176 as part of operation convergence.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71496</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-07-26 07:20:38 +0000</bug_when>
    <thetext>Wouldn&apos;t that just lead to scripts that fail badly when user agents support disjoint ranges?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72110</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-08-13 08:55:53 +0000</bug_when>
    <thetext>I don&apos;t see how it would fail badly. Please elaborate?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75237</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-10-03 16:47:55 +0000</bug_when>
    <thetext>Well e.g. consider a case with seekable ranges 0..5, 10..15. The script wants to know if it can seek to 7. It checks the range without passing the arguments, and get 0..15. So it tries to seek to 7. But that won&apos;t work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75295</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-10-04 07:11:15 +0000</bug_when>
    <thetext>If you have discontinuous ranges, that means the server supports Range requests, so you can seek to 7.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76144</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-10-12 18:26:02 +0000</bug_when>
    <thetext>You&apos;re talking about .buffered ranges, I&apos;m talking about .seekable ranges.

But .buffered ranges have the same problem. Suppose the page has detected that the user has gone offline (onoffline). Same ranges as above, but on .buffered instead of .seekable. Now if the page assumes it&apos;s one range, and yet seeks to the middle, it&apos;ll fail unexpectedly.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>