[Public WebGL] Differing TypedArray#set behavior

Stéphan Kochen [email protected]
Thu Apr 12 01:57:26 PDT 2012


While implementing TypedArrays, I came across a specific situation
that seems to be missed by the conformance tests. Here's a test:

  https://github.com/stephank/node-arrays/blob/master/test/typed-array-copy.js

This does a copy using `TypedArray#set` between two TypedArrays of
different types, but with the same backing store and overlapping
regions.

The test passes on Firefox, but fails on Chrome, Safari, Opera and Node.js.

Is the Firefox behavior the correct one here?

-- 
Stéphan Kochen
Two Screen, Angry Bytes

-----------------------------------------------------------
You are currently subscribed to [email protected]
To unsubscribe, send an email to [email protected] with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------





More information about the public_webgl mailing list