Closed
Bug 727590
Opened 13 years ago
Closed 13 years ago
uniformMatrix*fv handles its transpose argument incorrectly
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: Ms2ger, Assigned: Ms2ger)
Details
Attachments
(1 file)
1.82 KB,
patch
|
bjacob
:
review+
|
Details | Diff | Splinter Review |
The argument should be converted to a boolean, but it is converted to an int32_t. This is observable from script by passing
{ valueOf: function() { throw "Error"; } }
This should simply be treated as true, but currently will (I believe) propagate the exception back to user code.
This should be tested in the conformance test suite, but I have no idea how to write a good test for this stuff. Benoit, could you perhaps have a look?
Attachment #597539 -
Flags: review?(bjacob)
Updated•13 years ago
|
Attachment #597539 -
Flags: review?(bjacob) → review+
Comment 1•13 years ago
|
||
Blocking webgl-needed-tests so I can't forget about this.
Blocks: webgl-needed-tests
Assignee | ||
Comment 2•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Keywords: dev-doc-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
Updated•13 years ago
|
No longer blocks: webgl-needed-tests
Whiteboard: webgl-test-needed
Comment 3•13 years ago
|
||
Added a test for all WebGL functions taking boolean arguments:
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/misc/boolean-argument-conversion.html
Whiteboard: webgl-test-needed
Updated•9 years ago
|
Keywords: dev-doc-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•