Closed Bug 1114744 Opened 10 years ago Closed 8 years ago

Some WebGL functions return the empty string instead of null on error

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jhicks, Unassigned)

Details

WebGL conformance tests were recently updated with https://github.com/KhronosGroup/WebGL/pull/803 to reflect that getProgramInfoLog, getShaderInfoLog, and getShaderSource should return null on failure, not the empty string. The WebGL implementation needs to be updated to pass the new test:

https://www.khronos.org/registry/webgl/conformance-suites/1.0.1/conformance/misc/bad-arguments-test.html
Closing this issue - no longer reproducible.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.