Closed Bug 989575 Opened 11 years ago Closed 11 years ago

Drawing with a null-program should generate INVALID_OPERATION

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: jgilbert, Assigned: jgilbert)

References

Details

Attachments

(3 files)

Chrome does this, and it's the sensible thing to do. However, GLES2 specs that this is undefined, and the WebGL spec doesn't modify this. I just submitted a PR that should change this, though.
Attached file testcase
Doing the test first. Patch shortly.
Attachment #8398870 - Flags: review?(dglastonbury)
Attached patch pach 1: Fix itSplinter Review
Attachment #8398871 - Flags: review?(dglastonbury)
Tested locally.
Attachment #8398871 - Flags: review?(dglastonbury) → review+
Attachment #8398870 - Flags: review?(dglastonbury) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: