Closed Bug 1156980 Opened 9 years ago Closed 9 years ago

"Assertion failure: IsValueLegal(mValue)" passing bogus target GLenum to texSubImage2D

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: jruderman, Assigned: u480271)

References

Details

(Keywords: assertion, testcase)

Attachments

(3 files)

Attached file testcase
Assertion failure: IsValueLegal(mValue), dom/canvas/WebGLStrongTypes.h:140

This assertion was added as part of https://hg.mozilla.org/mozilla-central/rev/f7dcea476fca (bug 1071339)

Should this bogus value have been caught at the WebIDL layer?
Attached file stack
Assignee: nobody → dglastonbury
I'm not really happy that GLenum is implicitly cast to StrongType. It's hiding a bug instead of finding them for us.
Attachment #8596380 - Flags: review?(jgilbert) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/20de9d756c9b
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.