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

RESOLVED WORKSFORME

Status

()

Core
Canvas: WebGL
RESOLVED WORKSFORME
3 years ago
2 years ago

People

(Reporter: James Hicks, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
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

Comment 1

2 years ago
Closing this issue - no longer reproducible.

Updated

2 years ago
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.