[Bug 23369] Provide hooks for Typed Arrays

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

--- Comment #8 from Jonas Sicking <jonas@sicking.cc> ---
I think it depends on what the API does with the passed in function.

For example in bug 23332 we want to do a binary sort of two "byte sequences".
In that case accepting two Float64Arrays, but then not comparing them
float-by-float feels very unintuitive. So either we should not accept
Float64Arrays, or we should compare them according as floats.

For something like WebSocket it seems more ok to accept a Float64Array and then
simply treat it as a binary blob since all we are doing is streaming it over
the wire. Likewise with something like a file-writing API as well as the Blob
constructor.

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

Received on Thursday, 26 September 2013 18:55:28 UTC