Fix gl.getShaderSource and gl.getShaderInfoLog

It only returns null if there was an error, and the only error isn't
implemented yet.
This commit is contained in:
Anthony Ramine 2018-07-07 21:52:10 +02:00
parent 0e93f06d8d
commit 6996d1ce36
3 changed files with 13 additions and 29 deletions

View file

@ -1,14 +0,0 @@
[functions-returning-strings.html]
type: testharness
[WebGL test #0: gl.getShaderSource(vs) should return a string. Returns: "null"]
expected: FAIL
[WebGL test #1: gl.getShaderInfoLog(vs) should return a string. Returns: "null"]
expected: FAIL
[WebGL test #4: gl.getShaderSource(fs) should return a string. Returns: "null"]
expected: FAIL
[WebGL test #5: gl.getShaderInfoLog(fs) should return a string. Returns: "null"]
expected: FAIL