Verify texImage2D and texSubImage2D code paths taking webgl canvas elements (R8UI/RED_INTEGER/UNSIGNED_BYTE)

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

Testing texImage2D with alpha=true flipY=true source object: canvas bindingTarget=TEXTURE_2D canvas size: 1x2 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking top
FAIL shouldBe 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
Checking bottom
PASS shouldBe 0,0,0
Testing texImage2D with alpha=true flipY=false source object: canvas bindingTarget=TEXTURE_2D canvas size: 1x2 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking bottom
FAIL shouldBe 255,0,0,255 at (0, 16) expected: 255,0,0,255 was 0,0,0,0
Checking top
PASS shouldBe 0,0,0
Testing texSubImage2D with alpha=true flipY=true source object: canvas bindingTarget=TEXTURE_2D canvas size: 1x2 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking top
FAIL shouldBe 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
Checking bottom
PASS shouldBe 0,0,0
Testing texSubImage2D with alpha=true flipY=false source object: canvas bindingTarget=TEXTURE_2D canvas size: 1x2 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking bottom
FAIL shouldBe 255,0,0,255 at (0, 16) expected: 255,0,0,255 was 0,0,0,0
Checking top
PASS shouldBe 0,0,0
Testing texImage2D with alpha=true flipY=true source object: canvas bindingTarget=TEXTURE_2D canvas size: 257x257 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking top
FAIL shouldBe 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
Checking bottom
PASS shouldBe 0,0,0
Testing texImage2D with alpha=true flipY=false source object: canvas bindingTarget=TEXTURE_2D canvas size: 257x257 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking bottom
FAIL shouldBe 255,0,0,255 at (0, 16) expected: 255,0,0,255 was 0,0,0,0
Checking top
PASS shouldBe 0,0,0
Testing texSubImage2D with alpha=true flipY=true source object: canvas bindingTarget=TEXTURE_2D canvas size: 257x257 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking top
FAIL shouldBe 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
Checking bottom
PASS shouldBe 0,0,0
Testing texSubImage2D with alpha=true flipY=false source object: canvas bindingTarget=TEXTURE_2D canvas size: 257x257 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking bottom
FAIL shouldBe 255,0,0,255 at (0, 16) expected: 255,0,0,255 was 0,0,0,0
Checking top
PASS shouldBe 0,0,0
Testing texImage2D with alpha=true flipY=true source object: canvas attached to DOM bindingTarget=TEXTURE_2D canvas size: 1x2 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking top
FAIL shouldBe 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
Checking bottom
PASS shouldBe 0,0,0
Testing texImage2D with alpha=true flipY=false source object: canvas attached to DOM bindingTarget=TEXTURE_2D canvas size: 1x2 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking bottom
FAIL shouldBe 255,0,0,255 at (0, 16) expected: 255,0,0,255 was 0,0,0,0
Checking top
PASS shouldBe 0,0,0
Testing texSubImage2D with alpha=true flipY=true source object: canvas attached to DOM bindingTarget=TEXTURE_2D canvas size: 1x2 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking top
FAIL shouldBe 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
Checking bottom
PASS shouldBe 0,0,0
Testing texSubImage2D with alpha=true flipY=false source object: canvas attached to DOM bindingTarget=TEXTURE_2D canvas size: 1x2 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking bottom
FAIL shouldBe 255,0,0,255 at (0, 16) expected: 255,0,0,255 was 0,0,0,0
Checking top
PASS shouldBe 0,0,0
Testing texImage2D with alpha=true flipY=true source object: OffscreenCanvas bindingTarget=TEXTURE_2D canvas size: 1x2 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking top
FAIL shouldBe 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
Checking bottom
PASS shouldBe 0,0,0
Testing texImage2D with alpha=true flipY=false source object: OffscreenCanvas bindingTarget=TEXTURE_2D canvas size: 1x2 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking bottom
FAIL shouldBe 255,0,0,255 at (0, 16) expected: 255,0,0,255 was 0,0,0,0
Checking top
PASS shouldBe 0,0,0
Testing texSubImage2D with alpha=true flipY=true source object: OffscreenCanvas bindingTarget=TEXTURE_2D canvas size: 1x2 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking top
FAIL shouldBe 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
Checking bottom
PASS shouldBe 0,0,0
Testing texSubImage2D with alpha=true flipY=false source object: OffscreenCanvas bindingTarget=TEXTURE_2D canvas size: 1x2 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking bottom
FAIL shouldBe 255,0,0,255 at (0, 16) expected: 255,0,0,255 was 0,0,0,0
Checking top
PASS shouldBe 0,0,0
Testing texImage2D with alpha=true flipY=true source object: canvas bindingTarget=TEXTURE_CUBE_MAP canvas size: 2x2 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking top
FAIL shouldBe 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
Checking bottom
PASS shouldBe 0,0,0
Checking top
FAIL shouldBe 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
Checking bottom
PASS shouldBe 0,0,0
Checking top
FAIL shouldBe 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
Checking bottom
PASS shouldBe 0,0,0
Checking top
FAIL shouldBe 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
Checking bottom
PASS shouldBe 0,0,0
Checking top
FAIL shouldBe 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
Checking bottom
PASS shouldBe 0,0,0
Checking top
FAIL shouldBe 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
Checking bottom
PASS shouldBe 0,0,0
Testing texImage2D with alpha=true flipY=false source object: canvas bindingTarget=TEXTURE_CUBE_MAP canvas size: 2x2 with red-green
PASS getError was expected value: NO_ERROR : should be no errors before pixelStorei setup
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_FLIP_Y_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_PREMULTIPLY_ALPHA_WEBGL
PASS getError was expected value: NO_ERROR : should be no errors after setting UNPACK_COLORSPACE_CONVERSION_WEBGL
Checking bottom
FAIL shouldBe 255,0,0,255 at (0, 16) expected: 255,0,0,255 was 0,0,0,0
Checking top
PASS shouldBe 0,0,0
Checking bottom
FAIL shouldBe 255,0,0,255 at (0, 16) expected: 255,0,0,255 was 0,0,0,0
Checking top
PASS shouldBe 0,0,0
Checking bottom
FAIL shouldBe 255,0,0,255 at (0, 16) expected: 255,0,0,255 was 0,0,0,0
Checking top
PASS shouldBe 0,0,0
Checking bottom
FAIL shouldBe 255,0,0,255 at (0, 16) expected: 255,0,0,255 was 0,0,0,0
Checking top
PASS shouldBe 0,0,0
Checking bottom
FAIL shouldBe 255,0,0,255 at (0, 16) expected: 255,0,0,255 was 0,0,0,0
Checking top
PASS shouldBe 0,0,0
Checking bottom
FAIL shouldBe 255,0,0,255 at (0, 16) expected: 255,0,0,255 was 0,0,0,0
Checking top
PASS shouldBe 0,0,0