From 4efa22dbe3beeb8280c331d37c8fc3d211241acc Mon Sep 17 00:00:00 2001 From: Vladimir Vukicevic Date: Tue, 15 Jun 2010 10:30:13 -0700 Subject: [PATCH] webgl test suite update --- .../conformance/gl-enable-enum-test.html | 2 +- .../test/webgl/conformance/gl-get-calls.html | 2 - .../test/webgl/conformance/gl-getstring.html | 15 +- .../test/webgl/conformance/program-test.html | 128 ++++++++++++++---- .../conformance/resources/get-active-test.js | 6 +- 5 files changed, 115 insertions(+), 38 deletions(-) diff --git a/content/canvas/test/webgl/conformance/gl-enable-enum-test.html b/content/canvas/test/webgl/conformance/gl-enable-enum-test.html index 734d906f08d..488924e6f72 100644 --- a/content/canvas/test/webgl/conformance/gl-enable-enum-test.html +++ b/content/canvas/test/webgl/conformance/gl-enable-enum-test.html @@ -107,7 +107,7 @@ if (!gl) { 'BLEND', 'CULL_FACE', 'DEPTH_TEST', - 'DITHER ', + 'DITHER', 'POLYGON_OFFSET_FILL', 'SAMPLE_ALPHA_TO_COVERAGE', 'SAMPLE_COVERAGE', diff --git a/content/canvas/test/webgl/conformance/gl-get-calls.html b/content/canvas/test/webgl/conformance/gl-get-calls.html index a4614b321b2..d4ae8e78ea1 100644 --- a/content/canvas/test/webgl/conformance/gl-get-calls.html +++ b/content/canvas/test/webgl/conformance/gl-get-calls.html @@ -117,12 +117,10 @@ else { shouldBeTrue('context.getParameter(context.MAX_VERTEX_UNIFORM_VECTORS) >= 128'); shouldBeTrue('context.getParameter(context.MAX_VARYING_VECTORS) >= 8'); shouldBe('context.getParameter(context.NUM_COMPRESSED_TEXTURE_FORMATS)', '0'); - shouldBe('context.getParameter(context.NUM_SHADER_BINARY_FORMATS)', '0'); shouldBe('context.getParameter(context.SHADER_COMPILER)', 'true'); shouldBe('context.getParameter(context.IMPLEMENTATION_COLOR_READ_FORMAT)', 'context.RGBA'); shouldBe('context.getParameter(context.IMPLEMENTATION_COLOR_READ_TYPE)', 'context.UNSIGNED_BYTE'); shouldBe('context.getParameter(context.COMPRESSED_TEXTURE_FORMATS)', '[]'); - shouldBe('context.getParameter(context.SHADER_BINARY_FORMATS)', '[]'); } debug(""); diff --git a/content/canvas/test/webgl/conformance/gl-getstring.html b/content/canvas/test/webgl/conformance/gl-getstring.html index a54f1a7060c..ccab8970608 100644 --- a/content/canvas/test/webgl/conformance/gl-getstring.html +++ b/content/canvas/test/webgl/conformance/gl-getstring.html @@ -8,7 +8,7 @@ found in the LICENSE file. -WebGL gl.getString Conformance Tests +WebGL gl.getParameter Strings Conformance Tests @@ -19,7 +19,7 @@ found in the LICENSE file.