Bug 85528

Summary: Conformance test conformance/buffers/index-validation.html failing
Product: WebKit Reporter: Kenneth Russell <kbr>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: dino, kbr, oliver, twiz, zmo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Kenneth Russell 2012-05-03 11:56:56 PDT
After discussion on the public_webgl mailing list, the WebGL spec and conformance test conformance/buffers/index-validation.html was just updated to require that an INVALID_VALUE error be generated when a large negative offset is passed to vertexAttribPointer. The test is now failing on all WebKit ports because the IDL does not correctly describe the argument as a signed 64-bit quantity, so it is being truncated to 32 bits and considered as a signed, in-range value.

I haven't yet found an example in the IDL which passes a 64-bit integer from JavaScript to C++ (understanding fully that JavaScript's numbers can only describe integer values between -(2^53 - 1) and (2^53 - 1)). The code generators will probably need to be enhanced to support this.
Comment 1 Kenneth Russell 2012-05-08 15:38:49 PDT
I accidentally filed this one twice. Closing as duplicate.

*** This bug has been marked as a duplicate of bug 85117 ***