blob: 685dd70c34f63f4b33b7cd85e4de0ac521ee0f83 [file] [log] [blame]
This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
Test: ../../../resources/webgl_test_files/deqp/functional/gles3/negativestateapi.html
[ 1: PASS ] state.enable: Passed
[ 2: PASS ] state.disable: Passed
[ 3: PASS ] state.get_parameter: Passed
[ 4: FAIL ] state.get_indexed_parameter: Expected gl.INVALID_VALUE, but got gl.INVALID_ENUM.
[ 5: FAIL ] state.get_attached_shaders: should have thrown exception
[ 6: FAIL ] state.get_shader_parameter: Expected gl.INVALID_ENUM, but got gl.INVALID_VALUE.
[ 7: FAIL ] state.get_shader_info_log: should have thrown exception
[ 8: FAIL ] state.get_shader_precision_format: Expected gl.INVALID_ENUM, but got gl.INVALID_VALUE.
[ 9: FAIL ] state.get_shader_source: should have thrown exception
[ 10: FAIL ] state.get_program_parameter: Expected gl.INVALID_ENUM, but got gl.INVALID_VALUE.
[ 11: FAIL ] state.get_program_info_log: should have thrown exception
[ 12: FAIL ] state.get_tex_parameter: Expected gl.INVALID_ENUM, but got gl.INVALID_VALUE.
[ 13: FAIL ] state.get_uniform: should have thrown exception
[ 14: FAIL ] state.get_active_uniform: gl.createProgram()
[ 15: PASS ] state.get_active_uniforms: Passed
[ 16: FAIL ] state.get_active_uniform_block_parameter: Expected gl.NO_ERROR, but got gl.INVALID_ENUM.
[ 17: FAIL ] state.get_active_uniform_block_name: Expected gl.NO_ERROR, but got gl.INVALID_ENUM.
[ 18: FAIL ] state.get_active_attrib: should have thrown exception
[ 19: FAIL ] state.get_uniform_indices: Expected gl.NO_ERROR, but got gl.INVALID_ENUM.
[ 20: PASS ] state.get_vertex_attrib: Passed
[ 21: PASS ] state.get_vertex_attrib_offset: Passed
[ 22: FAIL ] state.get_frag_data_location: Expected gl.INVALID_OPERATION, but got gl.NO_ERROR.
[ 23: PASS ] state.get_buffer_parameter: Passed
[ 24: FAIL ] state.get_framebuffer_attachment_parameter: Expected gl.INVALID_ENUM, but got gl.NO_ERROR.
[ 25: PASS ] state.get_renderbuffer_parameter: Passed
[ 26: PASS ] state.get_internalformat_parameter: Passed
[ 27: FAIL ] state.get_query: Expected gl.INVALID_ENUM, but got gl.NO_ERROR.
[ 28: FAIL ] state.get_query_parameter: Argument 1 ('query') to WebGL2RenderingContext.getQueryParameter must be an instance of WebGLQuery
[ 29: FAIL ] state.get_sync_parameter: Argument 1 ('sync') to WebGL2RenderingContext.getSyncParameter must be an instance of WebGLSync
[ 30: PASS ] state.is_enabled: Passed
[ 31: PASS ] state.is_buffer: Passed
[ 32: PASS ] state.is_framebuffer: Passed
[ 33: PASS ] state.is_program: Passed
[ 34: PASS ] state.is_renderbuffer: Passed
[ 35: PASS ] state.is_shader: Passed
[ 36: PASS ] state.is_texture: Passed
[ 37: FAIL ] state.is_query: Argument 2 ('query') to WebGL2RenderingContext.beginQuery must be an instance of WebGLQuery
[ 38: FAIL ] state.is_sampler: Got invalid boolean value
[ 39: FAIL ] state.is_sync: Got invalid boolean value
[ 40: FAIL ] state.is_transform_feedback: Got invalid boolean value
[ 41: PASS ] state.is_vertex_array: Passed
[ 42: PASS ] state.is_vertex_array: successfullyParsed is true
[ FAIL ] 24 failures reported