[Bug 21159] SourceBuffer appendArrayBuffer should take ArrayBufferView

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

--- Comment #3 from Aaron Colwell <acolwell@chromium.org> ---
(In reply to comment #2)
> I think the method can be overloaded to accept either an ArrayBuffer or
> ArrayBufferView. This is what we've done elsewhere in the platform.
> 
> I'm not precious about the naming but prefer to settle on something sooner
> rather than later if we're going to make a change.

Ok. How about we just call it appendBuffer() and I'll add the 2 overloads.

void appendBuffer(ArrayBuffer)
void appendBuffer(ArrayBufferView)

That way if we come across some other buffer type we need to add, we can just
add the extra overload w/o changing the method name.

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

Received on Monday, 4 March 2013 20:04:56 UTC