[Bug 20759] New: append with zero length data changes readyState but does not fire events

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20759

            Bug ID: 20759
           Summary: append with zero length data changes readyState but
                    does not fire events
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Source Extensions
          Assignee: adrianba@microsoft.com
          Reporter: adrianba@microsoft.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Thursday, 24 January 2013 16:23:14 UTC