Adds failing WebGL Conformance Tests.
authorgman@chromium.org <gman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Feb 2013 01:35:18 +0000 (01:35 +0000)
committergman@chromium.org <gman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Feb 2013 01:35:18 +0000 (01:35 +0000)
https://bugs.webkit.org/show_bug.cgi?id=109075

Reviewed by Kenneth Russell.

* platform/chromium/TestExpectations:
* platform/mac/TestExpectations:
* platform/win/TestExpectations:
* webgl/conformance/canvas/buffer-offscreen-test-expected.txt: Added.
* webgl/conformance/canvas/buffer-offscreen-test.html: Added.
* webgl/conformance/canvas/buffer-preserve-test-expected.txt: Added.
* webgl/conformance/canvas/buffer-preserve-test.html: Added.
* webgl/conformance/canvas/drawingbuffer-test-expected.txt: Added.
* webgl/conformance/canvas/drawingbuffer-test.html: Added.
* webgl/conformance/canvas/to-data-url-test-expected.txt: Added.
* webgl/conformance/canvas/to-data-url-test.html: Added.
* webgl/conformance/context/context-attribute-preserve-drawing-buffer-expected.txt: Added.
* webgl/conformance/context/context-attribute-preserve-drawing-buffer.html: Added.
* webgl/conformance/context/context-creation-and-destruction-expected.txt: Added.
* webgl/conformance/context/context-creation-and-destruction.html: Added.
* webgl/conformance/glsl/functions/glsl-function-smoothstep-gentype-expected.txt: Added.
* webgl/conformance/glsl/functions/glsl-function-smoothstep-gentype.html: Added.
* webgl/conformance/glsl/literals/float_literal.vert-expected.txt: Added.
* webgl/conformance/glsl/literals/float_literal.vert.html: Added.
* webgl/conformance/glsl/misc/shader-uniform-packing-restrictions-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-uniform-packing-restrictions.html: Added.
* webgl/conformance/glsl/misc/shader-varying-packing-restrictions-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-varying-packing-restrictions.html: Added.
* webgl/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html: Added.
* webgl/conformance/glsl/misc/shader-with-global-variable-precision-mismatch-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html: Added.
* webgl/conformance/glsl/misc/shader-with-non-reserved-words-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-non-reserved-words.html: Added.
* webgl/conformance/glsl/misc/shader-with-short-circuiting-operators-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-short-circuiting-operators.html: Added.
* webgl/conformance/glsl/misc/shader-with-similar-uniform-array-names-expected.txt: Added.
* webgl/conformance/glsl/misc/shader-with-similar-uniform-array-names.html: Added.
* webgl/conformance/glsl/misc/shaders-with-varyings-expected.txt: Added.
* webgl/conformance/glsl/misc/shaders-with-varyings.html: Added.
* webgl/conformance/glsl/variables/gl-pointcoord-expected.txt: Added.
* webgl/conformance/glsl/variables/gl-pointcoord.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-A-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-A.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-B1-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-B1.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-B2-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-B2.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-B3-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-B3.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-B4-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-B4.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-C-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-C.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-D_G-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-D_G.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-G_I-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-G_I.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-L_S-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-L_S.html: Added.
* webgl/conformance/more/conformance/quickCheckAPI-S_V-expected.txt: Added.
* webgl/conformance/more/conformance/quickCheckAPI-S_V.html: Added.
* webgl/conformance/more/functions/bufferDataBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/bufferDataBadArgs.html: Added.
* webgl/conformance/more/functions/copyTexImage2D-expected.txt: Added.
* webgl/conformance/more/functions/copyTexImage2D.html: Added.
* webgl/conformance/more/functions/copyTexImage2DBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/copyTexImage2DBadArgs.html: Added.
* webgl/conformance/more/functions/copyTexSubImage2D-expected.txt: Added.
* webgl/conformance/more/functions/copyTexSubImage2D.html: Added.
* webgl/conformance/more/functions/copyTexSubImage2DBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/copyTexSubImage2DBadArgs.html: Added.
* webgl/conformance/more/functions/deleteBufferBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/deleteBufferBadArgs.html: Added.
* webgl/conformance/more/functions/drawArrays-expected.txt: Added.
* webgl/conformance/more/functions/drawArrays.html: Added.
* webgl/conformance/more/functions/drawArraysOutOfBounds-expected.txt: Added.
* webgl/conformance/more/functions/drawArraysOutOfBounds.html: Added.
* webgl/conformance/more/functions/drawElements-expected.txt: Added.
* webgl/conformance/more/functions/drawElements.html: Added.
* webgl/conformance/more/functions/drawElementsBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/drawElementsBadArgs.html: Added.
* webgl/conformance/more/functions/readPixelsBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/readPixelsBadArgs.html: Added.
* webgl/conformance/more/functions/texImage2DBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/texImage2DBadArgs.html: Added.
* webgl/conformance/more/functions/texImage2DHTML-expected.txt: Added.
* webgl/conformance/more/functions/texImage2DHTML.html: Added.
* webgl/conformance/more/functions/texSubImage2DBadArgs-expected.txt: Added.
* webgl/conformance/more/functions/texSubImage2DBadArgs.html: Added.
* webgl/conformance/more/functions/texSubImage2DHTML-expected.txt: Added.
* webgl/conformance/more/functions/texSubImage2DHTML.html: Added.
* webgl/conformance/ogles/GL/acos/acos_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/acos/acos_001_to_006.html: Added.
* webgl/conformance/ogles/GL/asin/asin_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/asin/asin_001_to_006.html: Added.
* webgl/conformance/ogles/GL/atan/atan_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/atan/atan_001_to_008.html: Added.
* webgl/conformance/ogles/GL/control_flow/control_flow_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/control_flow/control_flow_001_to_008.html: Added.
* webgl/conformance/ogles/GL/log/log_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/log/log_001_to_008.html: Added.
* webgl/conformance/ogles/GL/log2/log2_001_to_008-expected.txt: Added.
* webgl/conformance/ogles/GL/log2/log2_001_to_008.html: Added.
* webgl/conformance/ogles/GL/smoothstep/smoothstep_001_to_006-expected.txt: Added.
* webgl/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html: Added.
* webgl/conformance/programs/gl-bind-attrib-location-long-names-test-expected.txt: Added.
* webgl/conformance/programs/gl-bind-attrib-location-long-names-test.html: Added.
* webgl/conformance/programs/program-test-expected.txt: Added.
* webgl/conformance/programs/program-test.html: Added.
* webgl/conformance/reading/read-pixels-test-expected.txt: Added.
* webgl/conformance/reading/read-pixels-test.html: Added.
* webgl/conformance/renderbuffers/framebuffer-object-attachment-expected.txt: Added.
* webgl/conformance/renderbuffers/framebuffer-object-attachment.html: Added.
* webgl/conformance/rendering/gl-scissor-test-expected.txt: Added.
* webgl/conformance/rendering/gl-scissor-test.html: Added.
* webgl/conformance/rendering/more-than-65536-indices-expected.txt: Added.
* webgl/conformance/rendering/more-than-65536-indices.html: Added.
* webgl/conformance/rendering/multisample-corruption-expected.txt: Added.
* webgl/conformance/rendering/multisample-corruption.html: Added.
* webgl/conformance/rendering/point-size-expected.txt: Added.
* webgl/conformance/rendering/point-size.html: Added.
* webgl/conformance/state/gl-object-get-calls-expected.txt: Added.
* webgl/conformance/state/gl-object-get-calls.html: Added.
* webgl/conformance/textures/copy-tex-image-2d-formats-expected.txt: Added.
* webgl/conformance/textures/copy-tex-image-2d-formats.html: Added.
* webgl/conformance/textures/gl-pixelstorei-expected.txt: Added.
* webgl/conformance/textures/gl-pixelstorei.html: Added.
* webgl/conformance/textures/origin-clean-conformance-expected.txt: Added.
* webgl/conformance/textures/origin-clean-conformance.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-image.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551-expected.txt: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html: Added.
* webgl/conformance/textures/tex-image-and-sub-image-2d-with-video.html: Added.
* webgl/conformance/textures/texture-active-bind-2-expected.txt: Added.
* webgl/conformance/textures/texture-active-bind-2.html: Added.
* webgl/conformance/textures/texture-active-bind-expected.txt: Added.
* webgl/conformance/textures/texture-active-bind.html: Added.
* webgl/conformance/textures/texture-mips-expected.txt: Added.
* webgl/conformance/textures/texture-mips.html: Added.
* webgl/conformance/textures/texture-npot-video-expected.txt: Added.
* webgl/conformance/textures/texture-npot-video.html: Added.
* webgl/conformance/textures/texture-size-expected.txt: Added.
* webgl/conformance/textures/texture-size-limit-expected.txt: Added.
* webgl/conformance/textures/texture-size-limit.html: Added.
* webgl/conformance/textures/texture-size.html: Added.
* webgl/conformance/uniforms/gl-uniform-arrays-expected.txt: Added.
* webgl/conformance/uniforms/gl-uniform-arrays.html: Added.
* webgl/conformance/uniforms/uniform-default-values-expected.txt: Added.
* webgl/conformance/uniforms/uniform-default-values.html: Added.
* webgl/conformance/uniforms/uniform-location-expected.txt: Added.
* webgl/conformance/uniforms/uniform-location.html: Added.
* webgl/conformance/uniforms/uniform-samplers-test-expected.txt: Added.
* webgl/conformance/uniforms/uniform-samplers-test.html: Added.
* webgl/resources/webgl_test_files/conformance/canvas/buffer-offscreen-test.html: Added.
* webgl/resources/webgl_test_files/conformance/canvas/buffer-preserve-test.html: Added.
* webgl/resources/webgl_test_files/conformance/canvas/drawingbuffer-test.html: Added.
* webgl/resources/webgl_test_files/conformance/canvas/to-data-url-test.html: Added.
* webgl/resources/webgl_test_files/conformance/context/context-attribute-preserve-drawing-buffer.html: Added.
* webgl/resources/webgl_test_files/conformance/context/context-creation-and-destruction.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-smoothstep-gentype.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/literals/float_literal.vert.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-uniform-packing-restrictions.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-varying-packing-restrictions.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-non-reserved-words.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-short-circuiting-operators.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-similar-uniform-array-names.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/misc/shaders-with-varyings.html: Added.
* webgl/resources/webgl_test_files/conformance/glsl/variables/gl-pointcoord.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-A.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B1.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B2.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B3.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B4.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-C.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-D_G.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-G_I.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-L_S.html: Added.
* webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-S_V.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/bufferDataBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/copyTexImage2D.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/copyTexImage2DBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/copyTexSubImage2D.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/copyTexSubImage2DBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/deleteBufferBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/drawArrays.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/drawArraysOutOfBounds.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/drawElements.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/drawElementsBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/readPixelsBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/texImage2DBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/texImage2DHTML.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/texSubImage2DBadArgs.html: Added.
* webgl/resources/webgl_test_files/conformance/more/functions/texSubImage2DHTML.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/acos/acos_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/asin/asin_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/atan/atan_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/control_flow/control_flow_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/log/log_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/log2/log2_001_to_008.html: Added.
* webgl/resources/webgl_test_files/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html: Added.
* webgl/resources/webgl_test_files/conformance/programs/gl-bind-attrib-location-long-names-test.html: Added.
* webgl/resources/webgl_test_files/conformance/programs/program-test.html: Added.
* webgl/resources/webgl_test_files/conformance/reading/read-pixels-test.html: Added.
* webgl/resources/webgl_test_files/conformance/renderbuffers/framebuffer-object-attachment.html: Added.
* webgl/resources/webgl_test_files/conformance/rendering/gl-scissor-test.html: Added.
* webgl/resources/webgl_test_files/conformance/rendering/more-than-65536-indices.html: Added.
* webgl/resources/webgl_test_files/conformance/rendering/multisample-corruption.html: Added.
* webgl/resources/webgl_test_files/conformance/rendering/point-size.html: Added.
* webgl/resources/webgl_test_files/conformance/state/gl-object-get-calls.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/copy-tex-image-2d-formats.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/gl-pixelstorei.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/origin-clean-conformance.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/texture-active-bind-2.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/texture-active-bind.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/texture-mips.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/texture-npot-video.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/texture-size-limit.html: Added.
* webgl/resources/webgl_test_files/conformance/textures/texture-size.html: Added.
* webgl/resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html: Added.
* webgl/resources/webgl_test_files/conformance/uniforms/uniform-default-values.html: Added.
* webgl/resources/webgl_test_files/conformance/uniforms/uniform-location.html: Added.
* webgl/resources/webgl_test_files/conformance/uniforms/uniform-samplers-test.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142058 268f45cc-cd09-0410-ab3c-d52691b4dbfc

