<?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>22115</bug_id>
          
          <creation_ts>2013-05-21 11:07:44 +0000</creation_ts>
          <short_desc>Consistency in loop processing</short_desc>
          <delta_ts>2013-06-05 17:23:44 +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>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>PRE_LAST_CALL</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cyril Concolato">cyril.concolato</reporter>
          <assigned_to name="Aaron Colwell">acolwell</assigned_to>
          <cc>acolwell</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>87984</commentid>
    <comment_count>0</comment_count>
    <who name="Cyril Concolato">cyril.concolato</who>
    <bug_when>2013-05-21 11:07:44 +0000</bug_when>
    <thetext>In section 3.2, in step 3.1 of the abort method, the spec says:
&quot;Abort the segment parser loop, buffer append , and stream append loop algorithms if they are running.&quot;

In section 2.2, in step 3.1 of the removeSourceBuffer method, the spec says:
&quot;Abort the stream append loop algorithm if it is running.&quot;

In Section 3.5.3, in Append Error, the spec says:
&quot;Abort the stream append loop algorithm if it is running.&quot;

I think these three texts should be aligned. In particular, the &quot;segment parser loop&quot; algorithm can be called only by the &quot;Buffer Append Algorithm&quot; or the &quot;Stream Append Loop&quot;. So aborting the buffer append and stream append loop should suffice (in 3.2.3.1). Then, the removeSourceBuffer should also abort an appendBuffer operation (if any).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88143</commentid>
    <comment_count>1</comment_count>
    <who name="Aaron Colwell">acolwell</who>
    <bug_when>2013-05-23 18:30:59 +0000</bug_when>
    <thetext>Marking all pre-Last Call bugs</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88750</commentid>
    <comment_count>2</comment_count>
    <who name="Aaron Colwell">acolwell</who>
    <bug_when>2013-06-05 17:23:44 +0000</bug_when>
    <thetext>Changes committed
https://dvcs.w3.org/hg/html-media/rev/63675668846c</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>