<?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>20434</bug_id>
          
          <creation_ts>2012-12-18 15:32:39 +0000</creation_ts>
          <short_desc>append(ArrayBuffer) should allow asynchronous processing</short_desc>
          <delta_ts>2013-01-20 16:19:53 +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>All</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>critical</bug_severity>
          <target_milestone>FPWD</target_milestone>
          
          <blocked>18962</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrian Bateman [MSFT]">adrianba</reporter>
          <assigned_to name="Aaron Colwell (c)">acolwell</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>80359</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Bateman [MSFT]">adrianba</who>
    <bug_when>2012-12-18 15:32:39 +0000</bug_when>
    <thetext>The work to process data from an append() might be lengthy given the segment parser algorithm and implementations might need to use I/O for buffering.

The append() algorithm should be modified to allow this work to be done asynchronously. This would make append(Stream) follow the same model. Only one pending append() should be allowed. appendcomplete or appenderror events should be fired when complete.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80839</commentid>
    <comment_count>1</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2013-01-02 16:47:57 +0000</bug_when>
    <thetext>I&apos;ll start updating the spec to make append() async.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80899</commentid>
    <comment_count>2</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2013-01-04 19:19:06 +0000</bug_when>
    <thetext>Changes committed
http://dvcs.w3.org/hg/html-media/rev/52a85235137b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81607</commentid>
    <comment_count>3</comment_count>
    <who name="Cyril Concolato">cyril.concolato</who>
    <bug_when>2013-01-20 16:19:53 +0000</bug_when>
    <thetext>It seems to me to add a lot of overhead for simple cases: adding a listener and processing events at each append. Maybe adding a appendSync method should be kept too or adding the possibility to queue appends should be considered.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>