Changeset 53009 in webkit
- Timestamp:
- Jan 8, 2010 2:29:55 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r53006 r53009 1 2010-01-08 Kenneth Russell <kbr@google.com> 2 3 Reviewed by Dimitri Glazkov. 4 5 WebGLArray subclasses do the wrong conversion in indexSetter 6 https://bugs.webkit.org/show_bug.cgi?id=33350 7 8 * fast/canvas/webgl/array-setters-expected.txt: Added. 9 * fast/canvas/webgl/array-setters.html: Added. 10 * fast/canvas/webgl/array-unit-tests-expected.txt: 11 * fast/canvas/webgl/array-unit-tests.html: 12 1 13 2010-01-08 Ojan Vafai <ojan@chromium.org> 2 14 -
trunk/LayoutTests/fast/canvas/webgl/array-unit-tests-expected.txt
r51049 r53009 24 24 PASS test WebGLFloatArray Slice 25 25 PASS negativeTest WebGLFloatArray Slice 26 PASS test WebGLFloatArray BoundaryConditions(-500 , -500, 500, 500)26 PASS test WebGLFloatArray BoundaryConditions(-500.5, -500.5, 500.5, 500.5) 27 27 PASS test WebGLIntArray SetAndGetPos10ToNeg10 28 28 PASS test WebGLIntArray SetAndGetMethodsPos10ToNeg10 -
trunk/LayoutTests/fast/canvas/webgl/array-unit-tests.html
r52058 r53009 367 367 unsigned: false, 368 368 elementSizeInBytes: 4, 369 low: -500 ,370 expectedLow: -500 ,371 high: 500 ,372 expectedHigh: 500 },369 low: -500.5, 370 expectedLow: -500.5, 371 high: 500.5, 372 expectedHigh: 500.5}, 373 373 {name: "WebGLIntArray", 374 374 unsigned: false, -
trunk/WebCore/ChangeLog
r53005 r53009 1 2010-01-08 Kenneth Russell <kbr@google.com> 2 3 Reviewed by Dimitri Glazkov. 4 5 WebGLArray subclasses do the wrong conversion in indexSetter 6 https://bugs.webkit.org/show_bug.cgi?id=33350 7 8 Test: fast/canvas/webgl/array-setters.html 9 10 * bindings/js/JSWebGLFloatArrayCustom.cpp: 11 (WebCore::JSWebGLFloatArray::indexSetter): 12 * bindings/js/JSWebGLUnsignedIntArrayCustom.cpp: 13 (WebCore::JSWebGLUnsignedIntArray::indexSetter): 14 1 15 2010-01-08 Luiz Agostini <luiz.agostini@openbossa.org> 2 16 -
trunk/WebCore/bindings/js/JSWebGLFloatArrayCustom.cpp
r52058 r53009 39 39 void JSWebGLFloatArray::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value) 40 40 { 41 impl()->set(index, static_cast<float>(value.to Int32(exec)));41 impl()->set(index, static_cast<float>(value.toNumber(exec))); 42 42 } 43 43 -
trunk/WebCore/bindings/js/JSWebGLUnsignedIntArrayCustom.cpp
r52058 r53009 39 39 void JSWebGLUnsignedIntArray::indexSetter(JSC::ExecState* exec, unsigned index, JSC::JSValue value) 40 40 { 41 impl()->set(index, static_cast<unsigned int>(value.to Int32(exec)));41 impl()->set(index, static_cast<unsigned int>(value.toUInt32(exec))); 42 42 } 43 43
Note: See TracChangeset
for help on using the changeset viewer.