Bug 85528 - Conformance test conformance/buffers/index-validation.html failing
Summary: Conformance test conformance/buffers/index-validation.html failing
Status: RESOLVED DUPLICATE of bug 85117
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-03 11:56 PDT by Kenneth Russell
Modified: 2012-05-08 15:38 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***