[Bug 23369] Provide hooks for Typed Arrays

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

--- Comment #5 from Boris Zbarsky <bzbarsky@mit.edu> ---
For what it's worth, SpiderMonkey internally uses ArrayBufferView to mean "any
typed array or DataView" (which is what ArrayBufferView actually used to mean).
 Basically anything with a .buffer on it.

That's more or less what your ByteSequence ends up being, modulo the
ArrayBuffer bit, but I think the ArrayBufferView terminology actually makes
sense for "any object which provides a view of an ArrayBuffer".

I would be fine with having ArrayBufferView as a primitive IDL type defined as
above, to simplify things for spec authors, even though it's not an interface
type...  The only problem is defining distinguishability: typed array types are
distinguishable from each other and from DataView, but ArrayBufferView is not
distinguishable from typed array types and DataView).

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

Received on Thursday, 26 September 2013 18:17:34 UTC