W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

[Bug 23369] Provide hooks for Typed Arrays

From: <bugzilla@jessica.w3.org>
Date: Thu, 26 Sep 2013 18:17:32 +0000
To: public-script-coord@w3.org
Message-ID: <bug-23369-3890-v4AsFoYiT5@http.www.w3.org/Bugs/Public/>

--- 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:18 UTC