253 files changed:
LayoutTests/ChangeLog
LayoutTests/platform/chromium/TestExpectations
LayoutTests/platform/mac/TestExpectations
LayoutTests/platform/win/TestExpectations
LayoutTests/webgl/conformance/canvas/buffer-offscreen-test-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/canvas/buffer-offscreen-test.html [new file with mode: 0644]
LayoutTests/webgl/conformance/canvas/buffer-preserve-test-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/canvas/buffer-preserve-test.html [new file with mode: 0644]
LayoutTests/webgl/conformance/canvas/drawingbuffer-test-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/canvas/drawingbuffer-test.html [new file with mode: 0644]
LayoutTests/webgl/conformance/canvas/to-data-url-test-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/canvas/to-data-url-test.html [new file with mode: 0644]
LayoutTests/webgl/conformance/context/context-attribute-preserve-drawing-buffer-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/context/context-attribute-preserve-drawing-buffer.html [new file with mode: 0644]
LayoutTests/webgl/conformance/context/context-creation-and-destruction-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/context/context-creation-and-destruction.html [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/functions/glsl-function-smoothstep-gentype-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/functions/glsl-function-smoothstep-gentype.html [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/literals/float_literal.vert-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/literals/float_literal.vert.html [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/misc/shader-uniform-packing-restrictions-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/misc/shader-uniform-packing-restrictions.html [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/misc/shader-varying-packing-restrictions-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/misc/shader-varying-packing-restrictions.html [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/misc/shader-with-global-variable-precision-mismatch-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/misc/shader-with-non-reserved-words-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/misc/shader-with-non-reserved-words.html [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/misc/shader-with-short-circuiting-operators-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/misc/shader-with-short-circuiting-operators.html [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/misc/shader-with-similar-uniform-array-names-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/misc/shader-with-similar-uniform-array-names.html [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/misc/shaders-with-varyings-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/misc/shaders-with-varyings.html [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/variables/gl-pointcoord-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/glsl/variables/gl-pointcoord.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-A-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-A.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B1-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B1.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B2-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B2.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B3-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B3.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B4-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B4.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-C-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-C.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-D_G-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-D_G.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-G_I-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-G_I.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-L_S-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-L_S.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-S_V-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-S_V.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/bufferDataBadArgs-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/bufferDataBadArgs.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/copyTexImage2D-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/copyTexImage2D.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/copyTexImage2DBadArgs-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/copyTexImage2DBadArgs.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/copyTexSubImage2D-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/copyTexSubImage2D.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/copyTexSubImage2DBadArgs-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/copyTexSubImage2DBadArgs.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/deleteBufferBadArgs-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/deleteBufferBadArgs.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/drawArrays-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/drawArrays.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/drawArraysOutOfBounds-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/drawArraysOutOfBounds.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/drawElements-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/drawElements.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/drawElementsBadArgs-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/drawElementsBadArgs.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/readPixelsBadArgs-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/readPixelsBadArgs.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/texImage2DBadArgs-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/texImage2DBadArgs.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/texImage2DHTML-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/texImage2DHTML.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/texSubImage2DBadArgs-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/texSubImage2DBadArgs.html [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/texSubImage2DHTML-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/more/functions/texSubImage2DHTML.html [new file with mode: 0644]
LayoutTests/webgl/conformance/ogles/GL/acos/acos_001_to_006-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/ogles/GL/acos/acos_001_to_006.html [new file with mode: 0644]
LayoutTests/webgl/conformance/ogles/GL/asin/asin_001_to_006-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/ogles/GL/asin/asin_001_to_006.html [new file with mode: 0644]
LayoutTests/webgl/conformance/ogles/GL/atan/atan_001_to_008-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/ogles/GL/atan/atan_001_to_008.html [new file with mode: 0644]
LayoutTests/webgl/conformance/ogles/GL/control_flow/control_flow_001_to_008-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/ogles/GL/control_flow/control_flow_001_to_008.html [new file with mode: 0644]
LayoutTests/webgl/conformance/ogles/GL/log/log_001_to_008-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/ogles/GL/log/log_001_to_008.html [new file with mode: 0644]
LayoutTests/webgl/conformance/ogles/GL/log2/log2_001_to_008-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/ogles/GL/log2/log2_001_to_008.html [new file with mode: 0644]
LayoutTests/webgl/conformance/ogles/GL/smoothstep/smoothstep_001_to_006-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html [new file with mode: 0644]
LayoutTests/webgl/conformance/programs/gl-bind-attrib-location-long-names-test-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/programs/gl-bind-attrib-location-long-names-test.html [new file with mode: 0644]
LayoutTests/webgl/conformance/programs/program-test-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/programs/program-test.html [new file with mode: 0644]
LayoutTests/webgl/conformance/reading/read-pixels-test-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/reading/read-pixels-test.html [new file with mode: 0644]
LayoutTests/webgl/conformance/renderbuffers/framebuffer-object-attachment-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/renderbuffers/framebuffer-object-attachment.html [new file with mode: 0644]
LayoutTests/webgl/conformance/rendering/gl-scissor-test-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/rendering/gl-scissor-test.html [new file with mode: 0644]
LayoutTests/webgl/conformance/rendering/more-than-65536-indices-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/rendering/more-than-65536-indices.html [new file with mode: 0644]
LayoutTests/webgl/conformance/rendering/multisample-corruption-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/rendering/multisample-corruption.html [new file with mode: 0644]
LayoutTests/webgl/conformance/rendering/point-size-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/rendering/point-size.html [new file with mode: 0644]
LayoutTests/webgl/conformance/state/gl-object-get-calls-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/state/gl-object-get-calls.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/copy-tex-image-2d-formats-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/copy-tex-image-2d-formats.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/gl-pixelstorei-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/gl-pixelstorei.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/origin-clean-conformance-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/origin-clean-conformance.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/texture-active-bind-2-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/texture-active-bind-2.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/texture-active-bind-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/texture-active-bind.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/texture-mips-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/texture-mips.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/texture-npot-video-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/texture-npot-video.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/texture-size-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/texture-size-limit-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/texture-size-limit.html [new file with mode: 0644]
LayoutTests/webgl/conformance/textures/texture-size.html [new file with mode: 0644]
LayoutTests/webgl/conformance/uniforms/gl-uniform-arrays-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/uniforms/gl-uniform-arrays.html [new file with mode: 0644]
LayoutTests/webgl/conformance/uniforms/uniform-default-values-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/uniforms/uniform-default-values.html [new file with mode: 0644]
LayoutTests/webgl/conformance/uniforms/uniform-location-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/uniforms/uniform-location.html [new file with mode: 0644]
LayoutTests/webgl/conformance/uniforms/uniform-samplers-test-expected.txt [new file with mode: 0644]
LayoutTests/webgl/conformance/uniforms/uniform-samplers-test.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/canvas/buffer-offscreen-test.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/canvas/buffer-preserve-test.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/canvas/drawingbuffer-test.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/canvas/to-data-url-test.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/context/context-attribute-preserve-drawing-buffer.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/context/context-creation-and-destruction.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-smoothstep-gentype.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/literals/float_literal.vert.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-uniform-packing-restrictions.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-varying-packing-restrictions.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-non-reserved-words.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-short-circuiting-operators.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-similar-uniform-array-names.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shaders-with-varyings.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/variables/gl-pointcoord.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-A.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B1.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B2.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B3.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B4.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-C.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-D_G.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-G_I.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-L_S.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-S_V.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/functions/bufferDataBadArgs.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/functions/copyTexImage2D.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/functions/copyTexImage2DBadArgs.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/functions/copyTexSubImage2D.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/functions/copyTexSubImage2DBadArgs.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/functions/deleteBufferBadArgs.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/functions/drawArrays.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/functions/drawArraysOutOfBounds.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/functions/drawElements.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/functions/drawElementsBadArgs.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/functions/readPixelsBadArgs.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/functions/texImage2DBadArgs.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/functions/texImage2DHTML.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/functions/texSubImage2DBadArgs.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/more/functions/texSubImage2DHTML.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/ogles/GL/acos/acos_001_to_006.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/ogles/GL/asin/asin_001_to_006.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/ogles/GL/atan/atan_001_to_008.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/ogles/GL/control_flow/control_flow_001_to_008.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/ogles/GL/log/log_001_to_008.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/ogles/GL/log2/log2_001_to_008.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/programs/gl-bind-attrib-location-long-names-test.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/programs/program-test.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/reading/read-pixels-test.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/renderbuffers/framebuffer-object-attachment.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/rendering/gl-scissor-test.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/rendering/more-than-65536-indices.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/rendering/multisample-corruption.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/rendering/point-size.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/state/gl-object-get-calls.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/copy-tex-image-2d-formats.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/gl-pixelstorei.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/origin-clean-conformance.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/texture-active-bind-2.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/texture-active-bind.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/texture-mips.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/texture-npot-video.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/texture-size-limit.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/textures/texture-size.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/uniforms/uniform-default-values.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/uniforms/uniform-location.html [new file with mode: 0644]
LayoutTests/webgl/resources/webgl_test_files/conformance/uniforms/uniform-samplers-test.html [new file with mode: 0644]

index c06ee62..985c3f8 100644 (file)
@@ -1,3 +1,263 @@
+2013-02-06  Gregg Tavares  <gman@chromium.org>
+
+        Adds failing WebGL Conformance Tests.
+        https://bugs.webkit.org/show_bug.cgi?id=109075
+
+        Reviewed by Kenneth Russell.
+
+        * platform/chromium/TestExpectations:
+        * platform/mac/TestExpectations:
+        * platform/win/TestExpectations:
+        * webgl/conformance/canvas/buffer-offscreen-test-expected.txt: Added.
+        * webgl/conformance/canvas/buffer-offscreen-test.html: Added.
+        * webgl/conformance/canvas/buffer-preserve-test-expected.txt: Added.
+        * webgl/conformance/canvas/buffer-preserve-test.html: Added.
+        * webgl/conformance/canvas/drawingbuffer-test-expected.txt: Added.
+        * webgl/conformance/canvas/drawingbuffer-test.html: Added.
+        * webgl/conformance/canvas/to-data-url-test-expected.txt: Added.
+        * webgl/conformance/canvas/to-data-url-test.html: Added.
+        * webgl/conformance/context/context-attribute-preserve-drawing-buffer-expected.txt: Added.
+        * webgl/conformance/context/context-attribute-preserve-drawing-buffer.html: Added.
+        * webgl/conformance/context/context-creation-and-destruction-expected.txt: Added.
+        * webgl/conformance/context/context-creation-and-destruction.html: Added.
+        * webgl/conformance/glsl/functions/glsl-function-smoothstep-gentype-expected.txt: Added.
+        * webgl/conformance/glsl/functions/glsl-function-smoothstep-gentype.html: Added.
+        * webgl/conformance/glsl/literals/float_literal.vert-expected.txt: Added.
+        * webgl/conformance/glsl/literals/float_literal.vert.html: Added.
+        * webgl/conformance/glsl/misc/shader-uniform-packing-restrictions-expected.txt: Added.
+        * webgl/conformance/glsl/misc/shader-uniform-packing-restrictions.html: Added.
+        * webgl/conformance/glsl/misc/shader-varying-packing-restrictions-expected.txt: Added.
+        * webgl/conformance/glsl/misc/shader-varying-packing-restrictions.html: Added.
+        * webgl/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays-expected.txt: Added.
+        * webgl/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html: Added.
+        * webgl/conformance/glsl/misc/shader-with-global-variable-precision-mismatch-expected.txt: Added.
+        * webgl/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html: Added.
+        * webgl/conformance/glsl/misc/shader-with-non-reserved-words-expected.txt: Added.
+        * webgl/conformance/glsl/misc/shader-with-non-reserved-words.html: Added.
+        * webgl/conformance/glsl/misc/shader-with-short-circuiting-operators-expected.txt: Added.
+        * webgl/conformance/glsl/misc/shader-with-short-circuiting-operators.html: Added.
+        * webgl/conformance/glsl/misc/shader-with-similar-uniform-array-names-expected.txt: Added.
+        * webgl/conformance/glsl/misc/shader-with-similar-uniform-array-names.html: Added.
+        * webgl/conformance/glsl/misc/shaders-with-varyings-expected.txt: Added.
+        * webgl/conformance/glsl/misc/shaders-with-varyings.html: Added.
+        * webgl/conformance/glsl/variables/gl-pointcoord-expected.txt: Added.
+        * webgl/conformance/glsl/variables/gl-pointcoord.html: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-A-expected.txt: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-A.html: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-B1-expected.txt: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-B1.html: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-B2-expected.txt: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-B2.html: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-B3-expected.txt: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-B3.html: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-B4-expected.txt: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-B4.html: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-C-expected.txt: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-C.html: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-D_G-expected.txt: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-D_G.html: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-G_I-expected.txt: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-G_I.html: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-L_S-expected.txt: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-L_S.html: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-S_V-expected.txt: Added.
+        * webgl/conformance/more/conformance/quickCheckAPI-S_V.html: Added.
+        * webgl/conformance/more/functions/bufferDataBadArgs-expected.txt: Added.
+        * webgl/conformance/more/functions/bufferDataBadArgs.html: Added.
+        * webgl/conformance/more/functions/copyTexImage2D-expected.txt: Added.
+        * webgl/conformance/more/functions/copyTexImage2D.html: Added.
+        * webgl/conformance/more/functions/copyTexImage2DBadArgs-expected.txt: Added.
+        * webgl/conformance/more/functions/copyTexImage2DBadArgs.html: Added.
+        * webgl/conformance/more/functions/copyTexSubImage2D-expected.txt: Added.
+        * webgl/conformance/more/functions/copyTexSubImage2D.html: Added.
+        * webgl/conformance/more/functions/copyTexSubImage2DBadArgs-expected.txt: Added.
+        * webgl/conformance/more/functions/copyTexSubImage2DBadArgs.html: Added.
+        * webgl/conformance/more/functions/deleteBufferBadArgs-expected.txt: Added.
+        * webgl/conformance/more/functions/deleteBufferBadArgs.html: Added.
+        * webgl/conformance/more/functions/drawArrays-expected.txt: Added.
+        * webgl/conformance/more/functions/drawArrays.html: Added.
+        * webgl/conformance/more/functions/drawArraysOutOfBounds-expected.txt: Added.
+        * webgl/conformance/more/functions/drawArraysOutOfBounds.html: Added.
+        * webgl/conformance/more/functions/drawElements-expected.txt: Added.
+        * webgl/conformance/more/functions/drawElements.html: Added.
+        * webgl/conformance/more/functions/drawElementsBadArgs-expected.txt: Added.
+        * webgl/conformance/more/functions/drawElementsBadArgs.html: Added.
+        * webgl/conformance/more/functions/readPixelsBadArgs-expected.txt: Added.
+        * webgl/conformance/more/functions/readPixelsBadArgs.html: Added.
+        * webgl/conformance/more/functions/texImage2DBadArgs-expected.txt: Added.
+        * webgl/conformance/more/functions/texImage2DBadArgs.html: Added.
+        * webgl/conformance/more/functions/texImage2DHTML-expected.txt: Added.
+        * webgl/conformance/more/functions/texImage2DHTML.html: Added.
+        * webgl/conformance/more/functions/texSubImage2DBadArgs-expected.txt: Added.
+        * webgl/conformance/more/functions/texSubImage2DBadArgs.html: Added.
+        * webgl/conformance/more/functions/texSubImage2DHTML-expected.txt: Added.
+        * webgl/conformance/more/functions/texSubImage2DHTML.html: Added.
+        * webgl/conformance/ogles/GL/acos/acos_001_to_006-expected.txt: Added.
+        * webgl/conformance/ogles/GL/acos/acos_001_to_006.html: Added.
+        * webgl/conformance/ogles/GL/asin/asin_001_to_006-expected.txt: Added.
+        * webgl/conformance/ogles/GL/asin/asin_001_to_006.html: Added.
+        * webgl/conformance/ogles/GL/atan/atan_001_to_008-expected.txt: Added.
+        * webgl/conformance/ogles/GL/atan/atan_001_to_008.html: Added.
+        * webgl/conformance/ogles/GL/control_flow/control_flow_001_to_008-expected.txt: Added.
+        * webgl/conformance/ogles/GL/control_flow/control_flow_001_to_008.html: Added.
+        * webgl/conformance/ogles/GL/log/log_001_to_008-expected.txt: Added.
+        * webgl/conformance/ogles/GL/log/log_001_to_008.html: Added.
+        * webgl/conformance/ogles/GL/log2/log2_001_to_008-expected.txt: Added.
+        * webgl/conformance/ogles/GL/log2/log2_001_to_008.html: Added.
+        * webgl/conformance/ogles/GL/smoothstep/smoothstep_001_to_006-expected.txt: Added.
+        * webgl/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html: Added.
+        * webgl/conformance/programs/gl-bind-attrib-location-long-names-test-expected.txt: Added.
+        * webgl/conformance/programs/gl-bind-attrib-location-long-names-test.html: Added.
+        * webgl/conformance/programs/program-test-expected.txt: Added.
+        * webgl/conformance/programs/program-test.html: Added.
+        * webgl/conformance/reading/read-pixels-test-expected.txt: Added.
+        * webgl/conformance/reading/read-pixels-test.html: Added.
+        * webgl/conformance/renderbuffers/framebuffer-object-attachment-expected.txt: Added.
+        * webgl/conformance/renderbuffers/framebuffer-object-attachment.html: Added.
+        * webgl/conformance/rendering/gl-scissor-test-expected.txt: Added.
+        * webgl/conformance/rendering/gl-scissor-test.html: Added.
+        * webgl/conformance/rendering/more-than-65536-indices-expected.txt: Added.
+        * webgl/conformance/rendering/more-than-65536-indices.html: Added.
+        * webgl/conformance/rendering/multisample-corruption-expected.txt: Added.
+        * webgl/conformance/rendering/multisample-corruption.html: Added.
+        * webgl/conformance/rendering/point-size-expected.txt: Added.
+        * webgl/conformance/rendering/point-size.html: Added.
+        * webgl/conformance/state/gl-object-get-calls-expected.txt: Added.
+        * webgl/conformance/state/gl-object-get-calls.html: Added.
+        * webgl/conformance/textures/copy-tex-image-2d-formats-expected.txt: Added.
+        * webgl/conformance/textures/copy-tex-image-2d-formats.html: Added.
+        * webgl/conformance/textures/gl-pixelstorei-expected.txt: Added.
+        * webgl/conformance/textures/gl-pixelstorei.html: Added.
+        * webgl/conformance/textures/origin-clean-conformance-expected.txt: Added.
+        * webgl/conformance/textures/origin-clean-conformance.html: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-expected.txt: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565-expected.txt: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444-expected.txt: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551-expected.txt: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-expected.txt: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565-expected.txt: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444-expected.txt: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551-expected.txt: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-image.html: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-expected.txt: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565-expected.txt: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444-expected.txt: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551-expected.txt: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html: Added.
+        * webgl/conformance/textures/tex-image-and-sub-image-2d-with-video.html: Added.
+        * webgl/conformance/textures/texture-active-bind-2-expected.txt: Added.
+        * webgl/conformance/textures/texture-active-bind-2.html: Added.
+        * webgl/conformance/textures/texture-active-bind-expected.txt: Added.
+        * webgl/conformance/textures/texture-active-bind.html: Added.
+        * webgl/conformance/textures/texture-mips-expected.txt: Added.
+        * webgl/conformance/textures/texture-mips.html: Added.
+        * webgl/conformance/textures/texture-npot-video-expected.txt: Added.
+        * webgl/conformance/textures/texture-npot-video.html: Added.
+        * webgl/conformance/textures/texture-size-expected.txt: Added.
+        * webgl/conformance/textures/texture-size-limit-expected.txt: Added.
+        * webgl/conformance/textures/texture-size-limit.html: Added.
+        * webgl/conformance/textures/texture-size.html: Added.
+        * webgl/conformance/uniforms/gl-uniform-arrays-expected.txt: Added.
+        * webgl/conformance/uniforms/gl-uniform-arrays.html: Added.
+        * webgl/conformance/uniforms/uniform-default-values-expected.txt: Added.
+        * webgl/conformance/uniforms/uniform-default-values.html: Added.
+        * webgl/conformance/uniforms/uniform-location-expected.txt: Added.
+        * webgl/conformance/uniforms/uniform-location.html: Added.
+        * webgl/conformance/uniforms/uniform-samplers-test-expected.txt: Added.
+        * webgl/conformance/uniforms/uniform-samplers-test.html: Added.
+        * webgl/resources/webgl_test_files/conformance/canvas/buffer-offscreen-test.html: Added.
+        * webgl/resources/webgl_test_files/conformance/canvas/buffer-preserve-test.html: Added.
+        * webgl/resources/webgl_test_files/conformance/canvas/drawingbuffer-test.html: Added.
+        * webgl/resources/webgl_test_files/conformance/canvas/to-data-url-test.html: Added.
+        * webgl/resources/webgl_test_files/conformance/context/context-attribute-preserve-drawing-buffer.html: Added.
+        * webgl/resources/webgl_test_files/conformance/context/context-creation-and-destruction.html: Added.
+        * webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-smoothstep-gentype.html: Added.
+        * webgl/resources/webgl_test_files/conformance/glsl/literals/float_literal.vert.html: Added.
+        * webgl/resources/webgl_test_files/conformance/glsl/misc/shader-uniform-packing-restrictions.html: Added.
+        * webgl/resources/webgl_test_files/conformance/glsl/misc/shader-varying-packing-restrictions.html: Added.
+        * webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html: Added.
+        * webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html: Added.
+        * webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-non-reserved-words.html: Added.
+        * webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-short-circuiting-operators.html: Added.
+        * webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-similar-uniform-array-names.html: Added.
+        * webgl/resources/webgl_test_files/conformance/glsl/misc/shaders-with-varyings.html: Added.
+        * webgl/resources/webgl_test_files/conformance/glsl/variables/gl-pointcoord.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-A.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B1.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B2.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B3.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B4.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-C.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-D_G.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-G_I.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-L_S.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-S_V.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/functions/bufferDataBadArgs.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/functions/copyTexImage2D.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/functions/copyTexImage2DBadArgs.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/functions/copyTexSubImage2D.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/functions/copyTexSubImage2DBadArgs.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/functions/deleteBufferBadArgs.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/functions/drawArrays.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/functions/drawArraysOutOfBounds.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/functions/drawElements.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/functions/drawElementsBadArgs.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/functions/readPixelsBadArgs.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/functions/texImage2DBadArgs.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/functions/texImage2DHTML.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/functions/texSubImage2DBadArgs.html: Added.
+        * webgl/resources/webgl_test_files/conformance/more/functions/texSubImage2DHTML.html: Added.
+        * webgl/resources/webgl_test_files/conformance/ogles/GL/acos/acos_001_to_006.html: Added.
+        * webgl/resources/webgl_test_files/conformance/ogles/GL/asin/asin_001_to_006.html: Added.
+        * webgl/resources/webgl_test_files/conformance/ogles/GL/atan/atan_001_to_008.html: Added.
+        * webgl/resources/webgl_test_files/conformance/ogles/GL/control_flow/control_flow_001_to_008.html: Added.
+        * webgl/resources/webgl_test_files/conformance/ogles/GL/log/log_001_to_008.html: Added.
+        * webgl/resources/webgl_test_files/conformance/ogles/GL/log2/log2_001_to_008.html: Added.
+        * webgl/resources/webgl_test_files/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html: Added.
+        * webgl/resources/webgl_test_files/conformance/programs/gl-bind-attrib-location-long-names-test.html: Added.
+        * webgl/resources/webgl_test_files/conformance/programs/program-test.html: Added.
+        * webgl/resources/webgl_test_files/conformance/reading/read-pixels-test.html: Added.
+        * webgl/resources/webgl_test_files/conformance/renderbuffers/framebuffer-object-attachment.html: Added.
+        * webgl/resources/webgl_test_files/conformance/rendering/gl-scissor-test.html: Added.
+        * webgl/resources/webgl_test_files/conformance/rendering/more-than-65536-indices.html: Added.
+        * webgl/resources/webgl_test_files/conformance/rendering/multisample-corruption.html: Added.
+        * webgl/resources/webgl_test_files/conformance/rendering/point-size.html: Added.
+        * webgl/resources/webgl_test_files/conformance/state/gl-object-get-calls.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/copy-tex-image-2d-formats.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/gl-pixelstorei.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/origin-clean-conformance.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/texture-active-bind-2.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/texture-active-bind.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/texture-mips.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/texture-npot-video.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/texture-size-limit.html: Added.
+        * webgl/resources/webgl_test_files/conformance/textures/texture-size.html: Added.
+        * webgl/resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html: Added.
+        * webgl/resources/webgl_test_files/conformance/uniforms/uniform-default-values.html: Added.
+        * webgl/resources/webgl_test_files/conformance/uniforms/uniform-location.html: Added.
+        * webgl/resources/webgl_test_files/conformance/uniforms/uniform-samplers-test.html: Added.
+
 2013-02-06  Terry Anderson  <tdanderson@chromium.org>
 
         Add support for gesture scroll events that do not propagate to enclosing scrollables
index 7275bc3..d7e5531 100644 (file)
@@ -1435,7 +1435,46 @@ webkit.org/b/75276 [ Android ] fast/repaint/shadow-multiple-strict-vertical.html
 # -----------------------------------------------------------------
 # WebGL Tests
 # -----------------------------------------------------------------
+crbug.com/174268 webgl/conformance/textures/copy-tex-image-2d-formats.html [ Failure ]
+crbug.com/174268 webgl/conformance/textures/origin-clean-conformance.html [ Failure ]
+crbug.com/174268 webgl/conformance/textures/texture-mips.html [ Failure ]
+crbug.com/174268 webgl/conformance/uniforms/gl-uniform-arrays.html [ Failure ]
+crbug.com/174268 webgl/conformance/uniforms/uniform-default-values.html [ Failure ]
+crbug.com/174268 webgl/conformance/uniforms/uniform-location.html [ Failure ]
+crbug.com/174268 webgl/conformance/uniforms/uniform-samplers-test.html [ Failure ]
+crbug.com/174268 webgl/conformance/rendering/point-size.html [ Failure ]
+crbug.com/174268 webgl/conformance/rendering/multisample-corruption.html [ Skip ]
+crbug.com/174268 webgl/conformance/reading/read-pixels-test.html [ Skip ]
+crbug.com/174268 webgl/conformance/state/gl-object-get-calls.html [ Failure ]
+crbug.com/174268 webgl/conformance/renderbuffers/framebuffer-object-attachment.html [ Failure ]
 crbug.com/174268 webgl/conformance/attribs/gl-vertex-attrib-zero-issues.html [ Skip ]
+crbug.com/174268 webgl/conformance/glsl/functions/glsl-function-smoothstep-gentype.html [ Failure ]
+crbug.com/174268 webgl/conformance/glsl/misc/shader-varying-packing-restrictions.html [ Failure ]
+crbug.com/174268 webgl/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html [ Failure ]
+crbug.com/174268 webgl/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html [ Failure ]
+crbug.com/174268 webgl/conformance/glsl/misc/shader-with-similar-uniform-array-names.html [ Failure ]
+crbug.com/174268 webgl/conformance/glsl/misc/shaders-with-varyings.html [ Failure ]
+crbug.com/174268 webgl/conformance/glsl/variables/gl-pointcoord.html [ Failure ]
+crbug.com/174268 webgl/conformance/ogles/GL/acos/acos_001_to_006.html [ Timeout ]
+crbug.com/174268 webgl/conformance/ogles/GL/asin/asin_001_to_006.html [ Timeout ]
+crbug.com/174268 webgl/conformance/ogles/GL/atan/atan_001_to_008.html [ Timeout ]
+crbug.com/174268 webgl/conformance/ogles/GL/log/log_001_to_008.html [ Timeout ]
+crbug.com/174268 webgl/conformance/ogles/GL/log2/log2_001_to_008.html [ Timeout ]
+crbug.com/174268 webgl/conformance/ogles/GL/control_flow/control_flow_001_to_008.html [ Pass Failure ]
+crbug.com/174268 webgl/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html [ Pass Failure ]
+
+crbug.com/174466 webgl/conformance/glsl/misc/shader-uniform-packing-restrictions.html [ Failure Timeout Crash ]
+crbug.com/174466 webgl/conformance/glsl/misc/shader-with-non-reserved-words.html [ Failure Timeout ]
+crbug.com/174466 webgl/conformance/glsl/literals/float_literal.vert.html [ Failure ]
+crbug.com/174466 webgl/conformance/more/functions/bufferDataBadArgs.html [ Failure ]
+crbug.com/174466 webgl/conformance/more/functions/readPixelsBadArgs.html [ Failure ]
+crbug.com/174466 webgl/conformance/more/functions/texImage2DHTML.html [ Failure ]
+crbug.com/174466 webgl/conformance/more/functions/texSubImage2DHTML.html [ Failure ]
+crbug.com/174466 webgl/conformance/canvas/buffer-offscreen-test.html [ Failure ]
+crbug.com/174466 webgl/conformance/canvas/buffer-preserve-test.html [ Failure ]
+crbug.com/174466 webgl/conformance/canvas/to-data-url-test.html [ Crash ]
+crbug.com/174466 webgl/conformance/context/context-attribute-preserve-drawing-buffer.html [ Failure ]
+crbug.com/174466 webgl/conformance/context/context-creation-and-destruction.html [ Skip ]
 
 # -----------------------------------------------------------------
 # Other failures
index bf67f23..dd2a434 100644 (file)
@@ -969,6 +969,72 @@ editing/pasteboard/paste-global-selection.html
 # Currently failing WebGL tests <rdar://problem/9355460>
 fast/canvas/webgl/tex-image-and-sub-image-2d-with-video.html
 
+# https://bugs.webkit.org/show_bug.cgi?id=109081
+webgl/conformance/canvas/drawingbuffer-test.html [ Skip ]
+webgl/conformance/canvas/to-data-url-test.html [ Failure ]
+webgl/conformance/context/context-attribute-preserve-drawing-buffer.html [ Pass Failure ]
+webgl/conformance/context/context-creation-and-destruction.html [ Skip ]
+webgl/conformance/glsl/functions/glsl-function-smoothstep-gentype.html [ Failure ]
+webgl/conformance/glsl/literals/float_literal.vert.html [ Failure ]
+webgl/conformance/glsl/misc/shader-uniform-packing-restrictions.html [ Failure ]
+webgl/conformance/glsl/misc/shader-varying-packing-restrictions.html [ Failure ]
+webgl/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html [ Failure ]
+webgl/conformance/glsl/misc/shader-with-short-circuiting-operators.html [ Failure ]
+webgl/conformance/glsl/variables/gl-pointcoord.html [ Failure ]
+webgl/conformance/glsl/misc/shaders-with-varyings.html [ Failure ]
+webgl/conformance/more/conformance/quickCheckAPI-A.html [ Skip ]
+webgl/conformance/more/conformance/quickCheckAPI-B1.html [ Skip ]
+webgl/conformance/more/conformance/quickCheckAPI-B2.html [ Skip ]
+webgl/conformance/more/conformance/quickCheckAPI-B3.html [ Skip ]
+webgl/conformance/more/conformance/quickCheckAPI-B4.html [ Skip ]
+webgl/conformance/more/conformance/quickCheckAPI-C.html [ Skip ]
+webgl/conformance/more/conformance/quickCheckAPI-D_G.html [ Skip ]
+webgl/conformance/more/conformance/quickCheckAPI-G_I.html [ Skip ]
+webgl/conformance/more/conformance/quickCheckAPI-L_S.html [ Skip ]
+webgl/conformance/more/conformance/quickCheckAPI-S_V.html [ Skip ]
+webgl/conformance/more/functions/bufferDataBadArgs.html [ Skip ]
+webgl/conformance/more/functions/copyTexImage2D.html [ Skip ]
+webgl/conformance/more/functions/copyTexImage2DBadArgs.html [ Skip ]
+webgl/conformance/more/functions/copyTexSubImage2D.html [ Skip ]
+webgl/conformance/more/functions/copyTexSubImage2DBadArgs.html [ Skip ]
+webgl/conformance/more/functions/deleteBufferBadArgs.html [ Skip ]
+webgl/conformance/more/functions/drawArrays.html [ Skip ]
+webgl/conformance/more/functions/drawArraysOutOfBounds.html [ Skip ]
+webgl/conformance/more/functions/drawElements.html [ Skip ]
+webgl/conformance/more/functions/drawElementsBadArgs.html [ Skip ]
+webgl/conformance/more/functions/readPixelsBadArgs.html [ Skip ]
+webgl/conformance/more/functions/texImage2DBadArgs.html [ Skip ]
+webgl/conformance/more/functions/texImage2DHTML.html [ Skip ]
+webgl/conformance/more/functions/texSubImage2DBadArgs.html [ Skip ]
+webgl/conformance/more/functions/texSubImage2DHTML.html [ Skip ]
+webgl/conformance/programs/gl-bind-attrib-location-long-names-test.html [ Failure ]
+webgl/conformance/programs/program-test.html [ Failure ]
+webgl/conformance/renderbuffers/framebuffer-object-attachment.html [ Failure ]
+webgl/conformance/rendering/gl-scissor-test.html [ Failure ]
+webgl/conformance/rendering/more-than-65536-indices.html [ Failure ]
+webgl/conformance/rendering/multisample-corruption.html [ Skip ]
+webgl/conformance/rendering/point-size.html [ Failure ]
+webgl/conformance/textures/gl-pixelstorei.html [ Failure ]
+webgl/conformance/textures/origin-clean-conformance.html [ Failure ]
+webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html [ Failure ]
+webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html [ Failure ]
+webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html [ Failure ]
+webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html [ Failure ]
+webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html [ Failure ]
+webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html [ Failure ]
+webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html [ Failure ]
+webgl/conformance/textures/tex-image-and-sub-image-2d-with-image.html [ Failure ]
+webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html [ Failure ]
+webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html [ Failure ]
+webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html [ Failure ]
+webgl/conformance/textures/tex-image-and-sub-image-2d-with-video.html [ Failure ]
+webgl/conformance/textures/texture-active-bind-2.html [ Failure ]
+webgl/conformance/textures/texture-active-bind.html [ Failure ]
+webgl/conformance/textures/texture-npot-video.html [ Failure ]
+webgl/conformance/textures/texture-size-limit.html [ Failure ]
+webgl/conformance/textures/texture-size.html [ Failure ]
+webgl/conformance/uniforms/uniform-samplers-test.html [ Failure ]
+
 # Sending the mouse down event to the scrollbar starts a nested run loop which causes a hang.
 fast/events/mousedown-in-subframe-scrollbar.html
 
index 18d54da..7dcdeac 100644 (file)
@@ -1526,30 +1526,7 @@ http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials.html
 http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html
 inspector/profiler/webgl
 fast/images/webgl-teximage2d.html
-webgl/conformance/buffers/buffer-bind-test.html
-webgl/conformance/buffers/buffer-data-array-buffer.html
-webgl/conformance/buffers/element-array-buffer-delete-recreate.html
-webgl/conformance/buffers/index-validation-copies-indices.html
-webgl/conformance/buffers/index-validation-crash-with-buffer-sub-data.html
-webgl/conformance/buffers/index-validation-large-buffer.html
-webgl/conformance/buffers/index-validation-verifies-too-many-indices.html
-webgl/conformance/buffers/index-validation-with-resized-buffer.html
-webgl/conformance/buffers/index-validation.html
-webgl/conformance/misc/bad-arguments-test.html
-webgl/conformance/misc/boolean-argument-conversion.html
-webgl/conformance/misc/delayed-drawing.html
-webgl/conformance/misc/error-reporting.html
-webgl/conformance/misc/functions-returning-strings.html
-webgl/conformance/misc/instanceof-test.html
-webgl/conformance/misc/invalid-passed-params.html
-webgl/conformance/misc/is-object.html
-webgl/conformance/misc/null-object-behaviour.html
-webgl/conformance/misc/object-deletion-behaviour.html
-webgl/conformance/misc/shader-precision-format.html
-webgl/conformance/misc/type-conversion-test.html
-webgl/conformance/misc/uninitialized-test.html
-webgl/conformance/misc/webgl-specific.html
-
+webgl
 
 # Tests that require ENABLE(DOWNLOAD_ATTRIBUTE).
 fast/dom/HTMLAnchorElement/anchor-nodownload.html
diff --git a/LayoutTests/webgl/conformance/canvas/buffer-offscreen-test-expected.txt b/LayoutTests/webgl/conformance/canvas/buffer-offscreen-test-expected.txt
new file mode 100644 (file)
index 0000000..3f035b7
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/canvas/buffer-offscreen-test.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/canvas/buffer-offscreen-test.html b/LayoutTests/webgl/conformance/canvas/buffer-offscreen-test.html
new file mode 100644 (file)
index 0000000..cc7d51a
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for buffer-offscreen-test.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/canvas/buffer-offscreen-test.html">../../resources/webgl_test_files/conformance/canvas/buffer-offscreen-test.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/canvas/buffer-offscreen-test.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/canvas/buffer-preserve-test-expected.txt b/LayoutTests/webgl/conformance/canvas/buffer-preserve-test-expected.txt
new file mode 100644 (file)
index 0000000..e55c5cb
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/canvas/buffer-preserve-test.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/canvas/buffer-preserve-test.html b/LayoutTests/webgl/conformance/canvas/buffer-preserve-test.html
new file mode 100644 (file)
index 0000000..9d22c02
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for buffer-preserve-test.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/canvas/buffer-preserve-test.html">../../resources/webgl_test_files/conformance/canvas/buffer-preserve-test.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/canvas/buffer-preserve-test.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/canvas/drawingbuffer-test-expected.txt b/LayoutTests/webgl/conformance/canvas/drawingbuffer-test-expected.txt
new file mode 100644 (file)
index 0000000..9c3c604
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/canvas/drawingbuffer-test.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/canvas/drawingbuffer-test.html b/LayoutTests/webgl/conformance/canvas/drawingbuffer-test.html
new file mode 100644 (file)
index 0000000..59b7ac5
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for drawingbuffer-test.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/canvas/drawingbuffer-test.html">../../resources/webgl_test_files/conformance/canvas/drawingbuffer-test.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/canvas/drawingbuffer-test.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/canvas/to-data-url-test-expected.txt b/LayoutTests/webgl/conformance/canvas/to-data-url-test-expected.txt
new file mode 100644 (file)
index 0000000..2e4ab9c
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/canvas/to-data-url-test.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/canvas/to-data-url-test.html b/LayoutTests/webgl/conformance/canvas/to-data-url-test.html
new file mode 100644 (file)
index 0000000..0cd04d2
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for to-data-url-test.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/canvas/to-data-url-test.html">../../resources/webgl_test_files/conformance/canvas/to-data-url-test.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/canvas/to-data-url-test.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/context/context-attribute-preserve-drawing-buffer-expected.txt b/LayoutTests/webgl/conformance/context/context-attribute-preserve-drawing-buffer-expected.txt
new file mode 100644 (file)
index 0000000..3653f44
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/context/context-attribute-preserve-drawing-buffer.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/context/context-attribute-preserve-drawing-buffer.html b/LayoutTests/webgl/conformance/context/context-attribute-preserve-drawing-buffer.html
new file mode 100644 (file)
index 0000000..dcc4d07
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for context-attribute-preserve-drawing-buffer.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/context/context-attribute-preserve-drawing-buffer.html">../../resources/webgl_test_files/conformance/context/context-attribute-preserve-drawing-buffer.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/context/context-attribute-preserve-drawing-buffer.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/context/context-creation-and-destruction-expected.txt b/LayoutTests/webgl/conformance/context/context-creation-and-destruction-expected.txt
new file mode 100644 (file)
index 0000000..ae449ff
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/context/context-creation-and-destruction.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/context/context-creation-and-destruction.html b/LayoutTests/webgl/conformance/context/context-creation-and-destruction.html
new file mode 100644 (file)
index 0000000..0c22b89
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for context-creation-and-destruction.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/context/context-creation-and-destruction.html">../../resources/webgl_test_files/conformance/context/context-creation-and-destruction.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/context/context-creation-and-destruction.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/glsl/functions/glsl-function-smoothstep-gentype-expected.txt b/LayoutTests/webgl/conformance/glsl/functions/glsl-function-smoothstep-gentype-expected.txt
new file mode 100644 (file)
index 0000000..14e3306
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/glsl/functions/glsl-function-smoothstep-gentype.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/glsl/functions/glsl-function-smoothstep-gentype.html b/LayoutTests/webgl/conformance/glsl/functions/glsl-function-smoothstep-gentype.html
new file mode 100644 (file)
index 0000000..4fbc074
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for glsl-function-smoothstep-gentype.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/glsl/functions/glsl-function-smoothstep-gentype.html">../../../resources/webgl_test_files/conformance/glsl/functions/glsl-function-smoothstep-gentype.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/glsl/functions/glsl-function-smoothstep-gentype.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/glsl/literals/float_literal.vert-expected.txt b/LayoutTests/webgl/conformance/glsl/literals/float_literal.vert-expected.txt
new file mode 100644 (file)
index 0000000..32814b4
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/glsl/literals/float_literal.vert.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/glsl/literals/float_literal.vert.html b/LayoutTests/webgl/conformance/glsl/literals/float_literal.vert.html
new file mode 100644 (file)
index 0000000..a25acd4
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for float_literal.vert.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/glsl/literals/float_literal.vert.html">../../../resources/webgl_test_files/conformance/glsl/literals/float_literal.vert.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/glsl/literals/float_literal.vert.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/glsl/misc/shader-uniform-packing-restrictions-expected.txt b/LayoutTests/webgl/conformance/glsl/misc/shader-uniform-packing-restrictions-expected.txt
new file mode 100644 (file)
index 0000000..be0e8e0
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/glsl/misc/shader-uniform-packing-restrictions.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/glsl/misc/shader-uniform-packing-restrictions.html b/LayoutTests/webgl/conformance/glsl/misc/shader-uniform-packing-restrictions.html
new file mode 100644 (file)
index 0000000..2f2350a
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for shader-uniform-packing-restrictions.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/glsl/misc/shader-uniform-packing-restrictions.html">../../../resources/webgl_test_files/conformance/glsl/misc/shader-uniform-packing-restrictions.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/glsl/misc/shader-uniform-packing-restrictions.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/glsl/misc/shader-varying-packing-restrictions-expected.txt b/LayoutTests/webgl/conformance/glsl/misc/shader-varying-packing-restrictions-expected.txt
new file mode 100644 (file)
index 0000000..d74339e
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/glsl/misc/shader-varying-packing-restrictions.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/glsl/misc/shader-varying-packing-restrictions.html b/LayoutTests/webgl/conformance/glsl/misc/shader-varying-packing-restrictions.html
new file mode 100644 (file)
index 0000000..16acb0f
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for shader-varying-packing-restrictions.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/glsl/misc/shader-varying-packing-restrictions.html">../../../resources/webgl_test_files/conformance/glsl/misc/shader-varying-packing-restrictions.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/glsl/misc/shader-varying-packing-restrictions.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays-expected.txt b/LayoutTests/webgl/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays-expected.txt
new file mode 100644 (file)
index 0000000..7c88c29
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html b/LayoutTests/webgl/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html
new file mode 100644 (file)
index 0000000..d0a10c9
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for shader-with-array-of-structs-containing-arrays.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html">../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/glsl/misc/shader-with-global-variable-precision-mismatch-expected.txt b/LayoutTests/webgl/conformance/glsl/misc/shader-with-global-variable-precision-mismatch-expected.txt
new file mode 100644 (file)
index 0000000..63d13d5
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html b/LayoutTests/webgl/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html
new file mode 100644 (file)
index 0000000..6abea40
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for shader-with-global-variable-precision-mismatch.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html">../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/glsl/misc/shader-with-non-reserved-words-expected.txt b/LayoutTests/webgl/conformance/glsl/misc/shader-with-non-reserved-words-expected.txt
new file mode 100644 (file)
index 0000000..7e20c4b
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-non-reserved-words.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/glsl/misc/shader-with-non-reserved-words.html b/LayoutTests/webgl/conformance/glsl/misc/shader-with-non-reserved-words.html
new file mode 100644 (file)
index 0000000..2a299ef
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for shader-with-non-reserved-words.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-non-reserved-words.html">../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-non-reserved-words.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-non-reserved-words.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/glsl/misc/shader-with-short-circuiting-operators-expected.txt b/LayoutTests/webgl/conformance/glsl/misc/shader-with-short-circuiting-operators-expected.txt
new file mode 100644 (file)
index 0000000..4fa7cb6
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-short-circuiting-operators.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/glsl/misc/shader-with-short-circuiting-operators.html b/LayoutTests/webgl/conformance/glsl/misc/shader-with-short-circuiting-operators.html
new file mode 100644 (file)
index 0000000..09ad387
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for shader-with-short-circuiting-operators.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-short-circuiting-operators.html">../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-short-circuiting-operators.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-short-circuiting-operators.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/glsl/misc/shader-with-similar-uniform-array-names-expected.txt b/LayoutTests/webgl/conformance/glsl/misc/shader-with-similar-uniform-array-names-expected.txt
new file mode 100644 (file)
index 0000000..4c733a8
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-similar-uniform-array-names.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/glsl/misc/shader-with-similar-uniform-array-names.html b/LayoutTests/webgl/conformance/glsl/misc/shader-with-similar-uniform-array-names.html
new file mode 100644 (file)
index 0000000..4cb588c
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for shader-with-similar-uniform-array-names.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-similar-uniform-array-names.html">../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-similar-uniform-array-names.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/glsl/misc/shader-with-similar-uniform-array-names.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/glsl/misc/shaders-with-varyings-expected.txt b/LayoutTests/webgl/conformance/glsl/misc/shaders-with-varyings-expected.txt
new file mode 100644 (file)
index 0000000..0777352
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/glsl/misc/shaders-with-varyings.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/glsl/misc/shaders-with-varyings.html b/LayoutTests/webgl/conformance/glsl/misc/shaders-with-varyings.html
new file mode 100644 (file)
index 0000000..3193b45
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for shaders-with-varyings.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/glsl/misc/shaders-with-varyings.html">../../../resources/webgl_test_files/conformance/glsl/misc/shaders-with-varyings.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/glsl/misc/shaders-with-varyings.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/glsl/variables/gl-pointcoord-expected.txt b/LayoutTests/webgl/conformance/glsl/variables/gl-pointcoord-expected.txt
new file mode 100644 (file)
index 0000000..0d4303a
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/glsl/variables/gl-pointcoord.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/glsl/variables/gl-pointcoord.html b/LayoutTests/webgl/conformance/glsl/variables/gl-pointcoord.html
new file mode 100644 (file)
index 0000000..056f6a0
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for gl-pointcoord.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/glsl/variables/gl-pointcoord.html">../../../resources/webgl_test_files/conformance/glsl/variables/gl-pointcoord.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/glsl/variables/gl-pointcoord.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-A-expected.txt b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-A-expected.txt
new file mode 100644 (file)
index 0000000..263acbf
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-A.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-A.html b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-A.html
new file mode 100644 (file)
index 0000000..647b196
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for quickCheckAPI-A.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-A.html">../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-A.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-A.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B1-expected.txt b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B1-expected.txt
new file mode 100644 (file)
index 0000000..831d2c2
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B1.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B1.html b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B1.html
new file mode 100644 (file)
index 0000000..a322d41
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for quickCheckAPI-B1.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B1.html">../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B1.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B1.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B2-expected.txt b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B2-expected.txt
new file mode 100644 (file)
index 0000000..92f45a3
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B2.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B2.html b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B2.html
new file mode 100644 (file)
index 0000000..871a86a
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for quickCheckAPI-B2.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B2.html">../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B2.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B2.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B3-expected.txt b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B3-expected.txt
new file mode 100644 (file)
index 0000000..8ffd174
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B3.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B3.html b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B3.html
new file mode 100644 (file)
index 0000000..d310643
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for quickCheckAPI-B3.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B3.html">../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B3.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B3.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B4-expected.txt b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B4-expected.txt
new file mode 100644 (file)
index 0000000..736d4e8
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B4.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B4.html b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-B4.html
new file mode 100644 (file)
index 0000000..c8beae4
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for quickCheckAPI-B4.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B4.html">../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B4.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B4.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-C-expected.txt b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-C-expected.txt
new file mode 100644 (file)
index 0000000..0ccabd4
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-C.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-C.html b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-C.html
new file mode 100644 (file)
index 0000000..4e3d6be
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for quickCheckAPI-C.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-C.html">../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-C.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-C.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-D_G-expected.txt b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-D_G-expected.txt
new file mode 100644 (file)
index 0000000..360c5ce
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-D_G.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-D_G.html b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-D_G.html
new file mode 100644 (file)
index 0000000..435de3b
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for quickCheckAPI-D_G.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-D_G.html">../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-D_G.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-D_G.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-G_I-expected.txt b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-G_I-expected.txt
new file mode 100644 (file)
index 0000000..48d2e9a
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-G_I.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-G_I.html b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-G_I.html
new file mode 100644 (file)
index 0000000..7f5dc1a
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for quickCheckAPI-G_I.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-G_I.html">../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-G_I.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-G_I.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-L_S-expected.txt b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-L_S-expected.txt
new file mode 100644 (file)
index 0000000..3eb618e
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-L_S.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-L_S.html b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-L_S.html
new file mode 100644 (file)
index 0000000..f34808d
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for quickCheckAPI-L_S.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-L_S.html">../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-L_S.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-L_S.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-S_V-expected.txt b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-S_V-expected.txt
new file mode 100644 (file)
index 0000000..a2e8127
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-S_V.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-S_V.html b/LayoutTests/webgl/conformance/more/conformance/quickCheckAPI-S_V.html
new file mode 100644 (file)
index 0000000..6799878
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for quickCheckAPI-S_V.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-S_V.html">../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-S_V.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-S_V.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/functions/bufferDataBadArgs-expected.txt b/LayoutTests/webgl/conformance/more/functions/bufferDataBadArgs-expected.txt
new file mode 100644 (file)
index 0000000..3a5b0d7
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/functions/bufferDataBadArgs.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/functions/bufferDataBadArgs.html b/LayoutTests/webgl/conformance/more/functions/bufferDataBadArgs.html
new file mode 100644 (file)
index 0000000..1e76081
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for bufferDataBadArgs.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/functions/bufferDataBadArgs.html">../../../resources/webgl_test_files/conformance/more/functions/bufferDataBadArgs.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/functions/bufferDataBadArgs.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/functions/copyTexImage2D-expected.txt b/LayoutTests/webgl/conformance/more/functions/copyTexImage2D-expected.txt
new file mode 100644 (file)
index 0000000..33104f2
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/functions/copyTexImage2D.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/functions/copyTexImage2D.html b/LayoutTests/webgl/conformance/more/functions/copyTexImage2D.html
new file mode 100644 (file)
index 0000000..9aecfe8
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for copyTexImage2D.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/functions/copyTexImage2D.html">../../../resources/webgl_test_files/conformance/more/functions/copyTexImage2D.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/functions/copyTexImage2D.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/functions/copyTexImage2DBadArgs-expected.txt b/LayoutTests/webgl/conformance/more/functions/copyTexImage2DBadArgs-expected.txt
new file mode 100644 (file)
index 0000000..f52563d
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/functions/copyTexImage2DBadArgs.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/functions/copyTexImage2DBadArgs.html b/LayoutTests/webgl/conformance/more/functions/copyTexImage2DBadArgs.html
new file mode 100644 (file)
index 0000000..e8933e4
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for copyTexImage2DBadArgs.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/functions/copyTexImage2DBadArgs.html">../../../resources/webgl_test_files/conformance/more/functions/copyTexImage2DBadArgs.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/functions/copyTexImage2DBadArgs.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/functions/copyTexSubImage2D-expected.txt b/LayoutTests/webgl/conformance/more/functions/copyTexSubImage2D-expected.txt
new file mode 100644 (file)
index 0000000..d7b252c
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/functions/copyTexSubImage2D.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/functions/copyTexSubImage2D.html b/LayoutTests/webgl/conformance/more/functions/copyTexSubImage2D.html
new file mode 100644 (file)
index 0000000..eb1e039
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for copyTexSubImage2D.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/functions/copyTexSubImage2D.html">../../../resources/webgl_test_files/conformance/more/functions/copyTexSubImage2D.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/functions/copyTexSubImage2D.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/functions/copyTexSubImage2DBadArgs-expected.txt b/LayoutTests/webgl/conformance/more/functions/copyTexSubImage2DBadArgs-expected.txt
new file mode 100644 (file)
index 0000000..b22afaa
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/functions/copyTexSubImage2DBadArgs.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/functions/copyTexSubImage2DBadArgs.html b/LayoutTests/webgl/conformance/more/functions/copyTexSubImage2DBadArgs.html
new file mode 100644 (file)
index 0000000..0e28c77
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for copyTexSubImage2DBadArgs.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/functions/copyTexSubImage2DBadArgs.html">../../../resources/webgl_test_files/conformance/more/functions/copyTexSubImage2DBadArgs.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/functions/copyTexSubImage2DBadArgs.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/functions/deleteBufferBadArgs-expected.txt b/LayoutTests/webgl/conformance/more/functions/deleteBufferBadArgs-expected.txt
new file mode 100644 (file)
index 0000000..67fa198
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/functions/deleteBufferBadArgs.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/functions/deleteBufferBadArgs.html b/LayoutTests/webgl/conformance/more/functions/deleteBufferBadArgs.html
new file mode 100644 (file)
index 0000000..f8c3d42
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for deleteBufferBadArgs.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/functions/deleteBufferBadArgs.html">../../../resources/webgl_test_files/conformance/more/functions/deleteBufferBadArgs.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/functions/deleteBufferBadArgs.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/functions/drawArrays-expected.txt b/LayoutTests/webgl/conformance/more/functions/drawArrays-expected.txt
new file mode 100644 (file)
index 0000000..edc9859
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/functions/drawArrays.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/functions/drawArrays.html b/LayoutTests/webgl/conformance/more/functions/drawArrays.html
new file mode 100644 (file)
index 0000000..402df59
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for drawArrays.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/functions/drawArrays.html">../../../resources/webgl_test_files/conformance/more/functions/drawArrays.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/functions/drawArrays.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/functions/drawArraysOutOfBounds-expected.txt b/LayoutTests/webgl/conformance/more/functions/drawArraysOutOfBounds-expected.txt
new file mode 100644 (file)
index 0000000..b24dead
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/functions/drawArraysOutOfBounds.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/functions/drawArraysOutOfBounds.html b/LayoutTests/webgl/conformance/more/functions/drawArraysOutOfBounds.html
new file mode 100644 (file)
index 0000000..e49c0da
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for drawArraysOutOfBounds.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/functions/drawArraysOutOfBounds.html">../../../resources/webgl_test_files/conformance/more/functions/drawArraysOutOfBounds.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/functions/drawArraysOutOfBounds.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/functions/drawElements-expected.txt b/LayoutTests/webgl/conformance/more/functions/drawElements-expected.txt
new file mode 100644 (file)
index 0000000..a813c35
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/functions/drawElements.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/functions/drawElements.html b/LayoutTests/webgl/conformance/more/functions/drawElements.html
new file mode 100644 (file)
index 0000000..0a37cf7
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for drawElements.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/functions/drawElements.html">../../../resources/webgl_test_files/conformance/more/functions/drawElements.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/functions/drawElements.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/functions/drawElementsBadArgs-expected.txt b/LayoutTests/webgl/conformance/more/functions/drawElementsBadArgs-expected.txt
new file mode 100644 (file)
index 0000000..7257dc1
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/functions/drawElementsBadArgs.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/functions/drawElementsBadArgs.html b/LayoutTests/webgl/conformance/more/functions/drawElementsBadArgs.html
new file mode 100644 (file)
index 0000000..2016d11
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for drawElementsBadArgs.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/functions/drawElementsBadArgs.html">../../../resources/webgl_test_files/conformance/more/functions/drawElementsBadArgs.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/functions/drawElementsBadArgs.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/functions/readPixelsBadArgs-expected.txt b/LayoutTests/webgl/conformance/more/functions/readPixelsBadArgs-expected.txt
new file mode 100644 (file)
index 0000000..8439798
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/functions/readPixelsBadArgs.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/functions/readPixelsBadArgs.html b/LayoutTests/webgl/conformance/more/functions/readPixelsBadArgs.html
new file mode 100644 (file)
index 0000000..d10bc0e
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for readPixelsBadArgs.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/functions/readPixelsBadArgs.html">../../../resources/webgl_test_files/conformance/more/functions/readPixelsBadArgs.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/functions/readPixelsBadArgs.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/functions/texImage2DBadArgs-expected.txt b/LayoutTests/webgl/conformance/more/functions/texImage2DBadArgs-expected.txt
new file mode 100644 (file)
index 0000000..16328f6
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/functions/texImage2DBadArgs.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/functions/texImage2DBadArgs.html b/LayoutTests/webgl/conformance/more/functions/texImage2DBadArgs.html
new file mode 100644 (file)
index 0000000..af2a991
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for texImage2DBadArgs.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/functions/texImage2DBadArgs.html">../../../resources/webgl_test_files/conformance/more/functions/texImage2DBadArgs.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/functions/texImage2DBadArgs.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/functions/texImage2DHTML-expected.txt b/LayoutTests/webgl/conformance/more/functions/texImage2DHTML-expected.txt
new file mode 100644 (file)
index 0000000..968127b
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/functions/texImage2DHTML.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/functions/texImage2DHTML.html b/LayoutTests/webgl/conformance/more/functions/texImage2DHTML.html
new file mode 100644 (file)
index 0000000..4a91436
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for texImage2DHTML.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/functions/texImage2DHTML.html">../../../resources/webgl_test_files/conformance/more/functions/texImage2DHTML.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/functions/texImage2DHTML.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/functions/texSubImage2DBadArgs-expected.txt b/LayoutTests/webgl/conformance/more/functions/texSubImage2DBadArgs-expected.txt
new file mode 100644 (file)
index 0000000..4562659
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/functions/texSubImage2DBadArgs.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/functions/texSubImage2DBadArgs.html b/LayoutTests/webgl/conformance/more/functions/texSubImage2DBadArgs.html
new file mode 100644 (file)
index 0000000..8b9b13a
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for texSubImage2DBadArgs.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/functions/texSubImage2DBadArgs.html">../../../resources/webgl_test_files/conformance/more/functions/texSubImage2DBadArgs.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/functions/texSubImage2DBadArgs.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/more/functions/texSubImage2DHTML-expected.txt b/LayoutTests/webgl/conformance/more/functions/texSubImage2DHTML-expected.txt
new file mode 100644 (file)
index 0000000..ee033e3
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../resources/webgl_test_files/conformance/more/functions/texSubImage2DHTML.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/more/functions/texSubImage2DHTML.html b/LayoutTests/webgl/conformance/more/functions/texSubImage2DHTML.html
new file mode 100644 (file)
index 0000000..1efb9c6
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for texSubImage2DHTML.html</title>
+<script type="text/javascript" src="../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../resources/webgl_test_files/conformance/more/functions/texSubImage2DHTML.html">../../../resources/webgl_test_files/conformance/more/functions/texSubImage2DHTML.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../resources/webgl_test_files/conformance/more/functions/texSubImage2DHTML.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/ogles/GL/acos/acos_001_to_006-expected.txt b/LayoutTests/webgl/conformance/ogles/GL/acos/acos_001_to_006-expected.txt
new file mode 100644 (file)
index 0000000..08fd720
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../../resources/webgl_test_files/conformance/ogles/GL/acos/acos_001_to_006.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/ogles/GL/acos/acos_001_to_006.html b/LayoutTests/webgl/conformance/ogles/GL/acos/acos_001_to_006.html
new file mode 100644 (file)
index 0000000..ba3c3df
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for acos_001_to_006.html</title>
+<script type="text/javascript" src="../../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../../resources/webgl_test_files/conformance/ogles/GL/acos/acos_001_to_006.html">../../../../resources/webgl_test_files/conformance/ogles/GL/acos/acos_001_to_006.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../../resources/webgl_test_files/conformance/ogles/GL/acos/acos_001_to_006.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/ogles/GL/asin/asin_001_to_006-expected.txt b/LayoutTests/webgl/conformance/ogles/GL/asin/asin_001_to_006-expected.txt
new file mode 100644 (file)
index 0000000..33f20cc
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../../resources/webgl_test_files/conformance/ogles/GL/asin/asin_001_to_006.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/ogles/GL/asin/asin_001_to_006.html b/LayoutTests/webgl/conformance/ogles/GL/asin/asin_001_to_006.html
new file mode 100644 (file)
index 0000000..4f59a00
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for asin_001_to_006.html</title>
+<script type="text/javascript" src="../../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../../resources/webgl_test_files/conformance/ogles/GL/asin/asin_001_to_006.html">../../../../resources/webgl_test_files/conformance/ogles/GL/asin/asin_001_to_006.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../../resources/webgl_test_files/conformance/ogles/GL/asin/asin_001_to_006.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/ogles/GL/atan/atan_001_to_008-expected.txt b/LayoutTests/webgl/conformance/ogles/GL/atan/atan_001_to_008-expected.txt
new file mode 100644 (file)
index 0000000..853b356
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../../resources/webgl_test_files/conformance/ogles/GL/atan/atan_001_to_008.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/ogles/GL/atan/atan_001_to_008.html b/LayoutTests/webgl/conformance/ogles/GL/atan/atan_001_to_008.html
new file mode 100644 (file)
index 0000000..0812384
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for atan_001_to_008.html</title>
+<script type="text/javascript" src="../../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../../resources/webgl_test_files/conformance/ogles/GL/atan/atan_001_to_008.html">../../../../resources/webgl_test_files/conformance/ogles/GL/atan/atan_001_to_008.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../../resources/webgl_test_files/conformance/ogles/GL/atan/atan_001_to_008.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/ogles/GL/control_flow/control_flow_001_to_008-expected.txt b/LayoutTests/webgl/conformance/ogles/GL/control_flow/control_flow_001_to_008-expected.txt
new file mode 100644 (file)
index 0000000..08c7553
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../../resources/webgl_test_files/conformance/ogles/GL/control_flow/control_flow_001_to_008.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/ogles/GL/control_flow/control_flow_001_to_008.html b/LayoutTests/webgl/conformance/ogles/GL/control_flow/control_flow_001_to_008.html
new file mode 100644 (file)
index 0000000..30682aa
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for control_flow_001_to_008.html</title>
+<script type="text/javascript" src="../../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../../resources/webgl_test_files/conformance/ogles/GL/control_flow/control_flow_001_to_008.html">../../../../resources/webgl_test_files/conformance/ogles/GL/control_flow/control_flow_001_to_008.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../../resources/webgl_test_files/conformance/ogles/GL/control_flow/control_flow_001_to_008.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/ogles/GL/log/log_001_to_008-expected.txt b/LayoutTests/webgl/conformance/ogles/GL/log/log_001_to_008-expected.txt
new file mode 100644 (file)
index 0000000..05add11
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../../resources/webgl_test_files/conformance/ogles/GL/log/log_001_to_008.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/ogles/GL/log/log_001_to_008.html b/LayoutTests/webgl/conformance/ogles/GL/log/log_001_to_008.html
new file mode 100644 (file)
index 0000000..fd4b999
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for log_001_to_008.html</title>
+<script type="text/javascript" src="../../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../../resources/webgl_test_files/conformance/ogles/GL/log/log_001_to_008.html">../../../../resources/webgl_test_files/conformance/ogles/GL/log/log_001_to_008.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../../resources/webgl_test_files/conformance/ogles/GL/log/log_001_to_008.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/ogles/GL/log2/log2_001_to_008-expected.txt b/LayoutTests/webgl/conformance/ogles/GL/log2/log2_001_to_008-expected.txt
new file mode 100644 (file)
index 0000000..280ea5c
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../../resources/webgl_test_files/conformance/ogles/GL/log2/log2_001_to_008.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/ogles/GL/log2/log2_001_to_008.html b/LayoutTests/webgl/conformance/ogles/GL/log2/log2_001_to_008.html
new file mode 100644 (file)
index 0000000..f5ea871
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for log2_001_to_008.html</title>
+<script type="text/javascript" src="../../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../../resources/webgl_test_files/conformance/ogles/GL/log2/log2_001_to_008.html">../../../../resources/webgl_test_files/conformance/ogles/GL/log2/log2_001_to_008.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../../resources/webgl_test_files/conformance/ogles/GL/log2/log2_001_to_008.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/ogles/GL/smoothstep/smoothstep_001_to_006-expected.txt b/LayoutTests/webgl/conformance/ogles/GL/smoothstep/smoothstep_001_to_006-expected.txt
new file mode 100644 (file)
index 0000000..52e1f65
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../../../resources/webgl_test_files/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html b/LayoutTests/webgl/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html
new file mode 100644 (file)
index 0000000..c353ca8
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for smoothstep_001_to_006.html</title>
+<script type="text/javascript" src="../../../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../../../resources/webgl_test_files/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html">../../../../resources/webgl_test_files/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../../../resources/webgl_test_files/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/programs/gl-bind-attrib-location-long-names-test-expected.txt b/LayoutTests/webgl/conformance/programs/gl-bind-attrib-location-long-names-test-expected.txt
new file mode 100644 (file)
index 0000000..f8a4d82
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/programs/gl-bind-attrib-location-long-names-test.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/programs/gl-bind-attrib-location-long-names-test.html b/LayoutTests/webgl/conformance/programs/gl-bind-attrib-location-long-names-test.html
new file mode 100644 (file)
index 0000000..3f108f4
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for gl-bind-attrib-location-long-names-test.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/programs/gl-bind-attrib-location-long-names-test.html">../../resources/webgl_test_files/conformance/programs/gl-bind-attrib-location-long-names-test.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/programs/gl-bind-attrib-location-long-names-test.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/programs/program-test-expected.txt b/LayoutTests/webgl/conformance/programs/program-test-expected.txt
new file mode 100644 (file)
index 0000000..e522cb3
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/programs/program-test.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/programs/program-test.html b/LayoutTests/webgl/conformance/programs/program-test.html
new file mode 100644 (file)
index 0000000..80a80bc
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for program-test.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/programs/program-test.html">../../resources/webgl_test_files/conformance/programs/program-test.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/programs/program-test.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/reading/read-pixels-test-expected.txt b/LayoutTests/webgl/conformance/reading/read-pixels-test-expected.txt
new file mode 100644 (file)
index 0000000..54deb99
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/reading/read-pixels-test.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/reading/read-pixels-test.html b/LayoutTests/webgl/conformance/reading/read-pixels-test.html
new file mode 100644 (file)
index 0000000..8621fe9
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for read-pixels-test.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/reading/read-pixels-test.html">../../resources/webgl_test_files/conformance/reading/read-pixels-test.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/reading/read-pixels-test.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/renderbuffers/framebuffer-object-attachment-expected.txt b/LayoutTests/webgl/conformance/renderbuffers/framebuffer-object-attachment-expected.txt
new file mode 100644 (file)
index 0000000..a678287
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/renderbuffers/framebuffer-object-attachment.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/renderbuffers/framebuffer-object-attachment.html b/LayoutTests/webgl/conformance/renderbuffers/framebuffer-object-attachment.html
new file mode 100644 (file)
index 0000000..0a4a3db
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for framebuffer-object-attachment.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/renderbuffers/framebuffer-object-attachment.html">../../resources/webgl_test_files/conformance/renderbuffers/framebuffer-object-attachment.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/renderbuffers/framebuffer-object-attachment.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/rendering/gl-scissor-test-expected.txt b/LayoutTests/webgl/conformance/rendering/gl-scissor-test-expected.txt
new file mode 100644 (file)
index 0000000..ab8d999
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/rendering/gl-scissor-test.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/rendering/gl-scissor-test.html b/LayoutTests/webgl/conformance/rendering/gl-scissor-test.html
new file mode 100644 (file)
index 0000000..313c304
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for gl-scissor-test.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/rendering/gl-scissor-test.html">../../resources/webgl_test_files/conformance/rendering/gl-scissor-test.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/rendering/gl-scissor-test.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/rendering/more-than-65536-indices-expected.txt b/LayoutTests/webgl/conformance/rendering/more-than-65536-indices-expected.txt
new file mode 100644 (file)
index 0000000..a3e430f
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/rendering/more-than-65536-indices.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/rendering/more-than-65536-indices.html b/LayoutTests/webgl/conformance/rendering/more-than-65536-indices.html
new file mode 100644 (file)
index 0000000..d68445e
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for more-than-65536-indices.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/rendering/more-than-65536-indices.html">../../resources/webgl_test_files/conformance/rendering/more-than-65536-indices.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/rendering/more-than-65536-indices.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/rendering/multisample-corruption-expected.txt b/LayoutTests/webgl/conformance/rendering/multisample-corruption-expected.txt
new file mode 100644 (file)
index 0000000..8a8ffff
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/rendering/multisample-corruption.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/rendering/multisample-corruption.html b/LayoutTests/webgl/conformance/rendering/multisample-corruption.html
new file mode 100644 (file)
index 0000000..447542d
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for multisample-corruption.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/rendering/multisample-corruption.html">../../resources/webgl_test_files/conformance/rendering/multisample-corruption.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/rendering/multisample-corruption.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/rendering/point-size-expected.txt b/LayoutTests/webgl/conformance/rendering/point-size-expected.txt
new file mode 100644 (file)
index 0000000..6c09bed
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/rendering/point-size.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/rendering/point-size.html b/LayoutTests/webgl/conformance/rendering/point-size.html
new file mode 100644 (file)
index 0000000..75ea767
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for point-size.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/rendering/point-size.html">../../resources/webgl_test_files/conformance/rendering/point-size.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/rendering/point-size.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/state/gl-object-get-calls-expected.txt b/LayoutTests/webgl/conformance/state/gl-object-get-calls-expected.txt
new file mode 100644 (file)
index 0000000..5910628
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/state/gl-object-get-calls.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/state/gl-object-get-calls.html b/LayoutTests/webgl/conformance/state/gl-object-get-calls.html
new file mode 100644 (file)
index 0000000..434af89
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for gl-object-get-calls.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/state/gl-object-get-calls.html">../../resources/webgl_test_files/conformance/state/gl-object-get-calls.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/state/gl-object-get-calls.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/copy-tex-image-2d-formats-expected.txt b/LayoutTests/webgl/conformance/textures/copy-tex-image-2d-formats-expected.txt
new file mode 100644 (file)
index 0000000..47d3970
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/copy-tex-image-2d-formats.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/copy-tex-image-2d-formats.html b/LayoutTests/webgl/conformance/textures/copy-tex-image-2d-formats.html
new file mode 100644 (file)
index 0000000..568c6e0
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for copy-tex-image-2d-formats.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/copy-tex-image-2d-formats.html">../../resources/webgl_test_files/conformance/textures/copy-tex-image-2d-formats.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/copy-tex-image-2d-formats.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/gl-pixelstorei-expected.txt b/LayoutTests/webgl/conformance/textures/gl-pixelstorei-expected.txt
new file mode 100644 (file)
index 0000000..c27509d
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/gl-pixelstorei.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/gl-pixelstorei.html b/LayoutTests/webgl/conformance/textures/gl-pixelstorei.html
new file mode 100644 (file)
index 0000000..7bb7b6e
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for gl-pixelstorei.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/gl-pixelstorei.html">../../resources/webgl_test_files/conformance/textures/gl-pixelstorei.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/gl-pixelstorei.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/origin-clean-conformance-expected.txt b/LayoutTests/webgl/conformance/textures/origin-clean-conformance-expected.txt
new file mode 100644 (file)
index 0000000..c5de216
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/origin-clean-conformance.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/origin-clean-conformance.html b/LayoutTests/webgl/conformance/textures/origin-clean-conformance.html
new file mode 100644 (file)
index 0000000..9b9b9bd
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for origin-clean-conformance.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/origin-clean-conformance.html">../../resources/webgl_test_files/conformance/textures/origin-clean-conformance.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/origin-clean-conformance.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-expected.txt b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-expected.txt
new file mode 100644 (file)
index 0000000..49b9629
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565-expected.txt b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565-expected.txt
new file mode 100644 (file)
index 0000000..6ad5dfa
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html
new file mode 100644 (file)
index 0000000..111bcd6
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for tex-image-and-sub-image-2d-with-canvas-rgb565.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html">../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444-expected.txt b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444-expected.txt
new file mode 100644 (file)
index 0000000..61500b7
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html
new file mode 100644 (file)
index 0000000..c7f0746
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for tex-image-and-sub-image-2d-with-canvas-rgba4444.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html">../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551-expected.txt b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551-expected.txt
new file mode 100644 (file)
index 0000000..5329402
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html
new file mode 100644 (file)
index 0000000..b420546
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for tex-image-and-sub-image-2d-with-canvas-rgba5551.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html">../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html
new file mode 100644 (file)
index 0000000..80f780b
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for tex-image-and-sub-image-2d-with-canvas.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html">../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-expected.txt b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-expected.txt
new file mode 100644 (file)
index 0000000..3b4da27
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565-expected.txt b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565-expected.txt
new file mode 100644 (file)
index 0000000..84a2ede
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html
new file mode 100644 (file)
index 0000000..3bd2fea
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for tex-image-and-sub-image-2d-with-image-rgb565.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html">../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444-expected.txt b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444-expected.txt
new file mode 100644 (file)
index 0000000..9012ef0
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html
new file mode 100644 (file)
index 0000000..5b4fffb
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for tex-image-and-sub-image-2d-with-image-rgba4444.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html">../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551-expected.txt b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551-expected.txt
new file mode 100644 (file)
index 0000000..2cb3b44
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html
new file mode 100644 (file)
index 0000000..18adc49
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for tex-image-and-sub-image-2d-with-image-rgba5551.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html">../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image.html b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-image.html
new file mode 100644 (file)
index 0000000..9ff75e7
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for tex-image-and-sub-image-2d-with-image.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image.html">../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-image.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-expected.txt b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-expected.txt
new file mode 100644 (file)
index 0000000..1db183a
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565-expected.txt b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565-expected.txt
new file mode 100644 (file)
index 0000000..58ba5f3
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html
new file mode 100644 (file)
index 0000000..8ed1661
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for tex-image-and-sub-image-2d-with-video-rgb565.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html">../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444-expected.txt b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444-expected.txt
new file mode 100644 (file)
index 0000000..33acc7d
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html
new file mode 100644 (file)
index 0000000..25645da
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for tex-image-and-sub-image-2d-with-video-rgba4444.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html">../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551-expected.txt b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551-expected.txt
new file mode 100644 (file)
index 0000000..9018b04
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html
new file mode 100644 (file)
index 0000000..09d28b5
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for tex-image-and-sub-image-2d-with-video-rgba5551.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html">../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video.html b/LayoutTests/webgl/conformance/textures/tex-image-and-sub-image-2d-with-video.html
new file mode 100644 (file)
index 0000000..94748a8
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for tex-image-and-sub-image-2d-with-video.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video.html">../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/tex-image-and-sub-image-2d-with-video.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/texture-active-bind-2-expected.txt b/LayoutTests/webgl/conformance/textures/texture-active-bind-2-expected.txt
new file mode 100644 (file)
index 0000000..f16885b
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/texture-active-bind-2.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/texture-active-bind-2.html b/LayoutTests/webgl/conformance/textures/texture-active-bind-2.html
new file mode 100644 (file)
index 0000000..07d0e66
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for texture-active-bind-2.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/texture-active-bind-2.html">../../resources/webgl_test_files/conformance/textures/texture-active-bind-2.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/texture-active-bind-2.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/texture-active-bind-expected.txt b/LayoutTests/webgl/conformance/textures/texture-active-bind-expected.txt
new file mode 100644 (file)
index 0000000..1af5d43
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/texture-active-bind.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/texture-active-bind.html b/LayoutTests/webgl/conformance/textures/texture-active-bind.html
new file mode 100644 (file)
index 0000000..369a132
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for texture-active-bind.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/texture-active-bind.html">../../resources/webgl_test_files/conformance/textures/texture-active-bind.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/texture-active-bind.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/texture-mips-expected.txt b/LayoutTests/webgl/conformance/textures/texture-mips-expected.txt
new file mode 100644 (file)
index 0000000..082ca0a
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/texture-mips.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/texture-mips.html b/LayoutTests/webgl/conformance/textures/texture-mips.html
new file mode 100644 (file)
index 0000000..b09695a
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for texture-mips.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/texture-mips.html">../../resources/webgl_test_files/conformance/textures/texture-mips.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/texture-mips.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/texture-npot-video-expected.txt b/LayoutTests/webgl/conformance/textures/texture-npot-video-expected.txt
new file mode 100644 (file)
index 0000000..337547e
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/texture-npot-video.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/texture-npot-video.html b/LayoutTests/webgl/conformance/textures/texture-npot-video.html
new file mode 100644 (file)
index 0000000..f6123cf
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for texture-npot-video.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/texture-npot-video.html">../../resources/webgl_test_files/conformance/textures/texture-npot-video.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/texture-npot-video.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/texture-size-expected.txt b/LayoutTests/webgl/conformance/textures/texture-size-expected.txt
new file mode 100644 (file)
index 0000000..ac34b1a
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/texture-size.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/texture-size-limit-expected.txt b/LayoutTests/webgl/conformance/textures/texture-size-limit-expected.txt
new file mode 100644 (file)
index 0000000..7e80393
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/textures/texture-size-limit.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/textures/texture-size-limit.html b/LayoutTests/webgl/conformance/textures/texture-size-limit.html
new file mode 100644 (file)
index 0000000..a0d98f9
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for texture-size-limit.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/texture-size-limit.html">../../resources/webgl_test_files/conformance/textures/texture-size-limit.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/texture-size-limit.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/textures/texture-size.html b/LayoutTests/webgl/conformance/textures/texture-size.html
new file mode 100644 (file)
index 0000000..416151b
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for texture-size.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/textures/texture-size.html">../../resources/webgl_test_files/conformance/textures/texture-size.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/textures/texture-size.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/uniforms/gl-uniform-arrays-expected.txt b/LayoutTests/webgl/conformance/uniforms/gl-uniform-arrays-expected.txt
new file mode 100644 (file)
index 0000000..d6ba7b2
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/uniforms/gl-uniform-arrays.html b/LayoutTests/webgl/conformance/uniforms/gl-uniform-arrays.html
new file mode 100644 (file)
index 0000000..d88d0d3
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for gl-uniform-arrays.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html">../../resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/uniforms/uniform-default-values-expected.txt b/LayoutTests/webgl/conformance/uniforms/uniform-default-values-expected.txt
new file mode 100644 (file)
index 0000000..de54cbc
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/uniforms/uniform-default-values.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/uniforms/uniform-default-values.html b/LayoutTests/webgl/conformance/uniforms/uniform-default-values.html
new file mode 100644 (file)
index 0000000..db2b2fe
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for uniform-default-values.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/uniforms/uniform-default-values.html">../../resources/webgl_test_files/conformance/uniforms/uniform-default-values.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/uniforms/uniform-default-values.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/uniforms/uniform-location-expected.txt b/LayoutTests/webgl/conformance/uniforms/uniform-location-expected.txt
new file mode 100644 (file)
index 0000000..979ce34
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/uniforms/uniform-location.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/uniforms/uniform-location.html b/LayoutTests/webgl/conformance/uniforms/uniform-location.html
new file mode 100644 (file)
index 0000000..2e4321a
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for uniform-location.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/uniforms/uniform-location.html">../../resources/webgl_test_files/conformance/uniforms/uniform-location.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/uniforms/uniform-location.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/conformance/uniforms/uniform-samplers-test-expected.txt b/LayoutTests/webgl/conformance/uniforms/uniform-samplers-test-expected.txt
new file mode 100644 (file)
index 0000000..4fcea22
--- /dev/null
@@ -0,0 +1,5 @@
+This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
+
+Test: ../../resources/webgl_test_files/conformance/uniforms/uniform-samplers-test.html
+PASS
+
diff --git a/LayoutTests/webgl/conformance/uniforms/uniform-samplers-test.html b/LayoutTests/webgl/conformance/uniforms/uniform-samplers-test.html
new file mode 100644 (file)
index 0000000..ed420d6
--- /dev/null
@@ -0,0 +1,18 @@
+<!-- This file is auto-generated by generate-webgl-tests.py. DO NOT EDIT -->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Conformance Test Wrapper for uniform-samplers-test.html</title>
+<script type="text/javascript" src="../../../fast/js/resources/js-test-pre.js"></script>
+<script type="text/javascript" src="../../resources/webkit-webgl-test-harness.js"></script>
+</head>
+<body>
+<p>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.</p>
+Test: <a href="../../resources/webgl_test_files/conformance/uniforms/uniform-samplers-test.html">../../resources/webgl_test_files/conformance/uniforms/uniform-samplers-test.html</a>
+<div id="result"></div>
+<div id="iframe">
+<iframe src="../../resources/webgl_test_files/conformance/uniforms/uniform-samplers-test.html" width="800" height="600"></iframe>
+</div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/canvas/buffer-offscreen-test.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/canvas/buffer-offscreen-test.html
new file mode 100644 (file)
index 0000000..24461d9
--- /dev/null
@@ -0,0 +1,117 @@
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL required buffer clear behaviour test</title>
+<link rel="stylesheet" href="../../resources/js-test-style.css"/>
+<script src="../../resources/js-test-pre.js"></script>
+<script src="../resources/webgl-test.js"> </script>
+<script src="../resources/webgl-test-utils.js"> </script>
+<style type="text/css">
+body {
+    height: 3000px;
+}
+</style>
+<script type="text/javascript">
+
+var iter = 0;
+var gl1;
+var gl2;
+
+var wtu = WebGLTestUtils;
+
+function timer() {
+    if (iter == 0) {
+        // some random hacky stuff to make sure that we get a compositing step
+        window.scrollBy(0, 10);
+        window.scrollBy(0, -10);
+        iter++;
+
+        setTimeout(timer, 500);
+    } else if (iter == 1) {
+        function clear(gl) {
+            // scissor was set earlier
+            gl.clearColor(0, 0, 1, 1);
+            gl.clear(gl.COLOR_BUFFER_BIT);
+        }
+        clear(gl1);
+        clear(gl2);
+
+        debug("check on screen canvas");
+        wtu.checkCanvasRect(gl1, 0, 10, 10, 10, [0, 0, 255, 255], "cleared corner should be blue, stencil should be preserved");
+        wtu.checkCanvasRect(gl1, 0, 0, 10, 10, [0, 0, 0, 0], "remainder of buffer should be cleared");
+        debug("check off screen canvas");
+        wtu.checkCanvasRect(gl2, 0, 10, 10, 10, [0, 0, 255, 255], "cleared corner should be blue, stencil should be preserved");
+        wtu.checkCanvasRect(gl2, 0, 0, 10, 10, [255, 0, 0, 255], "remainder of buffer should be un-cleared red");
+
+        finishTest();
+    }
+}
+
+function go() {
+    description("This test ensures WebGL implementations correctly clear the drawing buffer on composite if preserveDrawingBuffer is false.");
+
+    debug("");
+
+    gl1 = wtu.create3DContext("c");
+    gl2 = wtu.create3DContext();
+    shouldBeTrue("gl1 != null");
+    shouldBeTrue("gl2 != null");
+
+    shouldBeTrue('gl1.getContextAttributes().preserveDrawingBuffer == false');
+    shouldBeTrue('gl2.getContextAttributes().preserveDrawingBuffer == false');
+
+    function init(gl) {
+        gl.clearColor(1, 0, 0, 1);
+        gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT | gl.STENCIL_BUFFER_BIT);
+
+        // enable scissor here, before compositing, to make sure it's correctly
+        // ignored and restored
+        gl.scissor(0, 10, 10, 10);
+        gl.enable(gl.SCISSOR_TEST);
+    }
+
+    init(gl1);
+    init(gl2);
+
+    setTimeout(timer, 500);
+}
+
+window.addEventListener("load", go, false);
+
+var successfullyParsed = true;
+</script>
+</head>
+<body>
+<div id="description"></div>
+<canvas width="20" height="20" style="border: 1px solid blue;" id="c"></canvas>
+<div id="console"></div>
+</body>
+</html>
+
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/canvas/buffer-preserve-test.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/canvas/buffer-preserve-test.html
new file mode 100644 (file)
index 0000000..dc18d1b
--- /dev/null
@@ -0,0 +1,112 @@
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL required buffer clear behaviour test</title>
+<link rel="stylesheet" href="../../resources/js-test-style.css"/>
+<script src="../../resources/js-test-pre.js"></script>
+<script src="../resources/webgl-test.js"> </script>
+<script src="../resources/webgl-test-utils.js"> </script>
+<style type="text/css">
+body {
+    height: 3000px;
+}
+</style>
+<script type="text/javascript">
+
+var iter = 0;
+var gl1;
+
+var wtu = WebGLTestUtils;
+
+function timer() {
+    if (iter == 0) {
+      function init(gl) {
+          gl.clearColor(1, 0, 0, 1);
+          gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT | gl.STENCIL_BUFFER_BIT);
+
+          // enable scissor here, before compositing, to make sure it's correctly
+          // ignored and restored
+          gl.scissor(0, 10, 10, 10);
+          gl.enable(gl.SCISSOR_TEST);
+      }
+      init(gl1);
+    } else if (iter == 1) {
+        // some random hacky stuff to make sure that we get a compositing step
+        window.scrollBy(0, 10);
+        window.scrollBy(0, -10);
+    } else if (iter == 2) {
+        function clear(gl) {
+            // scissor was set earlier
+            gl.clearColor(0, 0, 1, 1);
+            gl.clear(gl.COLOR_BUFFER_BIT);
+
+            wtu.checkCanvasRect(gl, 0, 10, 10, 10, [0, 0, 255, 255], "cleared corner should be blue, stencil should be preserved");
+            wtu.checkCanvasRect(gl, 0, 0, 10, 10, [0, 0, 0, 0], "remainder of buffer should be cleared");
+        }
+        clear(gl1);
+
+        finishTest();
+        return;
+    }
+
+    iter++;
+    setTimeout(timer, 500);
+}
+
+function go() {
+    description("This test ensures WebGL implementations correctly clear the drawing buffer on composite if preserveDrawingBuffer is false.");
+
+    debug("");
+
+    gl1 = wtu.create3DContext("c");
+    if (!gl1) {
+        finishTest();
+        return;
+    }
+
+    shouldBeTrue("gl1 != null");
+    shouldBeTrue('gl1.getContextAttributes().preserveDrawingBuffer == false');
+
+    setTimeout(timer, 500);
+}
+
+window.addEventListener("load", go, false);
+
+var successfullyParsed = true;
+</script>
+</head>
+<body>
+<!-- Important to put the canvas at the top so that it's always visible even in the test suite runner.
+     Otherwise it just doesn't get composited in Firefox. -->
+<canvas width="20" height="20" style="border: 1px solid blue;" id="c"></canvas>
+<div id="description"></div>
+<div id="console"></div>
+</body>
+</html>
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/canvas/drawingbuffer-test.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/canvas/drawingbuffer-test.html
new file mode 100644 (file)
index 0000000..56379c6
--- /dev/null
@@ -0,0 +1,139 @@
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL Canvas.drawingBufferWidth,drawingBufferHeight Conformance Tests</title>
+<link rel="stylesheet" href="../../resources/js-test-style.css"/>
+<script src="../../resources/js-test-pre.js"></script>
+<script src="../resources/webgl-test.js"></script>
+<script src="../resources/webgl-test-utils.js"></script>
+</head>
+<body>
+<div id="description"></div>
+<div id="console"></div>
+<script>
+"use strict";
+description();
+debug("");
+
+var gl;
+var oldViewport;
+
+function getMaxViewportDimensions() {
+  // create a fresh canvas. This canvas will be discarded
+  // after exiting this function.
+  var canvas = document.createElement("canvas");
+  gl = wtu.create3DContext(canvas, {antialias: false});
+  if (!gl) {
+    testFailed("context does not exist");
+    return [0, 0];
+  } else {
+    testPassed("context exists");
+
+    // For a default size canvas these should be equal.
+    // WebGL contexts are not allowed to change the size of the drawingBuffer
+    // for things like hi-res displays.
+    shouldBe('gl.drawingBufferWidth', 'gl.canvas.width');
+    shouldBe('gl.drawingBufferHeight', 'gl.canvas.height');
+    return gl.getParameter(gl.MAX_VIEWPORT_DIMS);
+  }
+}
+
+function test(desiredWidth, desiredHeight) {
+  debug("");
+  debug("testing canvas width = " + desiredWidth + ", height = " + desiredHeight);
+
+  // Make a fresh canvas.
+  var canvas = document.createElement("canvas");
+  canvas.width = desiredWidth;
+  canvas.height = desiredHeight;
+
+  // This 'gl' must be global for shouldBe to work.
+  gl = wtu.create3DContext(canvas, {antialias: false});
+  if (!gl) {
+    testFailed("context does not exist");
+  } else {
+    testPassed("context exists");
+
+    // Verify these stats didn't change since they come from a different
+    // context.
+    shouldBe('gl.getParameter(gl.MAX_VIEWPORT_DIMS)[0]', 'maxSize[0]');
+    shouldBe('gl.getParameter(gl.MAX_VIEWPORT_DIMS)[1]', 'maxSize[1]');
+
+    // check the initial viewport matches the drawingBufferWidth and drawingBufferHeight
+    shouldBe('gl.getParameter(gl.VIEWPORT)[0]', '0');
+    shouldBe('gl.getParameter(gl.VIEWPORT)[1]', '0');
+    shouldBe('gl.getParameter(gl.VIEWPORT)[2]', 'gl.drawingBufferWidth');
+    shouldBe('gl.getParameter(gl.VIEWPORT)[3]', 'gl.drawingBufferHeight');
+
+    debug("");
+    debug("testing resizing canvas to width = " + desiredWidth + ", height = " + desiredHeight);
+
+    oldViewport = gl.getParameter(gl.VIEWPORT);
+
+    // flip width and height
+    canvas.width = desiredHeight;
+    canvas.height = desiredWidth;
+
+    // Verify the viewport didn't change.
+    shouldBe('gl.getParameter(gl.VIEWPORT)[0]', 'oldViewport[0]');
+    shouldBe('gl.getParameter(gl.VIEWPORT)[1]', 'oldViewport[1]');
+    shouldBe('gl.getParameter(gl.VIEWPORT)[2]', 'oldViewport[2]');
+    shouldBe('gl.getParameter(gl.VIEWPORT)[3]', 'oldViewport[3]');
+
+    // fix the viewport
+//    gl.viewport(0, 0, gl.drawingBufferWidth, gl.drawingBufferHeight);
+
+    shouldBe('gl.getError()', 'gl.NO_ERROR');
+  }
+}
+
+var wtu = WebGLTestUtils;
+var maxSize = getMaxViewportDimensions();
+debug("MAX_VIEWPORT_DIMS: " + maxSize[0] + ", " + maxSize[1]);
+
+shouldBeTrue('maxSize[0] > 0');
+shouldBeTrue('maxSize[1] > 0');
+
+// test a small size to make sure it works at all.
+test(16, 32);
+
+// Make a canvas slightly larger than the max size WebGL can handle.
+// From section 2.2 of the spec the WebGL implementation should allow this to work.
+
+// test a size larger than MAX_VIEWPORT_DIMS in both dimensions
+test(maxSize[0] + 32, 8);
+
+debug("")
+var successfullyParsed = true;
+</script>
+<script src="../../resources/js-test-post.js"></script>
+</body>
+</html>
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/canvas/to-data-url-test.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/canvas/to-data-url-test.html
new file mode 100644 (file)
index 0000000..cfe8dff
--- /dev/null
@@ -0,0 +1,130 @@
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL toDataURL test</title>
+<link rel="stylesheet" href="../../resources/js-test-style.css"/>
+<script src="../../resources/js-test-pre.js"></script>
+<script src="../resources/webgl-test.js"> </script>
+<script src="../resources/webgl-test-utils.js"> </script>
+</head>
+<body>
+<canvas width="20" height="20" style="border: 1px solid black; width: 16px; height: 16px" id="c3d"></canvas>
+<canvas width="20" height="20" style="border: 1px solid black; width: 16px; height: 16px" id="c2d"></canvas>
+<div id="description"></div>
+<div id="console"></div>
+<script type="text/javascript">
+var wtu = WebGLTestUtils;
+var numTests = 10;
+var gl;
+var ctx;
+
+var main = function() {
+  description();
+  ctx = document.getElementById("c2d").getContext("2d");
+  gl = wtu.create3DContext("c3d");
+
+  if (!gl) {
+    testFailed("can't create 3d context");
+    return;
+  }
+
+  var clearRect = function(gl, x, y, width, height, color) {
+    gl.clearColor(color[0] / 255, color[1] / 255, color[2] / 255, color[3] / 255);
+    gl.scissor(x, y, width, height);
+    gl.clear(gl.COLOR_BUFFER_BIT);
+  };
+
+  var testSize = function(gl, width, height, callback) {
+    debug("testing " + width + " by " + height);
+    gl.canvas.width = width;
+    gl.canvas.height = height;
+    gl.viewport(0, 0, width, height);
+    gl.enable(gl.SCISSOR_TEST);
+
+    var bottomColor = [255, 0, 0, 255];
+    var topColor = [0, 255, 0, 255];
+    var rightColor = [0, 0, 255, 255];
+    var halfHeight = Math.floor(height / 2);
+    var topHeight = height - halfHeight;
+    var canvasTopHeight = height - topHeight;
+    clearRect(gl, 0, 0, width, halfHeight, bottomColor);
+    clearRect(gl, 0, halfHeight, width, topHeight, topColor);
+    clearRect(gl, width - 1, 0, 1, height, rightColor);
+
+    var img = new Image();
+    img.onload = function() {
+      ctx.canvas.width = width;
+      ctx.canvas.height = height;
+      ctx.drawImage(img, 0, 0);
+      wtu.checkCanvasRect(ctx, 0, 0, width - 1, topHeight, topColor);
+      wtu.checkCanvasRect(ctx, 0, topHeight, width - 1, halfHeight, bottomColor);
+      wtu.checkCanvasRect(ctx, width - 1, 0, 1, height, rightColor);
+      debug("");
+      callback();
+    };
+    img.src = gl.canvas.toDataURL();
+  };
+
+  var tests = [
+    { width:  16    , height:  16    , },
+    { width:  16 - 1, height:  16    , },
+    { width:  16 - 1, height:  16 - 1, },
+    { width:  16 + 1, height:  16 - 1, },
+    { width:  16 - 1, height:  16 + 1, },
+    { width: 256    , height: 256    , },
+    { width: 256 - 1, height: 256    , },
+    { width: 256 - 1, height: 256 - 1, },
+    { width: 256 + 1, height: 256 - 1, },
+    { width: 256 - 1, height: 256 + 1, },
+    { width: 512    , height: 512    , },
+    { width: 512 - 1, height: 512    , },
+    { width: 512 - 1, height: 512 - 1, },
+    { width: 512 + 1, height: 512 - 1, },
+    { width: 512 - 1, height: 512 + 1, },
+  ];
+  var testIndex = 0;
+  var runNextTest = function() {
+    if (testIndex == tests.length) {
+      finishTest();
+      return;
+    }
+    var test = tests[testIndex++];
+    testSize(gl, test.width, test.height, function() {
+      setTimeout(runNextTest, 100);
+    })
+  };
+  runNextTest();
+};
+main();
+var successfullyParsed = true;
+</script>
+</body>
+</html>
+
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/context/context-attribute-preserve-drawing-buffer.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/context/context-attribute-preserve-drawing-buffer.html
new file mode 100644 (file)
index 0000000..d18c06a
--- /dev/null
@@ -0,0 +1,122 @@
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <link rel="stylesheet" href="../../resources/js-test-style.css"/>
+        <script src="../../resources/js-test-pre.js"></script>
+        <script src="../resources/webgl-test.js"></script>
+        <script src="../resources/webgl-test-utils.js"></script>
+        <style>
+            canvas {
+                width:50px;
+                height:50px;
+            }
+            .square {
+                display:inline-block;
+                width:50px;
+                height:50px;
+                background-color:red;
+            }
+        </style>
+        <script>
+            "use strict";
+            var wtu = WebGLTestUtils;
+            function checkResult(ctx1, ctx2, preserve) {
+                var imgData1 = ctx1.getImageData(0,0,1,1);
+                var imgData2 = ctx2.getImageData(0,0,1,1);
+                var correct1 = [255,0,0,255];
+                var correct2 = preserve ? [255,0,0,255] : [0,0,0,255];
+                var ok1 = true;
+                var ok2 = true;
+                for (var p = 0; p < 4; ++p) {
+                    if (imgData1.data[p] != correct1[p])
+                        ok1 = false;
+                    if (imgData2.data[p] != correct2[p])
+                        ok2 = false;
+                }
+                if (ok1 && ok2)
+                    testPassed('Rendered ok with preserveDrawingBuffer ' + preserve +'.');
+                else
+                    testFailed('Did not render ok with preserveDrawingBuffer ' + preserve + '.');
+                if (preserve) {
+                    finishTest()
+                } else {
+                    runTest(true);
+                }
+            }
+
+            function runTest(preserve) {
+                var c1 = document.getElementById('c' + (preserve * 3 + 1));
+                var c2 = document.getElementById('c' + (preserve * 3 + 2));
+                var c3 = document.getElementById('c' + (preserve * 3 + 3));
+                var ctx1 = c1.getContext('2d');
+                var ctx2 = c2.getContext('2d');
+                var gl = wtu.create3DContext(c3, { alpha:false, preserveDrawingBuffer:preserve });
+                gl.clearColor(1, 0, 0, 1);
+                gl.clear(gl.COLOR_BUFFER_BIT);
+                ctx1.drawImage(c3, 0, 0);
+                wtu.waitForComposite(gl, function() {
+                    ctx2.drawImage(c3, 0, 0);
+                    checkResult(ctx1, ctx2, preserve);
+                });
+
+            }
+        </script>
+    </head>
+    <body>
+        <div>
+            <canvas id='c1'></canvas>
+            <canvas id='c2'></canvas>
+            <canvas id='c3'></canvas>
+            <span>should look as right pattern</span>
+            <div class='square'></div>
+            <div class='square' style='background-color:black'></div>
+            <div class='square'></div>
+        </div>
+        <div>
+            <canvas id='c4'></canvas>
+            <canvas id='c5'></canvas>
+            <canvas id='c6'></canvas>
+            <span>should look as right pattern</span>
+            <div class='square'></div>
+            <div class='square'></div>
+            <div class='square'></div>
+        </div>
+        <div id="description"></div>
+        <div id="console"></div>
+        <script>
+            "use strict";
+            description('Verify that preserveDrawingBuffer attribute is honored.');
+            runTest(false);
+            var successfullyParsed = true;
+            shouldBeTrue("successfullyParsed");
+        </script>
+    </body>
+</html>
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/context/context-creation-and-destruction.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/context/context-creation-and-destruction.html
new file mode 100644 (file)
index 0000000..408fc39
--- /dev/null
@@ -0,0 +1,84 @@
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Test that contexts are freed and garbage collected reasonably</title>
+<link rel="stylesheet" href="../../resources/js-test-style.css"/>
+<script src="../../resources/js-test-pre.js"></script>
+<script src="../resources/webgl-test.js"> </script>
+<script src="../resources/webgl-test-utils.js"> </script>
+</head>
+<body>
+<div id="description"></div>
+<div id="console"></div>
+<script>
+"use strict";
+var wtu = WebGLTestUtils;
+var target = 500;
+var count = 0;
+
+description();
+doNextTest();
+
+// Creates a canvas and a texture then exits. There are
+// no references to either so both should be garbage collected.
+function test() {
+  var canvas = document.createElement("canvas");
+  // This is safe for any device. See drawingBufferWidth in spec.
+  canvas.width = 2048;
+  canvas.height = 2048;
+  var gl = wtu.create3DContext(canvas);
+  var maxTextureSize = gl.getParameter(gl.MAX_TEXTURE_SIZE);
+  var size = Math.min(1024, maxTextureSize);
+  var tex = gl.createTexture();
+  gl.bindTexture(gl.TEXTURE_2D, tex);
+  gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, size, size, 0, gl.RGBA, gl.UNSIGNED_BYTE,
+                new Uint8Array(size * size * 4));
+  gl.clear(gl.COLOR_BUFFER_BIT);
+  glErrorShouldBe(gl, gl.NO_ERROR, "Should be no errors");
+}
+
+function doNextTest() {
+  ++count;
+  debug("test " + count + " of " + target);
+  test();
+  if (count < target) {
+    setTimeout(doNextTest, 100);
+  } else {
+    finishTest();
+  }
+}
+
+var successfullyParsed = true;
+</script>
+
+</body>
+</html>
+
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-smoothstep-gentype.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/functions/glsl-function-smoothstep-gentype.html
new file mode 100644 (file)
index 0000000..740d0a2
--- /dev/null
@@ -0,0 +1,80 @@
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+  <title>GLSL smoothstep-gentype function test</title>
+  <link rel="stylesheet" href="../../../resources/js-test-style.css"/>
+  <link rel="stylesheet" href="../../resources/glsl-feature-tests.css"/>
+  <script src="../../../resources/js-test-pre.js"></script>
+  <script src="../../resources/webgl-test.js"> </script>
+  <script src="../../resources/webgl-test-utils.js"> </script>
+  <script src="../../resources/glsl-generator.js"> </script>
+</head>
+<body>
+<div id="description"></div>
+<div id="console"></div>
+<script>
+"use strict";
+
+
+GLSLGenerator.runFeatureTest({
+  feature: "smoothstep",
+  args: "$(type) edge0, $(type) edge1, $(type) value",
+  baseArgs: "edge0$(field), edge1$(field), value$(field)",
+  testFunc: "$(func)($(type), $(type), $(type))",
+  emuFunc: ["float $(func)_base(float edge0, float edge1, float value) {",
+            "  float t = clamp((value - edge0) / (edge1 - edge0), 0.0, 1.0);",
+            "  return t * t * (3.0 - 2.0 * t);",
+            "}"].join("\n"),
+  gridRes: 8,
+  tolerance: 1,
+  tests: [
+    ["$(output) = vec4(",
+     "    $(func)(0.3, 0.7, $(input).x),",
+     "    $(func)(0.2, 0.8, $(input).y),",
+     "    0,",
+     "    1);"].join("\n"),
+    ["$(output) = vec4(",
+     "    $(func)(vec2(0.4, 0.6), vec2(0.8, 0.9), $(input).xy),",
+     "    0, 1);"].join("\n"),
+    ["$(output) = vec4(",
+     "    $(func)(vec3(0.3, 0.5, 0.7), vec3(0.7, 0.9, 1.0), $(input).xyz),",
+     "    1);"].join("\n"),
+    ["$(output) = ",
+     "    $(func)(vec4(0.3, 0.4, 0.5, 0.2), ",
+     "            vec4(0.7, 0.6, 0.9, 0.8), ",
+     "            $(input));"].join("\n")
+  ]
+});
+var successfullyParsed = true;
+</script>
+</body>
+</html>
+
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/literals/float_literal.vert.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/literals/float_literal.vert.html
new file mode 100644 (file)
index 0000000..388e4e1
--- /dev/null
@@ -0,0 +1,73 @@
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL GLSL Conformance Tests</title>
+<link rel="stylesheet" href="../../../resources/js-test-style.css"/>
+<link rel="stylesheet" href="../../resources/glsl-feature-tests.css"/>
+<script src="../../../resources/js-test-pre.js"></script>
+<script src="../../resources/webgl-test-utils.js"></script>
+<script src="../../resources/glsl-conformance-test.js"></script>
+</head>
+<body>
+<div id="description"></div>
+<div id="console"></div>
+<script id="vertexShader" type="text/something-not-javascript">
+
+// parsing floating point literals should succeed
+void main() {
+  float zero = 0.0;
+  float fractionalConstant = 1.0;
+  float fractionalConstantExponent = 1.0e1;
+  float fractionalConstantPosExponent = 1.0e+1;
+  float fractionalConstantNegExponent = 1.0e-1;
+  float digitSequenceExponent = 1e1;
+  float digitSequencePosExponent = 1e+1;
+  float digitSequenceNegExponent = 1e-1;
+  float pointDigit = .1;
+  float digitPoint= 1.;
+  float upperCaseExponent = 1.0E1;
+  highp float posInRange = 4611686018427387903.;  // 2^62 - 1
+  highp float posOutRange = 4611686018427387905.;  // 2^62 + 1
+  highp float posHuge = 1E100;
+  highp float negInRange = -4611686018427387903.;
+  highp float negOutRange = -4611686018427387905.;
+  highp float negHuge = 1E100;
+}
+</script>
+<script>
+"use strict";
+GLSLConformanceTester.runTest();
+var successfullyParsed = true;
+</script>
+</body>
+</html>
+
+
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-uniform-packing-restrictions.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-uniform-packing-restrictions.html
new file mode 100644 (file)
index 0000000..508c7e7
--- /dev/null
@@ -0,0 +1,268 @@
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL uniform packing restrctions Conformance Test</title>
+<link rel="stylesheet" href="../../../resources/js-test-style.css"/>
+<link rel="stylesheet" href="../../resources/glsl-feature-tests.css"/>
+<script src="../../../resources/js-test-pre.js"></script>
+<script src="../../resources/webgl-test-utils.js"></script>
+<script src="../../resources/glsl-conformance-test.js"></script>
+</head>
+<body>
+<div id="description"></div>
+<div id="console"></div>
+<canvas id="example" width="2" height="2"> </canvas>
+<script id="vshader" type="x-shader/x-vertex">
+    attribute vec4 a_position;
+    void main()
+    {
+        gl_Position = a_position;
+    }
+</script>
+<script id="fshader" type="x-shader/x-vertex">
+    precision mediump float;
+    varying vec4 v_varying;
+    void main()
+    {
+        gl_FragColor = v_varying;
+    }
+</script>
+<script id="vshaderArrayTest" type="x-shader/x-vertex">
+    attribute vec4 a_position;
+    varying vec4 v_varying;
+    uniform $(type) u_uniform[$(numTestType)];
+    void main()
+    {
+        v_varying = $(code);
+        gl_Position = a_position;
+    }
+</script>
+<script id="fshaderArrayTest" type="x-shader/x-fragment">
+    precision mediump float;
+    uniform $(type) u_uniform[$(numTestType)];
+    void main()
+    {
+        gl_FragColor = $(code);
+    }
+</script>
+<script id="vshaderUniformTest" type="x-shader/x-fragment">
+    attribute vec4 a_position;
+    varying vec4 v_varying;
+$(uniforms)
+    void main()
+    {
+        v_varying = $(code);
+        gl_Position = a_position;
+    }
+</script>
+<script id="fshaderUniformTest" type="x-shader/x-fragment">
+    precision mediump float;
+$(uniforms)
+    void main()
+    {
+        gl_FragColor = $(code);
+    }
+</script>
+<script>
+"use strict";
+description();
+debug("");
+var wtu = WebGLTestUtils;
+var gl = wtu.create3DContext("example");
+
+var uniformTypes = [
+  { type: "bool",        componentsPerRow: 1, rows: 1, code: "vec4(u_uniform$(id)$(index), 0, 0, 0)", },
+  { type: "float",       componentsPerRow: 1, rows: 1, code: "vec4(u_uniform$(id)$(index), 0, 0, 0)", },
+  { type: "int",         componentsPerRow: 1, rows: 1, code: "vec4(u_uniform$(id)$(index), 0, 0, 0)", },
+  { type: "vec2",        componentsPerRow: 2, rows: 1, code: "vec4(u_uniform$(id)$(index), 0, 0)", },
+  { type: "ivec2",       componentsPerRow: 2, rows: 1, code: "vec4(u_uniform$(id)$(index), 0, 0)", },
+  { type: "bvec2",       componentsPerRow: 2, rows: 1, code: "vec4(u_uniform$(id)$(index), 0, 0)", },
+  { type: "vec3",        componentsPerRow: 3, rows: 1, code: "vec4(u_uniform$(id)$(index), 0)", },
+  { type: "ivec3",       componentsPerRow: 3, rows: 1, code: "vec4(u_uniform$(id)$(index), 0)", },
+  { type: "bvec3",       componentsPerRow: 3, rows: 1, code: "vec4(u_uniform$(id)$(index), 0)", },
+  { type: "vec4",        componentsPerRow: 4, rows: 1, code: "vec4(u_uniform$(id)$(index))", },
+  { type: "ivec4",       componentsPerRow: 4, rows: 1, code: "vec4(u_uniform$(id)$(index))", },
+  { type: "bvec4",       componentsPerRow: 4, rows: 1, code: "vec4(u_uniform$(id)$(index))", },
+// Yes, the spec says mat2 takes 4 columns, 2 rows.
+  { type: "mat2",        componentsPerRow: 4, rows: 2, code: "vec4(u_uniform$(id)$(index)[0], 0, 0)", },
+  { type: "mat3",        componentsPerRow: 3, rows: 3, code: "vec4(u_uniform$(id)$(index)[0], 0)", },
+  { type: "mat4",        componentsPerRow: 4, rows: 4, code: "vec4(u_uniform$(id)$(index)[0])", },
+// Samplers generally have more restictive limits.
+//  { type: "sampler2D",   componentsPerRow: 1, rows: 1, code: "vec4(texture2D(u_uniform[$(index)], vec2(0, 0)))", },
+//  { type: "samplerCube", componentsPerRow: 1, rows: 1, code: "vec4(textureCube(u_uniform[$(index)], vec3(0, 0, 0)))", },
+];
+
+var vBaseSource = wtu.getScript("vshader");
+var fBaseSource = wtu.getScript("fshader");
+var vArrayTestSource = wtu.getScript("vshaderArrayTest");
+var fArrayTestSource = wtu.getScript("fshaderArrayTest");
+var vUniformTestSource = wtu.getScript("vshaderUniformTest");
+var fUniformTestSource = wtu.getScript("fshaderUniformTest");
+
+var tests = [];
+var shaderTypes = [
+  { type: "vertex",
+    // For tests that expect failure which shader might fail.
+    vertExpectation: false,
+    fragExpectation: true,
+    vertArrayTest: vArrayTestSource,
+    fragArrayTest: fBaseSource,
+    vertUniformTest: vUniformTestSource,
+    fragUniformTest: fBaseSource,
+    maxVectors: gl.getParameter(gl.MAX_VERTEX_UNIFORM_VECTORS),
+    minVectors: 128,  // GLSL ES 1.0.17 Appendix A.7,
+  },
+  { type: "fragment",
+    // For tests that expect failure which shader might fail.
+    vertExpectation: true,
+    fragExpectation: false,
+    vertArrayTest: vBaseSource,
+    fragArrayTest: fArrayTestSource,
+    vertUniformTest: vBaseSource,
+    fragUniformTest: fUniformTestSource,
+    maxVectors: gl.getParameter(gl.MAX_FRAGMENT_UNIFORM_VECTORS),
+    minVectors: 16,  // GLSL ES 1.0.17 Appendix A.7,
+  },
+];
+for (var ss = 0; ss < shaderTypes.length; ++ss) {
+  var shaderType = shaderTypes[ss];
+  debug("max " + shaderType.type + ": " + shaderType.maxVectors);
+  for (var ii = 0; ii < uniformTypes.length; ++ii) {
+    var info = uniformTypes[ii];
+    wtu.log("checking: " + info.type);
+    // Compute the maximum amount of this type allowed in a single array.
+    var numVars = Math.floor(shaderType.maxVectors / info.rows);
+    // Compute the minimum required to work in a single array.
+    var minVars = Math.floor(shaderType.minVectors / info.rows);
+    // Test array[1] of the type
+    var code = wtu.replaceParams(info.code, {id: "", index: "[0]"});
+    tests.push({
+      vShaderSource: wtu.replaceParams(shaderType.vertArrayTest, {numTestType: 1, code: code}, info),
+      vShaderSuccess: true,
+      fShaderSource: wtu.replaceParams(shaderType.fragArrayTest, {numTestType: 1, code: code}, info),
+      fShaderSuccess: true,
+      linkSuccess: true,
+      passMsg: shaderType.type + " shader with uniform array of " + info.type + " with 1 element should succeed",
+    });
+    // Test array[max] of the type
+    // Note: We can't test this as actual GL drivers are only required to be able to
+    // do the minimum number. After that it can fail for any reason.
+    if (false) {
+      var code = wtu.replaceParams(info.code, {id: "", index: "[" + (numVars - 1) + "]"});
+      tests.push({
+        vShaderSource: wtu.replaceParams(shaderType.vertArrayTest, {numTestType: numVars, code: code}, info),
+        vShaderSuccess: true,
+        fShaderSource: wtu.replaceParams(shaderType.fragArrayTest, {numTestType: numVars, code: code}, info),
+        fShaderSuccess: true,
+        linkSuccess: true,
+        passMsg: shaderType.type + " shader with uniform array of " + info.type + " with " + numVars + " elements (the maximum) should succeed",
+      });
+    }
+
+    // Test required number of uniforms
+    var code = wtu.replaceParams(info.code, {id: "", index: "[" + (minVars - 1) + "]"});
+    tests.push({
+      vShaderSource: wtu.replaceParams(shaderType.vertArrayTest, {numTestType: minVars, code: code}, info),
+      vShaderSuccess: true,
+      fShaderSource: wtu.replaceParams(shaderType.fragArrayTest, {numTestType: minVars, code: code}, info),
+      fShaderSuccess: true,
+      linkSuccess: true,
+      passMsg: shaderType.type + " shader with uniform array of " + info.type + " with " + minVars + " elements (the minimum required) should succeed",
+    });
+
+    // Test array[max + 1] accessing last element. WebGL requires this to fail.
+    var code = wtu.replaceParams(info.code, {id: "", index: "[" + numVars + "]"});
+    tests.push({
+      vShaderSource: wtu.replaceParams(shaderType.vertArrayTest, {numTestType: numVars + 1, code: code}, info),
+      vShaderSuccess: shaderType.vertExpectation,
+      fShaderSource: wtu.replaceParams(shaderType.fragArrayTest, {numTestType: numVars + 1, code: code}, info),
+      fShaderSuccess: shaderType.fragExpectation,
+      linkSuccess: false,
+      passMsg: shaderType.type + " shader with uniform array of " + info.type + " with " + (numVars + 1) + " elements (one past maximum) accessing last element should fail",
+    });
+
+    // Test array[max + 1] accessing first element. WebGL requires this to fail but ES allows truncating array.
+    var code = wtu.replaceParams(info.code, {id: "", index: "[0]"});
+    tests.push({
+      vShaderSource: wtu.replaceParams(shaderType.vertArrayTest, {numTestType: numVars + 1, code: code}, info),
+      vShaderSuccess: shaderType.vertExpectation,
+      fShaderSource: wtu.replaceParams(shaderType.fragArrayTest, {numTestType: numVars + 1, code: code}, info),
+      fShaderSuccess: shaderType.fragExpectation,
+      linkSuccess: false,
+      passMsg: shaderType.type + " shader with uniform array of " + info.type + " with " + (numVars + 1) + " elements (one past maximum) accessing first element should fail",
+    });
+
+    // Test max uniforms of type.
+    // Note: We can't test this as actual GL drivers are only required to be able to
+    // do the minimum number. After that it can fail for any reason.
+    if (false) {
+    }
+
+    var generateCode = function(numVars) {
+      var uniforms = [];
+      var codes = [];
+      for (var uu = 0; uu < numVars; ++uu) {
+        uniforms.push("    uniform " + info.type + " u_uniform" + uu + ";");
+        codes.push(wtu.replaceParams(info.code, {id: uu, index: ""}));
+      }
+      return {
+        uniforms: uniforms.join("\n"),
+        code: codes.join(" + \n            "),
+      };
+    };
+
+    // Test max+1 uniforms of type.
+    tests.push({
+      vShaderSource: wtu.replaceParams(shaderType.vertUniformTest, generateCode(numVars + 1), info),
+      vShaderSuccess: shaderType.vertExpectation,
+      fShaderSource: wtu.replaceParams(shaderType.fragUniformTest, generateCode(numVars + 1), info),
+      fShaderSuccess: shaderType.fragExpectation,
+      linkSuccess: false,
+      passMsg: shaderType.type + " shader with " + (numVars + 1) + " uniforms of " + info.type + " (one past maximum) should fail",
+    });
+
+    // Test required uniforms of type.
+    tests.push({
+      vShaderSource: wtu.replaceParams(shaderType.vertUniformTest, generateCode(minVars), info),
+      vShaderSuccess: true,
+      fShaderSource: wtu.replaceParams(shaderType.fragUniformTest, generateCode(minVars), info),
+      fShaderSuccess: true,
+      linkSuccess: true,
+      passMsg: shaderType.type + " shader with " + minVars + " uniforms of " + info.type + " (the minimum required) should succeed",
+    });
+  }
+}
+GLSLConformanceTester.runTests(tests);
+var successfullyParsed = true;
+</script>
+</body>
+</html>
+
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-varying-packing-restrictions.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-varying-packing-restrictions.html
new file mode 100644 (file)
index 0000000..b736423
--- /dev/null
@@ -0,0 +1,220 @@
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL varying packing restrctions Conformance Test</title>
+<link rel="stylesheet" href="../../../resources/js-test-style.css"/>
+<link rel="stylesheet" href="../../resources/glsl-feature-tests.css"/>
+<script src="../../../resources/js-test-pre.js"></script>
+<script src="../../resources/webgl-test-utils.js"></script>
+<script src="../../resources/glsl-conformance-test.js"></script>
+</head>
+<body>
+<div id="description"></div>
+<div id="console"></div>
+<canvas id="example" width="2" height="2"> </canvas>
+<script id="vshaderArrayTest" type="x-shader/x-vertex">
+attribute vec4 a_position;
+varying $(type) v_varying[$(numTestType)];
+void main()
+{
+    gl_Position = a_position;
+    $(vcode)
+}
+</script>
+<script id="fshaderArrayTest" type="x-shader/x-fragment">
+    precision mediump float;
+    varying $(type) v_varying[$(numTestType)];
+    void main()
+    {
+        gl_FragColor = $(fcode);
+    }
+</script>
+<script id="vshaderVaryingTest" type="x-shader/x-fragment">
+attribute vec4 a_position;
+$(varyings)
+    void main()
+    {
+        gl_Position = a_position;
+        $(vcode)
+    }
+</script>
+<script id="fshaderVaryingTest" type="x-shader/x-fragment">
+    precision mediump float;
+$(varyings)
+    void main()
+    {
+        gl_FragColor = $(fcode);
+    }
+</script>
+<script>
+"use strict";
+description();
+debug("");
+var wtu = WebGLTestUtils;
+var gl = wtu.create3DContext("example");
+
+var varyingTypes = [
+  { type: "float",       componentsPerRow: 1, rows: 1, vcode: "v_varying$(id)$(index) = 1.0;",              fcode: "vec4(v_varying$(id)$(index), 0, 0, 0)", },
+  { type: "vec2",        componentsPerRow: 2, rows: 1, vcode: "v_varying$(id)$(index) = vec2(0, 0);",       fcode: "vec4(v_varying$(id)$(index), 0, 0)", },
+  { type: "vec3",        componentsPerRow: 3, rows: 1, vcode: "v_varying$(id)$(index) = vec3(0, 0, 0);",    fcode: "vec4(v_varying$(id)$(index), 0)", },
+  { type: "vec4",        componentsPerRow: 4, rows: 1, vcode: "v_varying$(id)$(index) = vec4(0, 0, 0, 0);", fcode: "vec4(v_varying$(id)$(index))", },
+// Yes, the spec says mat2 takes 4 columns, 2 rows.    vcode: "",
+  { type: "mat2",        componentsPerRow: 4, rows: 2, vcode: "v_varying$(id)$(index) = mat2(1.0);", fcode: "vec4(v_varying$(id)$(index)[0], 0, 0)", },
+  { type: "mat3",        componentsPerRow: 3, rows: 3, vcode: "v_varying$(id)$(index) = mat3(1.0);", fcode: "vec4(v_varying$(id)$(index)[0], 0)", },
+  { type: "mat4",        componentsPerRow: 4, rows: 4, vcode: "v_varying$(id)$(index) = mat4(1.0);", fcode: "vec4(v_varying$(id)$(index)[0])", },
+];
+
+var vArrayTestSource = wtu.getScript("vshaderArrayTest");
+var fArrayTestSource = wtu.getScript("fshaderArrayTest");
+var vVaryingTestSource = wtu.getScript("vshaderVaryingTest");
+var fVaryingTestSource = wtu.getScript("fshaderVaryingTest");
+
+var minVaryingVectors = 8;
+var maxVaryingVectors = gl.getParameter(gl.MAX_VARYING_VECTORS);
+var tests = [];
+
+for (var ii = 0; ii < varyingTypes.length; ++ii) {
+  var info = varyingTypes[ii];
+  wtu.log("checking: " + info.type);
+  // Compute the maximum amount of this type allowed in a single array.
+  var numVars = Math.floor(maxVaryingVectors / info.rows);
+  // Compute the minimum required to work in a single array.
+  var minVars = Math.floor(minVaryingVectors / info.rows);
+  // Test array[1] of the type
+  var vcode = wtu.replaceParams(info.vcode, {id: "", index: "[0]"});
+  var fcode = wtu.replaceParams(info.fcode, {id: "", index: "[0]"});
+  tests.push({
+    vShaderSource: wtu.replaceParams(vArrayTestSource, {numTestType: 1, vcode: vcode}, info),
+    vShaderSuccess: true,
+    fShaderSource: wtu.replaceParams(fArrayTestSource, {numTestType: 1, fcode: fcode}, info),
+    fShaderSuccess: true,
+    linkSuccess: true,
+    passMsg: "shaders with varying array of " + info.type + " with 1 element should succeed",
+  });
+  // do the minimum number. After that it can fail for any reason.
+  if (false) {
+    var vcode = wtu.replaceParams(info.vcode, {id: "", index: "[" + (numVars - 1) + "]"});
+    var fcode = wtu.replaceParams(info.fcode, {id: "", index: "[" + (numVars - 1) + "]"});
+    tests.push({
+      vShaderSource: wtu.replaceParams(vArrayTestSource, {numTestType: numVars, vcode: vcode}, info),
+      vShaderSuccess: true,
+      fShaderSource: wtu.replaceParams(fArrayTestSource, {numTestType: numVars, fcode: fcode}, info),
+      fShaderSuccess: true,
+      linkSuccess: true,
+      passMsg: "shaders with varying array of " + info.type + " with " + numVars + " elements (the maximum) should succeed",
+    });
+  }
+
+  // Test required number of uniforms
+  var vcode = wtu.replaceParams(info.vcode, {id: "", index: "[" + (minVars - 1) + "]"});
+  var fcode = wtu.replaceParams(info.fcode, {id: "", index: "[" + (minVars - 1) + "]"});
+  tests.push({
+    vShaderSource: wtu.replaceParams(vArrayTestSource, {numTestType: minVars, vcode: vcode}, info),
+    vShaderSuccess: true,
+    fShaderSource: wtu.replaceParams(fArrayTestSource, {numTestType: minVars, fcode: fcode}, info),
+    fShaderSuccess: true,
+    linkSuccess: true,
+    passMsg: "shaders with varying array of " + info.type + " with " + minVars + " elements (the minimum required) should succeed",
+  });
+
+  // Test array[max + 1] accessing last element. WebGL requires this to fail.
+  var vcode = wtu.replaceParams(info.vcode, {id: "", index: "[" + numVars + "]"});
+  var fcode = wtu.replaceParams(info.fcode, {id: "", index: "[" + numVars + "]"});
+  tests.push({
+    vShaderSource: wtu.replaceParams(vArrayTestSource, {numTestType: numVars + 1, vcode: vcode}, info),
+    vShaderSuccess: false,
+    fShaderSource: wtu.replaceParams(fArrayTestSource, {numTestType: numVars + 1, fcode: fcode}, info),
+    fShaderSuccess: false,
+    linkSuccess: false,
+    passMsg: "shaders with varying array of " + info.type + " with " + (numVars + 1) + " elements (one past maximum) accessing last element should fail",
+  });
+
+  // Test array[max + 1] accessing first element. WebGL requires this to fail but ES allows truncating array.
+  var vcode = wtu.replaceParams(info.vcode, {id: "", index: "[0]"});
+  var fcode = wtu.replaceParams(info.fcode, {id: "", index: "[0]"});
+  tests.push({
+    vShaderSource: wtu.replaceParams(vArrayTestSource, {numTestType: numVars + 1, vcode: vcode}, info),
+    vShaderSuccess: false,
+    fShaderSource: wtu.replaceParams(fArrayTestSource, {numTestType: numVars + 1, fcode: fcode}, info),
+    fShaderSuccess: false,
+    linkSuccess: false,
+    passMsg: "shaders with varying array of " + info.type + " with " + (numVars + 1) + " elements (one past maximum) accessing first element should fail",
+  });
+
+  // Test max uniforms of type.
+  // Note: We can't test this as actual GL drivers are only required to be able to
+  // do the minimum number. After that it can fail for any reason.
+  if (false) {
+  }
+
+  var generateCode = function(numVars) {
+    var varyings = [];
+    var vcodes = [];
+    var fcodes = [];
+    for (var uu = 0; uu < numVars; ++uu) {
+      varyings.push("    varying " + info.type + " v_varying" + uu + ";");
+      vcodes.push(wtu.replaceParams(info.vcode, {id: uu, index: ""}));
+      fcodes.push(wtu.replaceParams(info.fcode, {id: uu, index: ""}));
+    }
+    return {
+      varyings: varyings.join("\n"),
+      vcode: vcodes.join("\n            "),
+      fcode: fcodes.join(" + \n            "),
+    };
+  };
+
+  // Test max+1 varyings of type.
+  tests.push({
+    vShaderSource: wtu.replaceParams(vVaryingTestSource, generateCode(numVars + 1), info),
+    vShaderSuccess: false,
+    fShaderSource: wtu.replaceParams(fVaryingTestSource, generateCode(numVars + 1), info),
+    fShaderSuccess: false,
+    linkSuccess: false,
+    passMsg: "shaders with " + (numVars + 1) + " varyings of " + info.type + " (one past maximum) should fail",
+  });
+
+  // Test required varyings of type.
+  tests.push({
+    vShaderSource: wtu.replaceParams(vVaryingTestSource, generateCode(minVars), info),
+    vShaderSuccess: true,
+    fShaderSource: wtu.replaceParams(fVaryingTestSource, generateCode(minVars), info),
+    fShaderSuccess: true,
+    linkSuccess: true,
+    passMsg: "shaders with " + minVars + " varyings of " + info.type + " (the minimum required) should succeed",
+  });
+}
+
+GLSLConformanceTester.runTests(tests);
+var successfullyParsed = true;
+</script>
+</body>
+</html>
+
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html
new file mode 100644 (file)
index 0000000..ddc68a9
--- /dev/null
@@ -0,0 +1,157 @@
+
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>GLSL Array of Structs Containing Arrays</title>
+<link rel="stylesheet" href="../../../resources/js-test-style.css"/>
+<link rel="stylesheet" href="../../resources/glsl-feature-tests.css"/>
+<script src="../../../resources/js-test-pre.js"></script>
+<script src="../../resources/webgl-test.js"> </script>
+<script src="../../resources/webgl-test-utils.js"> </script>
+
+<script id="vshader", type="x-shader/x-vertex">
+attribute vec4 a_position;
+void main(void) {
+    gl_Position = a_position;
+}
+</script>
+<script id="fshader0", type="x-shader/x-fragment">
+precision mediump float;
+struct my_struct {
+  vec4 color[2];
+};
+uniform my_struct u_colors[2];
+void main(void) {
+    gl_FragColor = u_colors[0].color[0];
+}
+</script>
+<script id="fshader1", type="x-shader/x-fragment">
+precision mediump float;
+struct my_struct {
+  vec4 color[2];
+};
+uniform my_struct u_colors[2];
+void main(void) {
+    gl_FragColor = u_colors[0].color[1];
+}
+</script>
+<script id="fshader-with-one-element-arrays", type="x-shader/x-fragment">
+precision mediump float;
+struct my_struct {
+  vec4 color[1];
+};
+uniform my_struct u_colors[1];
+void main(void) {
+    gl_FragColor = u_colors[0].color[0];
+}
+</script>
+<script id="fshader3", type="x-shader/x-fragment">
+precision mediump float;
+struct my_struct {
+  vec4 color1[2];
+  vec4 color2[2];
+};
+uniform my_struct u_colors[2];
+void main(void) {
+    gl_FragColor = u_colors[0].color1[0] + u_colors[0].color2[0] + u_colors[1].color1[1] +u_colors[1].color2[1];
+}
+</script>
+</head>
+<body>
+<canvas id="canvas" width="50" height="50"></canvas>
+<div id="description"></div>
+<div id="console"></div>
+<script>
+"use strict";
+description();
+
+var wtu = WebGLTestUtils;
+var gl = wtu.create3DContext("canvas");
+wtu.setupUnitQuad(gl);
+
+for (var ii = 0; ii < 2; ++ii) {
+  var program = wtu.setupProgram(gl, ["vshader", "fshader" + ii], ["a_position"]);
+  var red_loc = gl.getUniformLocation(program, "u_colors[0].color[" + ii  + "]");
+  var green_loc = gl.getUniformLocation(program, "u_colors[0].color[" + (1 - ii) + "]");
+  gl.uniform4fv(red_loc, [1, 0, 0, 1]);
+  gl.uniform4fv(green_loc, [0, 1, 0, 1]);
+  wtu.drawQuad(gl);
+  wtu.checkCanvas(gl, [255, 0, 0, 255], "Should be red");
+}
+
+var program = wtu.setupProgram(gl, ["vshader", "fshader-with-one-element-arrays"], ["a_position"]);
+var green_loc = gl.getUniformLocation(program, "u_colors[0].color[0]");
+gl.uniform4fv(green_loc, [0, 1, 0, 1]);
+wtu.drawQuad(gl);
+wtu.checkCanvas(gl, [0, 255, 0, 255], "Should be green");
+
+var program = wtu.setupProgram(gl, ["vshader", "fshader3"], ["a_position"]);
+var numUniforms = gl.getProgramParameter(program, gl.ACTIVE_UNIFORMS);
+shouldBe("numUniforms", "4");
+var uniforms = []
+for (var ii = 0; ii < numUniforms; ++ii) {
+  uniforms.push(gl.getActiveUniform(program, ii).name);
+}
+uniforms.sort();
+shouldBe("uniforms[0]", '"u_colors[0].color1[0]"');
+shouldBe("uniforms[1]", '"u_colors[0].color2[0]"');
+shouldBe("uniforms[2]", '"u_colors[1].color1[0]"');
+shouldBe("uniforms[3]", '"u_colors[1].color2[0]"');
+var loc00 = gl.getUniformLocation(program, "u_colors[0].color1");
+var loc01 = gl.getUniformLocation(program, "u_colors[0].color2");
+var loc10 = gl.getUniformLocation(program, "u_colors[1].color1");
+var loc11 = gl.getUniformLocation(program, "u_colors[1].color2");
+shouldBeTrue("loc00 != undefined");
+shouldBeTrue("loc01 != undefined");
+shouldBeTrue("loc10 != undefined");
+shouldBeTrue("loc11 != undefined");
+gl.uniform4fv(loc00, [1, 0, 0, 0]);
+gl.uniform4fv(loc01, [0, 1, 0, 0]);
+gl.uniform4fv(loc10, [0, 0, 0, 0, 0, 0, 1, 0]);
+gl.uniform4fv(loc11, [0, 0, 0, 0, 0, 0, 0, 1]);
+var loc101 = gl.getUniformLocation(program, "u_colors[1].color1[1]");
+var loc111 = gl.getUniformLocation(program, "u_colors[1].color2[1]");
+shouldBeTrue("loc101 != undefined");
+shouldBeTrue("loc111 != undefined");
+wtu.drawQuad(gl, [0, 0, 0, 0]);
+gl.uniform4fv(loc101, [0, 0, 0, 0]);
+gl.uniform4fv(loc111, [0, 0, 0, 0]);
+wtu.drawQuad(gl, [0, 0, 0, 0]);
+wtu.checkCanvas(gl, [255, 255, 0, 0], "Should be yellow");
+
+glErrorShouldBe(gl, gl.NO_ERROR, "there should be no errors");
+
+var successfullyParsed = true;
+</script>
+<script src="../../../resources/js-test-post.js"></script>
+</body>
+</html>
+
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html
new file mode 100644 (file)
index 0000000..0088acf
--- /dev/null
@@ -0,0 +1,124 @@
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL GLSL Conformance Tests</title>
+<link rel="stylesheet" href="../../../resources/js-test-style.css"/>
+<link rel="stylesheet" href="../../resources/glsl-feature-tests.css"/>
+<script src="../../../resources/desktop-gl-constants.js" type="text/javascript"></script>
+<script src="../../../resources/js-test-pre.js"></script>
+<script src="../../resources/webgl-test-utils.js"></script>
+<script src="../../resources/glsl-conformance-test.js"></script>
+</head>
+<body>
+<div id="description"></div>
+<div id="console"></div>
+<script id="fshaderWithMediumpGlobal" type="text/something-not-javascript">
+// There is no default precision in fragment shaders, so specify mediump.
+precision mediump float;
+
+uniform vec4 foo;
+
+void main()
+{
+    gl_FragColor = foo;
+}
+</script>
+<script id="fshaderWithMediumpGlobalStruct" type="text/something-not-javascript">
+// There is no default precision in fragment shaders, so specify mediump.
+precision mediump float;
+
+struct foo
+{
+   vec4 bar;
+};
+
+uniform foo baz;
+
+void main()
+{
+    gl_FragColor = baz.bar;
+}
+</script>
+<script id="vshaderWithHighpGlobal" type="x-shader/x-vertex">
+// Default precision for vertex shaders is highp.
+uniform vec4 foo;
+
+void main() {
+    gl_Position = foo;
+}
+</script>
+<script id="vshaderWithHighpGlobalStruct" type="x-shader/x-vertex">
+// Default precision for vertex shaders is highp.
+struct foo
+{
+   vec4 bar;
+};
+
+uniform foo baz;
+
+void main()
+{
+    gl_Position = baz.bar;
+}
+</script>
+<script>
+"use strict";
+description("Checks shaders with global variables and precision qualifier mismatch.");
+
+var wtu = WebGLTestUtils;
+
+var glslTests = [];
+
+glslTests.push({
+  vShaderId: 'vshaderWithHighpGlobal',
+  vShaderSuccess: true,
+  fShaderId: 'fshaderWithMediumpGlobal',
+  fShaderSuccess: true,
+  linkSuccess: false,
+  passMsg: "mismatching precision for uniforms causes link error (as expected)",
+});
+
+glslTests.push({
+  vShaderId: 'vshaderWithHighpGlobalStruct',
+  vShaderSuccess: true,
+  fShaderId: 'fshaderWithMediumpGlobalStruct',
+  fShaderSuccess: true,
+  linkSuccess: false,
+  passMsg: "mismatching precision for structure uniforms causes link error (as expected)",
+});
+
+GLSLConformanceTester.runTests(glslTests);
+
+debug("");
+var successfullyParsed = true;
+</script>
+</body>
+</html>
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-non-reserved-words.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-non-reserved-words.html
new file mode 100644 (file)
index 0000000..dc8a160
--- /dev/null
@@ -0,0 +1,724 @@
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL GLSL Conformance Tests - Non Reserved Words</title>
+<link rel="stylesheet" href="../../../resources/js-test-style.css"/>
+<link rel="stylesheet" href="../../resources/glsl-feature-tests.css"/>
+<script src="../../../resources/js-test-pre.js"></script>
+<script src="../../resources/webgl-test-utils.js"></script>
+<script src="../../resources/glsl-conformance-test.js"></script>
+</head>
+<body>
+<div id="description"></div>
+<div id="console"></div>
+<script id="vertexShader0" type="text/something-not-javascript">
+struct $replaceMe {
+  vec4 $replaceMe;
+};
+struct Foo {
+  $replaceMe $replaceMe;
+};
+attribute vec4 position;
+void main()
+{
+    Foo f;
+    f.$replaceMe.$replaceMe = position;
+    gl_Position = f.$replaceMe.$replaceMe;
+}
+</script>
+<script id="fragmentShader0" type="text/something-not-javascript">
+precision mediump float;
+vec4 $replaceMe() {
+    return vec4(0,1,0,1);
+}
+void main()
+{
+    gl_FragColor = $replaceMe();
+}
+</script>
+<script id="vertexShader1" type="text/something-not-javascript">
+attribute vec4 $replaceMe;
+void main()
+{
+    gl_Position = $replaceMe;
+}
+</script>
+<script id="fragmentShader1" type="text/something-not-javascript">
+precision mediump float;
+vec4 foo(vec4 $replaceMe) {
+  return $replaceMe;
+}
+void main()
+{
+    gl_FragColor = foo(vec4(1,0,1,1));
+}
+</script>
+<script id="vertexShader2" type="text/something-not-javascript">
+varying vec4 $replaceMe;
+attribute vec4 position;
+void main()
+{
+    gl_Position = position;
+    $replaceMe = position;
+}
+</script>
+<script id="fragmentShader2" type="text/something-not-javascript">
+precision mediump float;
+varying vec4 $replaceMe;
+void main()
+{
+    gl_FragColor = $replaceMe;
+}
+</script>
+<script id="vertexShader3" type="text/something-not-javascript">
+attribute vec4 position;
+void main()
+{
+    gl_Position = position;
+}
+</script>
+<script id="fragmentShader3" type="text/something-not-javascript">
+precision mediump float;
+uniform vec4 $replaceMe;
+void main()
+{
+    gl_FragColor = $replaceMe;
+}
+</script>
+<script>
+"use strict";
+var DXWords = [
+  "Buffer",
+  "double",
+  "uint",
+  "half",
+  "dword",
+  "string",
+  "texture",
+  "pixelshader",
+  "vertexshader",
+  "switch",
+  "min16float",
+  "min10float",
+  "min16int",
+  "min12int",
+  "min16uint",
+  "vector",
+  "matrix",
+  "float2",
+  "float3",
+  "float4",
+  "float1x1",
+  "float1x2",
+  "float1x3",
+  "float1x4",
+  "float2x1",
+  "float2x2",
+  "float2x3",
+  "float2x4",
+  "float3x1",
+  "float3x2",
+  "float3x3",
+  "float3x4",
+  "float4x1",
+  "float4x2",
+  "float4x3",
+  "float4x4",
+  "int1x1",
+  "int1x2",
+  "int1x3",
+  "int1x4",
+  "int2x1",
+  "int2x2",
+  "int2x3",
+  "int2x4",
+  "int3x1",
+  "int3x2",
+  "int3x3",
+  "int3x4",
+  "int4x1",
+  "int4x2",
+  "int4x3",
+  "int4x4",
+  "double1x1",
+  "double1x2",
+  "double1x3",
+  "double1x4",
+  "double2x1",
+  "double2x2",
+  "double2x3",
+  "double2x4",
+  "double3x1",
+  "double3x2",
+  "double3x3",
+  "double3x4",
+  "double4x1",
+  "double4x2",
+  "double4x3",
+  "double4x4",
+  "abort",
+  "abs",
+  "acos",
+  "all",
+  "AllMemoryBarrier",
+  "AllMemoryBarrierWithGroupSync",
+  "any",
+  "asdouble",
+  "asfloat",
+  "asin",
+  "asint",
+  "asint",
+  "asuint",
+  "asuint",
+  "atan",
+  "atan2",
+  "ceil",
+  "clamp",
+  "clip",
+  "cos",
+  "cosh",
+  "countbits",
+  "cross",
+  "D3DCOLORtoUBYTE4",
+  "ddx",
+  "ddx_coarse",
+  "ddx_fine",
+  "ddy",
+  "ddy_coarse",
+  "ddy_fine",
+  "degrees",
+  "determinant",
+  "DeviceMemoryBarrier",
+  "DeviceMemoryBarrierWithGroupSync",
+  "distance",
+  "dot",
+  "dst",
+  "errorf",
+  "EvaluateAttributeAtCentroid",
+  "EvaluateAttributeAtSample",
+  "EvaluateAttributeSnapped",
+  "exp",
+  "exp2",
+  "f16tof32",
+  "f32tof16",
+  "faceforward",
+  "firstbithigh",
+  "firstbitlow",
+  "floor",
+  "fma",
+  "fmod",
+  "frac",
+  "frexp",
+  "fwidth",
+  "GetRenderTargetSampleCount",
+  "GetRenderTargetSamplePosition",
+  "GroupMemoryBarrier",
+  "GroupMemoryBarrierWithGroupSync",
+  "InterlockedAdd",
+  "InterlockedAnd",
+  "InterlockedCompareExchange",
+  "InterlockedCompareStore",
+  "InterlockedExchange",
+  "InterlockedMax",
+  "InterlockedMin",
+  "InterlockedOr",
+  "InterlockedXor",
+  "isfinite",
+  "isinf",
+  "isnan",
+  "ldexp",
+  "length",
+  "lerp",
+  "lit",
+  "log",
+  "log10",
+  "log2",
+  "mad",
+  "max",
+  "min",
+  "modf",
+  "msad4",
+  "mul",
+  "noise",
+  "normalize",
+  "pow",
+  "printf",
+  "Process2DQuadTessFactorsAvg",
+  "Process2DQuadTessFactorsMax",
+  "Process2DQuadTessFactorsMin",
+  "ProcessIsolineTessFactors",
+  "ProcessQuadTessFactorsAvg",
+  "ProcessQuadTessFactorsMax",
+  "ProcessQuadTessFactorsMin",
+  "ProcessTriTessFactorsAvg",
+  "ProcessTriTessFactorsMax",
+  "ProcessTriTessFactorsMin",
+  "radians",
+  "rcp",
+  "reflect",
+  "refract",
+  "reversebits",
+  "round",
+  "rsqrt",
+  "saturate",
+  "sign",
+  "sin",
+  "sincos",
+  "sinh",
+  "smoothstep",
+  "sqrt",
+  "step",
+  "tan",
+  "tanh",
+  "tex1D",
+  "tex1D",
+  "tex1Dbias",
+  "tex1Dgrad",
+  "tex1Dlod",
+  "tex1Dproj",
+  "tex2D",
+  "tex2D",
+  "tex2Dbias",
+  "tex2Dgrad",
+  "tex2Dlod",
+  "tex2Dproj",
+  "tex3D",
+  "tex3D",
+  "tex3Dbias",
+  "tex3Dgrad",
+  "tex3Dlod",
+  "tex3Dproj",
+  "texCUBE",
+  "texCUBE",
+  "texCUBEbias",
+  "texCUBEgrad",
+  "texCUBElod",
+  "texCUBEproj",
+  "transpose",
+  "trunc"
+];
+
+var GLSL_4_20_11_words = [
+  "attribute",
+  "const",
+  "uniform",
+  "varying",
+  "coherent",
+  "volatile",
+  "restrict",
+  "readonly",
+  "writeonly",
+  "atomic_uint",
+  "layout",
+  "centroid",
+  "flat",
+  "smooth",
+  "noperspective",
+  "patch",
+  "sample",
+  "break",
+  "continue",
+  "do",
+  "for",
+  "while",
+  "switch",
+  "case",
+  "default",
+  "if",
+  "else",
+  "subroutine",
+  "in",
+  "out",
+  "inout",
+  "float",
+  "double",
+  "int",
+  "void",
+  "bool",
+  "true",
+  "false",
+  "invariant",
+  "discard",
+  "return",
+  "mat2",
+  "mat3",
+  "mat4",
+  "dmat2",
+  "dmat3",
+  "dmat4",
+  "mat2x2",
+  "mat2x3",
+  "mat2x4",
+  "dmat2x2",
+  "dmat2x3",
+  "dmat2x4",
+  "mat3x2",
+  "mat3x3",
+  "mat3x4",
+  "dmat3x2",
+  "dmat3x3",
+  "dmat3x4",
+  "mat4x2",
+  "mat4x3",
+  "mat4x4",
+  "dmat4x2",
+  "dmat4x3",
+  "dmat4x4",
+  "vec2",
+  "vec3",
+  "vec4",
+  "ivec2",
+  "ivec3",
+  "ivec4",
+  "bvec2",
+  "bvec3",
+  "bvec4",
+  "dvec2",
+  "dvec3",
+  "dvec4",
+  "uint",
+  "uvec2",
+  "uvec3",
+  "uvec4",
+  "lowp",
+  "mediump",
+  "highp",
+  "precision",
+  "sampler1D",
+  "sampler2D",
+  "sampler3D",
+  "samplerCube",
+  "sampler1DShadow",
+  "sampler2DShadow",
+  "samplerCubeShadow",
+  "sampler1DArray",
+  "sampler2DArray",
+  "sampler1DArrayShadow",
+  "sampler2DArrayShadow",
+  "isampler1D",
+  "isampler2D",
+  "isampler3D",
+  "isamplerCube",
+  "isampler1DArray",
+  "isampler2DArray",
+  "usampler1D",
+  "usampler2D",
+  "usampler3D",
+  "usamplerCube",
+  "usampler1DArray",
+  "usampler2DArray",
+  "sampler2DRect",
+  "sampler2DRectShadow",
+  "isampler2DRect",
+  "usampler2DRect",
+  "samplerBuffer",
+  "isamplerBuffer",
+  "usamplerBuffer",
+  "sampler2DMS",
+  "isampler2DMS",
+  "usampler2DMS",
+  "sampler2DMSArray",
+  "isampler2DMSArray",
+  "usampler2DMSArray",
+  "samplerCubeArray",
+  "samplerCubeArrayShadow",
+  "isamplerCubeArray",
+  "usamplerCubeArray",
+  "image1D",
+  "iimage1D",
+  "uimage1D",
+  "image2D",
+  "iimage2D",
+  "uimage2D",
+  "image3D",
+  "iimage3D",
+  "uimage3D",
+  "image2DRect",
+  "iimage2DRect",
+  "uimage2DRect",
+  "imageCube",
+  "iimageCube",
+  "uimageCube",
+  "imageBuffer",
+  "iimageBuffer",
+  "uimageBuffer",
+  "image1DArray",
+  "iimage1DArray",
+  "uimage1DArray",
+  "image2DArray",
+  "iimage2DArray",
+  "uimage2DArray",
+  "imageCubeArray",
+  "iimageCubeArray",
+  "uimageCubeArray",
+  "image2DMS",
+  "iimage2DMS",
+  "uimage2DMS",
+  "image2DMSArray",
+  "iimage2DMSArray",
+  "uimage2DMSArray",
+  "struct"
+];
+
+var GLSL_4_20_11_future_words = [
+  "common",
+  "partition",
+  "active",
+  "asm",
+  "class",
+  "union",
+  "enum",
+  "typedef",
+  "template",
+  "this",
+  "packed",
+  "resource",
+  "goto",
+  "inline",
+  "noinline",
+  "public",
+  "static",
+  "extern",
+  "external",
+  "interface",
+  "long",
+  "short",
+  "half",
+  "fixed",
+  "unsigned",
+  "superp",
+  "input",
+  "output",
+  "hvec2",
+  "hvec3",
+  "hvec4",
+  "fvec2",
+  "fvec3",
+  "fvec4",
+  "sampler3DRect",
+  "filter",
+  "sizeof",
+  "cast",
+  "namespace",
+  "using",
+  "row_major"
+];
+
+var GLSL_1_0_17_words = [
+  "attribute",
+  "const",
+  "uniform",
+  "varying",
+  "break",
+  "continue",
+  "do",
+  "for",
+  "while",
+  "if",
+  "else",
+  "in",
+  "out",
+  "inout",
+  "float",
+  "int",
+  "void",
+  "bool",
+  "true",
+  "false",
+  "lowp",
+  "mediump",
+  "highp",
+  "precision",
+  "invariant",
+  "discard",
+  "return",
+  "mat2",
+  "mat3",
+  "mat4",
+  "vec2",
+  "vec3",
+  "vec4",
+  "ivec2",
+  "ivec3",
+  "ivec4",
+  "bvec2",
+  "bvec3",
+  "bvec4",
+  "sampler2D",
+  "samplerCube",
+  "struct"
+]
+
+var GLSL_1_0_17_FutureWords = [
+  "asm",
+  "class",
+  "union",
+  "enum",
+  "typedef",
+  "template",
+  "this",
+  "packed",
+  "goto",
+  "switch",
+  "default",
+  "inline",
+  "noinline",
+  "volatile",
+  "public",
+  "static",
+  "extern",
+  "external",
+  "interface",
+  "flat",
+  "long",
+  "short",
+  "double",
+  "half",
+  "fixed",
+  "unsigned",
+  "superp",
+  "input",
+  "output",
+  "hvec2",
+  "hvec3",
+  "hvec4",
+  "dvec2",
+  "dvec3",
+  "dvec4",
+  "fvec2",
+  "fvec3",
+  "fvec4",
+  "sampler1D",
+  "sampler3D",
+  "sampler1DShadow",
+  "sampler2DShadow",
+  "sampler2DRect",
+  "sampler3DRect",
+  "sampler2DRectShadow",
+  "sizeof",
+  "cast",
+  "namespace",
+  "using"
+];
+
+description();
+
+var wtu = WebGLTestUtils;
+var gl = wtu.create3DContext();
+var c = document.getElementById("console");
+
+var badWords = [
+  { words: DXWords },
+  { words: GLSL_4_20_11_words, },
+  { words: GLSL_4_20_11_future_words, }
+];
+
+var reservedWordsLists = [
+  GLSL_1_0_17_words,
+  GLSL_1_0_17_FutureWords
+];
+
+var reservedWords = { };
+for (var ii = 0; ii < reservedWordsLists.length; ++ii) {
+  var list = reservedWordsLists[ii];
+  for (var jj = 0; jj < list.length; ++jj) {
+    reservedWords[list[jj]] = true;
+  }
+}
+
+var checkedWords = {};
+
+var src = [];
+for (var ii = 0; ii < 4; ++ii) {
+  var vsrc = document.getElementById("vertexShader" + ii).text;
+  var fsrc = document.getElementById("fragmentShader" + ii).text;
+  src.push({vsrc: vsrc, fsrc: fsrc});
+}
+
+var badWordNdx = 0;
+var listNdx = 0;
+
+function testNextWord() {
+  var list = badWords[badWordNdx].words;
+  if (listNdx >= list.length) {
+    ++badWordNdx;
+    if (badWordNdx >= badWords.length) {
+      finishTest();
+      return;
+    }
+    listNdx = 0;
+    list = badWords[badWordNdx].words;
+  }
+  testWord(list[listNdx]);
+  ++listNdx;
+  setTimeout(testNextWord,1);
+}
+testNextWord();
+
+function testWord(word) {
+  if (word in reservedWords || word in checkedWords) {
+    return;
+  }
+  checkedWords[word] = true;
+  debug("");
+  debug("testing: " + word);
+
+  for (var ii = 0; ii < src.length; ++ii) {
+    var vs = src[ii].vsrc.replace(/\$replaceMe/g, word);
+    var fs = src[ii].fsrc.replace(/\$replaceMe/g, word);
+
+    wtu.addShaderSource(c, "vertex shader", vs);
+    wtu.addShaderSource(c, "fragment shader", fs);
+
+    var success = true;
+    var program = wtu.loadProgram(gl, vs, fs, function(msg) {
+      debug(msg);
+      success = false;
+    });
+    if (success) {
+      testPassed("shader with: '" + word + "' compiled");
+    } else {
+      testFailed("shader with: '" + word + "' failed to compile");
+    }
+    if (program) {
+      gl.deleteProgram(program);
+    }
+    wtu.glErrorShouldBe(gl, gl.NO_ERROR, "should be no GL errors");
+  }
+}
+
+
+var successfullyParsed = true;
+</script>
+</body>
+</html>
+
+
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-short-circuiting-operators.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-short-circuiting-operators.html
new file mode 100644 (file)
index 0000000..fc7548f
--- /dev/null
@@ -0,0 +1,191 @@
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta charset="utf-8">
+      <title>WebGL short-circuit evaluation</title>
+      <link rel="stylesheet" href="../../../resources/js-test-style.css"/>
+      <script src="../../../resources/desktop-gl-constants.js" type="text/javascript"></script>
+      <script src="../../../resources/js-test-pre.js"></script>
+      <script src="../../resources/webgl-test.js"></script>
+      <script src="../../resources/webgl-test-utils.js"></script>
+    </head>
+  <body>
+    <div id="description"></div>
+    <div id="console"></div>
+    <canvas id="example" width="2" height="2"> </canvas>
+
+    <!-------------------------------------
+  WebGL Shaders
+---------------------------------------->
+    <!-- Pass through Shaders -->
+    <script id="vshader0" type="x-shader/x-vertex">
+      /* PASS-THROUGH VERTEX SHADER */
+      attribute vec4 vPosition;
+
+      void main()
+      {
+        gl_Position = vPosition;
+      }
+    </script>
+
+    <script id="fshader0" type="x-shader/x-fragment">
+      /* PASS-THROUGH FRAGMENT SHADER */
+      precision mediump float;
+      varying vec4 vPassThrough;
+
+      void main()
+      {
+        gl_FragColor = vPassThrough;
+      }
+    </script>
+
+    <!-- basic conditonal short circuit Shaders -->
+    <script id="vshader1" type="x-shader/x-vertex">
+      attribute vec4 vPosition;
+      varying vec4 vPassThrough;
+
+      void main()
+      {
+        int x = 1;
+        $(variables)
+      
+        if ($(condition))
+        { /*do nothing*/ }
+
+        /* if x was unmodified return green, else return red */
+        vPassThrough = (x == 1) ? vec4(0, 1, 0, 1) : vec4(1, 0, 0, 1);
+        gl_Position = vPosition;
+      }
+    </script>
+
+    <script id="fshader1" type="x-shader/x-fragment">
+      precision mediump float;
+
+      void main()
+      {
+        int x = 1;
+        $(variables)
+        
+        if ($(condition))
+        { /*do nothing*/ }
+
+        gl_FragColor = (x == 1) ? vec4(0, 1, 0, 1) : vec4(1, 0, 0, 1);
+      }
+    </script>
+
+    <!-- Main body of the Webgl program -->
+    <script>
+    "use strict";
+      description();
+
+      var wtu = WebGLTestUtils;
+      var gl = wtu.create3DContext();
+      var c = document.getElementById("console");
+
+      wtu.setupUnitQuad(gl, [0, 1]);
+
+      var shaderTemplates = [
+      { vs: "vshader1", fs: "fshader0" }, // basic vertex short-circuit test
+      { vs: "vshader0", fs: "fshader1" }, // basic fragment short-circuit test
+      ];
+
+      /* replace the names of the shaders in the tempate variables with
+      * the shaders themselves */
+      for (var ii = 0; ii < shaderTemplates.length; ++ii) {
+        var template = shaderTemplates[ii];
+        template.vs = wtu.getScript(template.vs);
+        template.fs = wtu.getScript(template.fs);
+      }
+
+      /* define the conditon that will be used in the shaders. If additional
+       * variables are needed that are not present i the shader they my be
+       * defined in the variables variable */
+      var tests = [
+        { condition: "true || (x = 0) == 1", variables: "" }, /* test basic 'or' short circuit */
+        { condition: "false && (x = 0) == 1", variables: "" }, /* test basic 'and' short circuit */
+        { condition: "(j == 3 && j == k) || (j > (x = 0))", variables: "int j = 3;\nint k = 3;" }, /* test basic 'or' short circuit with actual condition */
+        { condition: "(j == 3 && j == k) && (j > (x = 0))", variables: "int j = 3;\nint k = 4;" }, /* test basic 'and' short circuit with actual condition */
+        { condition: "(j + 3 > k && ((j < 10) || (x + 5 > j + (x = 0))) || ( x = 0 ) == 7)", variables: "int j = 5;\nint k = 3;" }, /* complex test */
+        { condition: "j + 1 == 6 ? x == 1 || j > (x = 0) : (x = 0) == 1 && (x = 0) <= 1", variables: "int j = 5;" }, /* nested with ternary operator */
+      ];
+
+      function testShortCircuit(test) {
+        debug("");
+        debug("testing short circuit condition: " + test.condition);
+
+        /* Setting clear color to blue */
+        gl.clearColor(0.0, 0.0, 1.0, 1.0);
+
+        for (var ii = 0; ii < shaderTemplates.length; ++ii) {
+
+          /* clear the screen so that subsequent tests don't conflict */
+          gl.clear(gl.COLOR_BUFFER_BIT);
+          var template = shaderTemplates[ii];
+
+          var vs = wtu.replaceParams(template.vs, test);
+          var fs = wtu.replaceParams(template.fs, test);
+
+          wtu.addShaderSource(c, "vertex shader", vs);
+          wtu.addShaderSource(c, "fragment shader", fs);
+
+          var vs = wtu.loadShader(gl, vs, gl.VERTEX_SHADER);
+          var fs = wtu.loadShader(gl, fs, gl.FRAGMENT_SHADER);
+          var program = wtu.createProgram(gl, vs, fs);
+
+          gl.useProgram(program);
+
+          wtu.drawQuad(gl);
+          wtu.checkCanvas(gl, [0, 255, 0, 255], "should be green", 0);
+
+          gl.deleteProgram(program);
+          gl.deleteShader(vs);
+          gl.deleteShader(fs);
+
+          wtu.glErrorShouldBe(gl, gl.NO_ERROR, "should be no GL errors");
+        }
+      }
+
+      var testNdx = 0;
+      function runNextTest() {
+          testShortCircuit(tests[testNdx++]);
+          if (testNdx >= tests.length) {
+              finishTest();
+          } else {
+              setTimeout(runNextTest, 1);
+          }
+      }
+
+      runNextTest();
+
+      var successfullyParsed = true;
+
+    </script>
+  </body>
+</html>
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-similar-uniform-array-names.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shader-with-similar-uniform-array-names.html
new file mode 100644 (file)
index 0000000..2de0d45
--- /dev/null
@@ -0,0 +1,131 @@
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>GLSL similar names issue</title>
+<link rel="stylesheet" href="../../../resources/js-test-style.css"/>
+<link rel="stylesheet" href="../../resources/glsl-feature-tests.css"/>
+<script src="../../../resources/js-test-pre.js"></script>
+<script src="../../resources/webgl-test.js"> </script>
+<script src="../../resources/webgl-test-utils.js"> </script>
+
+<script id="vshader", type="x-shader/x-vertex">
+attribute vec4 a_position;
+void main(void) {
+    gl_Position = a_position;
+}
+</script>
+<script id="fshader1", type="x-shader/x-fragment">
+precision mediump float;
+uniform vec4 u_nameCollision[2];
+uniform vec4 u_nameCollision2[2];
+uniform vec4 u_name[2];
+void main(void) {
+    gl_FragColor = u_nameCollision[0] + u_nameCollision2[0] + u_name[0];
+}
+</script>
+<script id="fshader2", type="x-shader/x-fragment">
+precision mediump float;
+uniform vec4 u_nameCollision2[2];
+uniform vec4 u_nameCollision[2];
+uniform vec4 u_name[2];
+void main(void) {
+    gl_FragColor = u_nameCollision2[0] + u_nameCollision[0] + u_name[0];
+}
+</script>
+<script id="fshader3", type="x-shader/x-fragment">
+precision mediump float;
+uniform vec4 u_nameCollision[2];
+uniform vec4 u_name[2];
+uniform vec4 u_nameCollision2[2];
+void main(void) {
+    gl_FragColor = u_nameCollision[0] + u_name[0] + u_nameCollision2[0];
+}
+</script>
+<script id="fshader4", type="x-shader/x-fragment">
+precision mediump float;
+uniform vec4 u_nameCollision2[2];
+uniform vec4 u_name[2];
+uniform vec4 u_nameCollision[2];
+void main(void) {
+    gl_FragColor = u_nameCollision2[0] + u_name[0] + u_nameCollision[0];
+}
+</script>
+<script id="fshader5", type="x-shader/x-fragment">
+precision mediump float;
+uniform vec4 u_name[2];
+uniform vec4 u_nameCollision[2];
+uniform vec4 u_nameCollision2[2];
+void main(void) {
+    gl_FragColor = u_name[0] + u_nameCollision[0] + u_nameCollision2[0];
+}
+</script>
+<script id="fshader6", type="x-shader/x-fragment">
+precision mediump float;
+uniform vec4 u_name[2];
+uniform vec4 u_nameCollision2[2];
+uniform vec4 u_nameCollision[2];
+void main(void) {
+    gl_FragColor = u_name[0] + u_nameCollision2[0] + u_nameCollision[0];
+}
+</script>
+</head>
+<body>
+<canvas id="canvas" width="50" height="50"></canvas>
+<div id="description"></div>
+<div id="console"></div>
+<script>
+"use strict";
+description();
+
+var wtu = WebGLTestUtils;
+var gl = wtu.create3DContext("canvas");
+wtu.setupUnitQuad(gl);
+
+for (var ii = 0; ii < 6; ++ii) {
+  var program = wtu.setupProgram(gl, ["vshader", "fshader" + (ii + 1)], ["a_position"]);
+  var loc1 = gl.getUniformLocation(program, "u_name[0]");
+  var loc2 = gl.getUniformLocation(program, "u_nameCollision[0]");
+  var loc3 = gl.getUniformLocation(program, "u_nameCollision2[0]");
+  gl.uniform4fv(loc1, [1, 0, 0, 0]);
+  gl.uniform4fv(loc2, [0, 1, 0, 0]);
+  gl.uniform4fv(loc3, [0, 0, 0, 1]);
+  wtu.drawQuad(gl);
+  wtu.checkCanvas(gl, [255, 255, 0, 255], "Should be yellow");
+}
+
+glErrorShouldBe(gl, gl.NO_ERROR, "there should be no errors");
+
+var successfullyParsed = true;
+</script>
+<script src="../../../resources/js-test-post.js"></script>
+</body>
+</html>
+
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shaders-with-varyings.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/misc/shaders-with-varyings.html
new file mode 100644 (file)
index 0000000..521bdc0
--- /dev/null
@@ -0,0 +1,116 @@
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>WebGL GLSL Conformance Tests</title>
+<link rel="stylesheet" href="../../../resources/js-test-style.css"/>
+<link rel="stylesheet" href="../../resources/glsl-feature-tests.css"/>
+<script src="../../../resources/js-test-pre.js"></script>
+<script src="../../resources/webgl-test-utils.js"></script>
+<script src="../../resources/glsl-conformance-test.js"></script>
+</head>
+<body>
+<div id="description"></div>
+<div id="console"></div>
+<script id="vertexShaderNoVarying" type="text/something-not-javascript">
+void main()
+{
+    gl_Position = vec4(0,0,0,0);
+}
+</script>
+<script id="vertexShaderUnusedVarying" type="text/something-not-javascript">
+varying vec4 v_varying;
+
+void main()
+{
+    gl_Position = vec4(0,0,0,0);
+}
+</script>
+<script id="fragmentShaderUnusedVarying" type="text/something-not-javascript">
+precision mediump float;
+
+varying vec4 v_varying;
+
+void main()
+{
+    gl_FragColor = vec4(0,0,0,0);
+}
+</script>
+<script id="fragmentShaderUsedVarying" type="text/something-not-javascript">
+precision mediump float;
+
+varying vec4 v_varying;
+
+void main()
+{
+    gl_FragColor = v_varying;
+}
+</script>
+<script>
+// GLSL 1.0.17 4.3.5
+"use strict";
+GLSLConformanceTester.runTests([
+  {
+    vShaderId: "vertexShaderNoVarying",
+    vShaderSuccess: true,
+    fShaderId: "fragmentShaderUnusedVarying",
+    fShaderSuccess: true,
+    linkSuccess: true,
+    passMsg: "vertex shader with no varying and fragment shader with unused varying must succeed",
+  },
+  {
+    vShaderId: "vertexShaderNoVarying",
+    vShaderSuccess: true,
+    fShaderId: "fragmentShaderUsedVarying",
+    fShaderSuccess: true,
+    linkSuccess: false,
+    passMsg: "vertex shader with no varying and fragment shader with used varying must fail",
+  },
+  {
+    vShaderId: "vertexShaderUnusedVarying",
+    vShaderSuccess: true,
+    fShaderId: "fragmentShaderUnusedVarying",
+    fShaderSuccess: true,
+    linkSuccess: true,
+    passMsg: "vertex shader with unused varying and fragment shader with unused varying must succeed",
+  },
+  {
+    vShaderId: "vertexShaderUnusedVarying",
+    vShaderSuccess: true,
+    fShaderId: "fragmentShaderUsedVarying",
+    fShaderSuccess: true,
+    linkSuccess: true,
+    passMsg: "vertex shader with unused varying and fragment shader with used varying must succeed",
+  },
+]);
+var successfullyParsed = true;
+</script>
+</body>
+</html>
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/variables/gl-pointcoord.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/glsl/variables/gl-pointcoord.html
new file mode 100644 (file)
index 0000000..7ea7471
--- /dev/null
@@ -0,0 +1,163 @@
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+  <title>gl-pointcoord Test</title>
+  <link rel="stylesheet" href="../../../resources/js-test-style.css"/>
+  <script src="../../../resources/js-test-pre.js"></script>
+  <script src="../../resources/webgl-test.js"> </script>
+  <script src="../../resources/webgl-test-utils.js"> </script>
+</head>
+<body>
+<canvas id="example" width="256" height="256">
+</canvas>
+<div id="description"></div>
+<div id="console"></div>
+  <script id="vshader" type="x-shader/x-vertex">
+    attribute vec4 vPosition;
+    uniform float uPointSize;
+    void main()
+    {
+      gl_PointSize = uPointSize;
+      gl_Position = vPosition;
+    }
+  </script>
+
+  <script id="fshader" type="x-shader/x-fragment">
+    precision mediump float;
+    void main()
+    {
+      gl_FragColor = vec4(
+        gl_PointCoord.x,
+        gl_PointCoord.y,
+        0,
+        1);
+    }
+  </script>
+
+  <script>
+    "use strict";
+    description("Checks gl_PointCoord and gl_PointSize");
+    debug("");
+
+    // NOTE: I'm not 100% confident in this test. I think it is correct.
+
+    var wtu = WebGLTestUtils;
+    var gl = wtu.create3DContext("example");
+    shouldBeNonNull("gl");
+    var program = wtu.setupProgram(gl, ["vshader", "fshader"], ["vPosition"]);
+    shouldBe("gl.getError()", "gl.NO_ERROR");
+
+    var canvas = gl.canvas;
+    var width = canvas.width;
+    var height = canvas.height;
+    shouldBe("width", "height");
+
+    var maxPointSize = gl.getParameter(gl.ALIASED_POINT_SIZE_RANGE)[1];
+    shouldBeTrue("maxPointSize >= 1");
+    // The minimum and maximum point sizes may be floating-point numbers.
+    shouldBeTrue("Math.floor(maxPointSize) >= 1");
+    maxPointSize = Math.floor(maxPointSize);
+    shouldBeTrue("maxPointSize % 1 == 0");
+
+    maxPointSize = Math.min(maxPointSize, 64);
+    var pointWidth = maxPointSize / width;
+    var pointStep = Math.floor(maxPointSize / 4);
+    var pointStep = Math.max(1, pointStep);
+
+    var pointSizeLoc = gl.getUniformLocation(program, "uPointSize");
+    gl.uniform1f(pointSizeLoc, maxPointSize);
+
+    var pixelOffset = (maxPointSize % 2) ? (1 / width) : 0;
+    var vertexObject = gl.createBuffer();
+    gl.bindBuffer(gl.ARRAY_BUFFER, vertexObject);
+    gl.bufferData(
+        gl.ARRAY_BUFFER,
+        new Float32Array(
+          [-0.5 + pixelOffset, -0.5 + pixelOffset,
+            0.5 + pixelOffset, -0.5 + pixelOffset,
+           -0.5 + pixelOffset,  0.5 + pixelOffset,
+            0.5 + pixelOffset,  0.5 + pixelOffset]),
+        gl.STATIC_DRAW);
+    gl.enableVertexAttribArray(0);
+    gl.vertexAttribPointer(0, 2, gl.FLOAT, false, 0, 0);
+
+    gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
+
+    gl.drawArrays(gl.POINTS, 0, 4);
+    shouldBe("gl.getError()", "gl.NO_ERROR");
+
+    function s2p(s) {
+      return (s + 1.0) * 0.5 * width;
+    }
+
+    //function print(x, y) {
+    //  var b = new Uint8Array(4);
+    //  gl.readPixels(x, y, 1, 1, gl.RGBA, gl.UNSIGNED_BYTE, b);
+    //  debug("" + x + "," + y + ": " + b[0] + "," + b[1] + "," + b[2]);
+    //}
+    //
+    //for (var ii = 0; ii < 100; ++ii) {
+    //  print(ii, ii);
+    //}
+
+    for (var py = 0; py < 2; ++py) {
+      for (var px = 0; px < 2; ++px) {
+        debug("");
+        var pointX = -0.5 + px + pixelOffset;
+        var pointY = -0.5 + py + pixelOffset;
+        for (var yy = 0; yy < maxPointSize; yy += pointStep) {
+          for (var xx = 0; xx < maxPointSize; xx += pointStep) {
+            // formula for s and t from OpenGL ES 2.0 spec section 3.3
+            var xw = s2p(pointX);
+            var yw = s2p(pointY);
+            //debug("xw: " + xw + " yw: " + yw);
+            var u = xx / maxPointSize * 2 - 1;
+            var v = yy / maxPointSize * 2 - 1;
+            var xf = Math.floor(s2p(pointX + u * pointWidth));
+            var yf = Math.floor(s2p(pointY + v * pointWidth));
+            //debug("xf: " + xf + " yf: " + yf);
+            var s = 0.5 + (xf + 0.5 - xw) / maxPointSize;
+            var t = 0.5 + (yf + 0.5 - yw) / maxPointSize;
+            //debug("s: " + s + " t: " + t);
+            var color = [Math.floor(s * 255), Math.floor((1 - t) * 255), 0];
+            var msg = "pixel " + xf + "," + yf + " should be " + color;
+            wtu.checkCanvasRect(gl, xf, yf, 1, 1, color, msg, 4);
+          }
+        }
+      }
+    }
+
+    var successfullyParsed = true;
+  </script>
+  <script src="../../../resources/js-test-post.js"></script>
+
+</body>
+</html>
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-A.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-A.html
new file mode 100644 (file)
index 0000000..c9b9958
--- /dev/null
@@ -0,0 +1,84 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+<link rel="stylesheet" type="text/css" href="../unit.css" />
+<script type="application/x-javascript" src="../unit.js"></script>
+<script type="application/x-javascript" src="../util.js"></script>
+<script type="application/x-javascript" src="quickCheckAPI.js"></script>
+<script type="application/x-javascript" src="argGenerators-A.js"></script>
+
+<script type="application/x-javascript">
+
+// Test that all GL functions specified in ArgGenerators work
+// when called with randomly generated valid arguments
+Tests.testValidArgs = function() {
+  var randomTestCount = 100;
+  for (var name in ArgGenerators) {
+    try {
+      if (!GL[name])
+        throw (new Error(name + " is missing from the WebGL context"));
+      var argGen = ArgGenerators[name];
+      var alreadyTriedArgs = {};
+      if (!argGen.generate) continue;
+      // test each GL function with randomTestCount randomly generated valid args
+      argGeneratorTestRunner(argGen, function(args, gen, setupVars) {
+        if (!gen.noAlreadyTriedCheck) {
+          var src = Object.toSource(args);
+          if (alreadyTriedArgs[src])
+            return true;
+
+          alreadyTriedArgs[src] = true;
+        }
+        var ok = false;
+        // if we have an validity checker, assert that the generated args are valid
+        if (gen.checkArgValidity)
+          assert("Valid args: "+name+"("+args.map(function(a){return Object.toSource(a)}).join(",")+")",
+                gen.checkArgValidity.apply(gen, args));
+        var rv;
+        // assert that GL function works when called with valid args
+        assertOk("This should work: "+name+"("+args.map(function(a){return Object.toSource(a)}).join(",")+")",
+                function(){rv = GL[name].apply(GL, args); ok = true;});
+        // if we need to cleanup the return value, do it here
+        // e.g. calling gl.deleteBuffer(rv) after testing gl.createBuffer() above
+        if (gen.returnValueCleanup)
+          assertOk("Cleaning up return value after "+name+"("+args.map(function(a){return Object.toSource(a)}).join(",")+")",
+                   function() { gen.returnValueCleanup(rv); });
+        return ok;
+      }, argGen.testCount || randomTestCount);
+    } catch(e) {
+      testFailed(name, e.name, formatError(e));
+    }
+  }
+}
+
+</script>
+<style>canvas{position:absolute;}</style>
+</head><body>
+</body></html>
diff --git a/LayoutTests/webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B1.html b/LayoutTests/webgl/resources/webgl_test_files/conformance/more/conformance/quickCheckAPI-B1.html
new file mode 100644 (file)
index 0000000..afcc74c
--- /dev/null
@@ -0,0 +1,84 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<!--
+
+/*
+** Copyright (c) 2012 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
+-->
+<link rel="stylesheet" type="text/css" href="../unit.css" />
+<script type="application/x-javascript" src="../unit.js"></script>
+<script type="application/x-javascript" src