-
enne@google.com authored
Reviewed by Kenneth Russell. Add test cases for storing NaN in typed arrays. https://bugs.webkit.org/show_bug.cgi?id=46990 * fast/canvas/webgl/array-unit-tests-expected.txt: * fast/canvas/webgl/array-unit-tests.html: 2011-01-04 Adrienne Walker <enne@google.com> Reviewed by Kenneth Russell. NaN in a TypedArray should be converted to zero only for Float32Array. https://bugs.webkit.org/show_bug.cgi?id=46990 Test: LayoutTests/fast/canvas/webgl/array-unit-tests.html * bindings/js/JSArrayBufferViewHelper.h: (WebCore::convertArrayValue): (WebCore::constructArrayBufferView): * html/canvas/Float32Array.h: (WebCore::Float32Array::set): (WebCore::Float32Array::item): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
a6ff32f7