aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorImanol Fernandez <mortimergoro@gmail.com>2017-05-16 11:14:23 +0200
committerImanol Fernandez <mortimergoro@gmail.com>2017-05-18 18:44:07 +0200
commit32e23c4db4a80f8ebe01bead141c5ca04bc6b215 (patch)
tree3062608b9ac6441f73d6507ebe4d25100e2676d1 /tests
parentac99a48aeaa184d3acdb39d249636a140c4b7393 (diff)
downloadservo-32e23c4db4a80f8ebe01bead141c5ca04bc6b215.tar.gz
servo-32e23c4db4a80f8ebe01bead141c5ca04bc6b215.zip
Implement WebGL extensions.
Diffstat (limited to 'tests')
-rw-r--r--tests/wpt/metadata/webgl/conformance-1.0.3/conformance/context/methods.html.ini5
-rw-r--r--tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-linear.html.ini5
-rw-r--r--tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-with-canvas.html.ini6
-rw-r--r--tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-with-image-data.html.ini5
-rw-r--r--tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-with-image.html.ini6
-rw-r--r--tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float.html.ini3
-rw-r--r--tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-linear.html.ini5
-rw-r--r--tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-with-canvas.html.ini5
-rw-r--r--tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-with-image-data.html.ini5
-rw-r--r--tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-with-video.html.ini5
-rw-r--r--tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float.html.ini5
-rw-r--r--tests/wpt/metadata/webgl/conformance-1.0.3/conformance/textures/tex-image-with-format-and-type.html.ini37
12 files changed, 46 insertions, 46 deletions
diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/context/methods.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/context/methods.html.ini
index 798eb1b49b7..2c663c9ceb3 100644
--- a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/context/methods.html.ini
+++ b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/context/methods.html.ini
@@ -15,9 +15,6 @@
[WebGL test #4: Property either does not exist or is not a function: getUniform]
expected: FAIL
- [WebGL test #5: Property either does not exist or is not a function: getVertexAttribOffset]
- expected: FAIL
-
- [WebGL test #6: Property either does not exist or is not a function: isContextLost]
+ [WebGL test #5: Property either does not exist or is not a function: isContextLost]
expected: FAIL
diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-linear.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-linear.html.ini
deleted file mode 100644
index b605dfb4a79..00000000000
--- a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-linear.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[oes-texture-float-linear.html]
- type: testharness
- [WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
- expected: FAIL
-
diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-with-canvas.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-with-canvas.html.ini
index 9edc87baade..2c482688634 100644
--- a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-with-canvas.html.ini
+++ b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-with-canvas.html.ini
@@ -1,5 +1,5 @@
[oes-texture-float-with-canvas.html]
type: testharness
- [WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
- expected: FAIL
-
+ expected: ERROR
+ [Overall test]
+ expected: NOTRUN \ No newline at end of file
diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-with-image-data.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-with-image-data.html.ini
deleted file mode 100644
index 6b331ea60bf..00000000000
--- a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-with-image-data.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[oes-texture-float-with-image-data.html]
- type: testharness
- [WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
- expected: FAIL
-
diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-with-image.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-with-image.html.ini
deleted file mode 100644
index d4887ba03f2..00000000000
--- a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float-with-image.html.ini
+++ /dev/null
@@ -1,6 +0,0 @@
-[oes-texture-float-with-image.html]
- type: testharness
- [WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
- expected:
- if os == "linux": FAIL
-
diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float.html.ini
deleted file mode 100644
index b52ca3b2827..00000000000
--- a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-float.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[oes-texture-float.html]
- type: testharness
- disabled: flaky
diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-linear.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-linear.html.ini
deleted file mode 100644
index c26e8c0ec08..00000000000
--- a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-linear.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[oes-texture-half-float-linear.html]
- type: testharness
- [WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
- expected: FAIL
-
diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-with-canvas.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-with-canvas.html.ini
new file mode 100644
index 00000000000..de7864b252e
--- /dev/null
+++ b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-with-canvas.html.ini
@@ -0,0 +1,5 @@
+[oes-texture-half-float-with-canvas.html]
+ type: testharness
+ expected: ERROR
+ [Overall test]
+ expected: NOTRUN \ No newline at end of file
diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-with-image-data.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-with-image-data.html.ini
deleted file mode 100644
index 2a69bf28dbc..00000000000
--- a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-with-image-data.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[oes-texture-half-float-with-image-data.html]
- type: testharness
- [WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
- expected: FAIL
-
diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-with-video.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-with-video.html.ini
index b5bfcb9b7bc..d8fe0d94541 100644
--- a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-with-video.html.ini
+++ b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float-with-video.html.ini
@@ -1,6 +1,3 @@
[oes-texture-half-float-with-video.html]
type: testharness
- [WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
- expected:
- if os == "linux": FAIL
-
+ disabled: flaky
diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float.html.ini
deleted file mode 100644
index 95ca3da7cef..00000000000
--- a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/extensions/oes-texture-half-float.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[oes-texture-half-float.html]
- type: testharness
- [WebGL test #2: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
- expected: FAIL
-
diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/textures/tex-image-with-format-and-type.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/textures/tex-image-with-format-and-type.html.ini
index 6de5d1c40f0..0886c10762a 100644
--- a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/textures/tex-image-with-format-and-type.html.ini
+++ b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/textures/tex-image-with-format-and-type.html.ini
@@ -1,3 +1,38 @@
[tex-image-with-format-and-type.html]
type: testharness
- expected: CRASH
+
+ [WebGL test #6: LUMINANCE/UNSIGNED_BYTE should maintain full precision of data]
+ expected: FAIL
+
+ [WebGL test #7: LUMINANCE_ALPHA/UNSIGNED_BYTE should maintain full precision of data]
+ expected: FAIL
+
+ [WebGL test #14: LUMINANCE/UNSIGNED_BYTE should maintain full precision of data]
+ expected: FAIL
+
+ [WebGL test #15: LUMINANCE_ALPHA/UNSIGNED_BYTE should maintain full precision of data]
+ expected: FAIL
+
+ [WebGL test #22: LUMINANCE/UNSIGNED_BYTE should maintain full precision of data]
+ expected: FAIL
+
+ [WebGL test #23: LUMINANCE_ALPHA/UNSIGNED_BYTE should maintain full precision of data]
+ expected: FAIL
+
+ [WebGL test #30: LUMINANCE/UNSIGNED_BYTE should maintain full precision of data]
+ expected: FAIL
+
+ [WebGL test #31: LUMINANCE_ALPHA/UNSIGNED_BYTE should maintain full precision of data]
+ expected: FAIL
+
+ [WebGL test #65: UNPACK_PREMULTIPLY_ALPHA_WEBGL with RGBA/UNSIGNED_SHORT_4_4_4_4]
+ expected: FAIL
+
+ [WebGL test #66: UNPACK_PREMULTIPLY_ALPHA_WEBGL with RGBA/UNSIGNED_SHORT_5_5_5_1]
+ expected: FAIL
+
+ [WebGL test #69: UNPACK_PREMULTIPLY_ALPHA_WEBGL with RGBA/UNSIGNED_SHORT_4_4_4_4]
+ expected: FAIL
+
+ [WebGL test #70: UNPACK_PREMULTIPLY_ALPHA_WEBGL with RGBA/UNSIGNED_SHORT_5_5_5_1]
+ expected: FAIL