Bugzilla – Bug 20759
append with zero length data changes readyState but does not fire events
Last modified: 2013-01-30 21:17:13 UTC
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.