<?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>20759</bug_id>
          
          <creation_ts>2013-01-24 16:23:00 +0000</creation_ts>
          <short_desc>append with zero length data changes readyState but does not fire events</short_desc>
          <delta_ts>2013-01-30 21:17:13 +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>https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#widl-SourceBuffer-appendArrayBuffer-void-ArrayBuffer-data</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="Adrian Bateman [MSFT]">adrianba</reporter>
          <assigned_to name="Aaron Colwell (c)">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>82089</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Bateman [MSFT]">adrianba</who>
    <bug_when>2013-01-24 16:23:00 +0000</bug_when>
    <thetext>Problem Description: during append operations, when the data size is “0” (for whatever reason or by mistake), the operation aborts so the app does not get feedback on the append operation.  The algorithm is aborted but not the operation, which would cause an abort event. The append with zero length should either throw or work as any other including firing all events. Doing half of the append is going to be hard to debug because the append will appear to succeed but no end event will fire.

Proposed Change: delete step-6 in the appendStream and the appendArrayBuffer operations (in Section 4.2). This means the regular append events will fire even though no data is added.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82355</commentid>
    <comment_count>1</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2013-01-30 21:17:13 +0000</bug_when>
    <thetext>Changes committed
https://dvcs.w3.org/hg/html-media/rev/aae26333e7d1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>