[Bug 21240] Specify what should happen when passing invalid offset/duration values to AudioBufferSourceNode.start

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

Robert O'Callahan (Mozilla) <roc@ocallahan.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roc@ocallahan.org

--- Comment #2 from Robert O'Callahan (Mozilla) <roc@ocallahan.org> ---
I don't think throwing an exception is necessary here.

I don't like the behavior of just ignoring the offset if it's >= the length of
the buffer. That creates a discontinuity as the offset increases from before
the buffer end to after it.

If compatibility issues don't trump, then I suggest first clamping the offset
to [0, length], then adding the duration to find the endpoint and clamping the
endpoint.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 10 March 2013 21:26:15 UTC