Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
PasscompressedTexSubImage2D
Asserts run
Pass
assert_true(true, "Should be able to get a context.")
    at getGl ( /webgl/common.js:4:3)
PassCalling function() { gl.compressedTexSubImage2D(gl.TEXTURE_2D, 0, 0, 0, 10, 10, COMPRESSED_RGB_S3TC_DXT1_EXT, new Uint8Array(8)); } should generate a 1280 error.
Asserts run
Pass
assert_equals(1280, 1280)
    at Test.<anonymous> ( /webgl/common.js:11:5)
PassCalling function() { gl.compressedTexSubImage2D(gl.TEXTURE_2D, 0, 0, 0, 10, 10, COMPRESSED_RGB_S3TC_DXT1_EXT, new Uint8Array(8), null); } should generate a 1280 error.
Asserts run
Pass
assert_equals(1280, 1280)
    at Test.<anonymous> ( /webgl/common.js:11:5)
PassShould throw a TypeError when passing too few arguments.
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {       gl.compressedTexSubImage2D(gl.TEXTURE_2D, 0, 0, 0, 10, 10, COMPRESSED_RGB_S3TC_DXT1_EXT);     }")
    at Test.<anonymous> ( /webgl/compressedTexSubImage2D.html:25:5)