Title: [271048] trunk/LayoutTests
Revision
271048
Author
[email protected]
Date
2020-12-21 21:20:03 -0800 (Mon, 21 Dec 2020)

Log Message

https://bugs.webkit.org/show_bug.cgi?id=220078
Remove non-inclusive language from WebGL tests

Reviewed by Alex Christensen.

* webgl/1.0.3/resources/webgl_test_files/conformance/extensions/oes-element-index-uint.html:
* webgl/1.0.3/resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html:
* webgl/2.0.0/resources/webgl_test_files/conformance/extensions/oes-element-index-uint.html:
* webgl/2.0.0/resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html:
* webgl/2.0.0/resources/webgl_test_files/conformance2/rendering/element-index-uint.html:
* webgl/2.0.0/resources/webgl_test_files/conformance2/vertex_arrays/vertex-array-object.html:
* webgl/2.0.0/resources/webgl_test_files/js/tests/no-over-optimizations-on-uniform-array.js:
(setupTests):

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (271047 => 271048)


--- trunk/LayoutTests/ChangeLog	2020-12-22 03:23:54 UTC (rev 271047)
+++ trunk/LayoutTests/ChangeLog	2020-12-22 05:20:03 UTC (rev 271048)
@@ -1,5 +1,21 @@
 2020-12-21  Beth Dakin  <[email protected]>
 
+        https://bugs.webkit.org/show_bug.cgi?id=220078
+        Remove non-inclusive language from WebGL tests
+
+        Reviewed by Alex Christensen.
+
+        * webgl/1.0.3/resources/webgl_test_files/conformance/extensions/oes-element-index-uint.html:
+        * webgl/1.0.3/resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html:
+        * webgl/2.0.0/resources/webgl_test_files/conformance/extensions/oes-element-index-uint.html:
+        * webgl/2.0.0/resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html:
+        * webgl/2.0.0/resources/webgl_test_files/conformance2/rendering/element-index-uint.html:
+        * webgl/2.0.0/resources/webgl_test_files/conformance2/vertex_arrays/vertex-array-object.html:
+        * webgl/2.0.0/resources/webgl_test_files/js/tests/no-over-optimizations-on-uniform-array.js:
+        (setupTests):
+
+2020-12-21  Beth Dakin  <[email protected]>
+
         Remove non-inclusive language from layout tests
         https://bugs.webkit.org/show_bug.cgi?id=220063
 

Modified: trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/extensions/oes-element-index-uint.html (271047 => 271048)


--- trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/extensions/oes-element-index-uint.html	2020-12-22 03:23:54 UTC (rev 271047)
+++ trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/extensions/oes-element-index-uint.html	2020-12-22 05:20:03 UTC (rev 271048)
@@ -181,7 +181,7 @@
         gl.enableVertexAttribArray(opt_positionLocation);
         gl.vertexAttribPointer(opt_positionLocation, 3, gl.FLOAT, false, 0, 0);
     };
-    function testPixel(blackList, whiteList) {
+    function testPixel(blockList, allowList) {
         function testList(list, expected) {
             for (var n = 0; n < list.length; n++) {
                 var l = list[n];
@@ -191,8 +191,8 @@
                     "Draw should pass", 2);
             }
         }
-        testList(blackList, 0);
-        testList(whiteList, 255);
+        testList(blockList, 0);
+        testList(allowList, 255);
     };
     function verifyDraw(s) {
         gl.clearColor(1.0, 1.0, 1.0, 1.0);
@@ -199,17 +199,17 @@
         gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
         gl.drawElements(gl.TRIANGLES, 6, gl.UNSIGNED_INT, 0);
 
-        var blackList = [];
-        var whiteList = [];
+        var blockList = [];
+        var allowList = [];
         var points = [0.0, 0.2, 0.4, 0.6, 0.8, 1.0];
         for (var n = 0; n < points.length; n++) {
             if (points[n] <= s) {
-                blackList.push(points[n]);
+                blockList.push(points[n]);
             } else {
-                whiteList.push(points[n]);
+                allowList.push(points[n]);
             }
         }
-        testPixel(blackList, whiteList);
+        testPixel(blockList, allowList);
     };
 
     setupDraw(0.5);

Modified: trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html (271047 => 271048)


--- trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html	2020-12-22 03:23:54 UTC (rev 271047)
+++ trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html	2020-12-22 05:20:03 UTC (rev 271048)
@@ -344,10 +344,10 @@
 // does not get passed down to glUniform so when setting the uniform 'big[3]' they
 // overwrite memory.
 //
-// If the driver crashes, yea. We found a bug. We can blacklist the driver.
+// If the driver crashes, yea. We found a bug. We can block the driver.
 // Otherwise we try various combinations so that setting 'little[0]' first
 // and then setting all elements of 'big' we hope it will overwrite 'little[0]'
-// which will show the bug and again we can blacklist the driver.
+// which will show the bug and again we can block the driver.
 //
 // We don't know how the driver will order, in memory, the various uniforms
 // or for that matter we don't even know if they will be contiguous in memory

Modified: trunk/LayoutTests/webgl/2.0.0/resources/webgl_test_files/conformance/extensions/oes-element-index-uint.html (271047 => 271048)


--- trunk/LayoutTests/webgl/2.0.0/resources/webgl_test_files/conformance/extensions/oes-element-index-uint.html	2020-12-22 03:23:54 UTC (rev 271047)
+++ trunk/LayoutTests/webgl/2.0.0/resources/webgl_test_files/conformance/extensions/oes-element-index-uint.html	2020-12-22 05:20:03 UTC (rev 271048)
@@ -181,7 +181,7 @@
         gl.enableVertexAttribArray(opt_positionLocation);
         gl.vertexAttribPointer(opt_positionLocation, 3, gl.FLOAT, false, 0, 0);
     };
-    function testPixel(blackList, whiteList) {
+    function testPixel(blockList, allowList) {
         function testList(list, expected) {
             for (var n = 0; n < list.length; n++) {
                 var l = list[n];
@@ -191,8 +191,8 @@
                     "Draw should pass", 2);
             }
         }
-        testList(blackList, 0);
-        testList(whiteList, 255);
+        testList(blockList, 0);
+        testList(allowList, 255);
     };
     function verifyDraw(s) {
         gl.clearColor(1.0, 1.0, 1.0, 1.0);
@@ -200,17 +200,17 @@
         wtu.setFloatDrawColor(gl, [0.0, 0.0, 0.0, 1.0]);
         gl.drawElements(gl.TRIANGLES, 6, gl.UNSIGNED_INT, 0);
 
-        var blackList = [];
-        var whiteList = [];
+        var blockList = [];
+        var allowList = [];
         var points = [0.0, 0.2, 0.4, 0.6, 0.8, 1.0];
         for (var n = 0; n < points.length; n++) {
             if (points[n] <= s) {
-                blackList.push(points[n]);
+                blockList.push(points[n]);
             } else {
-                whiteList.push(points[n]);
+                allowList.push(points[n]);
             }
         }
-        testPixel(blackList, whiteList);
+        testPixel(blockList, allowList);
     };
 
     setupDraw(0.5);

Modified: trunk/LayoutTests/webgl/2.0.0/resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html (271047 => 271048)


--- trunk/LayoutTests/webgl/2.0.0/resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html	2020-12-22 03:23:54 UTC (rev 271047)
+++ trunk/LayoutTests/webgl/2.0.0/resources/webgl_test_files/conformance/uniforms/gl-uniform-arrays.html	2020-12-22 05:20:03 UTC (rev 271048)
@@ -344,10 +344,10 @@
 // does not get passed down to glUniform so when setting the uniform 'big[3]' they
 // overwrite memory.
 //
-// If the driver crashes, yea. We found a bug. We can blacklist the driver.
+// If the driver crashes, yea. We found a bug. We can block the driver.
 // Otherwise we try various combinations so that setting 'little[0]' first
 // and then setting all elements of 'big' we hope it will overwrite 'little[0]'
-// which will show the bug and again we can blacklist the driver.
+// which will show the bug and again we can block the driver.
 //
 // We don't know how the driver will order, in memory, the various uniforms
 // or for that matter we don't even know if they will be contiguous in memory

Modified: trunk/LayoutTests/webgl/2.0.0/resources/webgl_test_files/conformance2/rendering/element-index-uint.html (271047 => 271048)


--- trunk/LayoutTests/webgl/2.0.0/resources/webgl_test_files/conformance2/rendering/element-index-uint.html	2020-12-22 03:23:54 UTC (rev 271047)
+++ trunk/LayoutTests/webgl/2.0.0/resources/webgl_test_files/conformance2/rendering/element-index-uint.html	2020-12-22 05:20:03 UTC (rev 271048)
@@ -155,7 +155,7 @@
         gl.readPixels(x, y, 1, 1, gl.RGBA, gl.UNSIGNED_BYTE, pixels);
         return pixels;
     };
-    function testPixel(blackList, whiteList) {
+    function testPixel(blockList, allowList) {
         function testList(list, expected) {
             for (var n = 0; n < list.length; n++) {
                 var l = list[n];
@@ -168,7 +168,7 @@
             }
             return true;
         }
-        return testList(blackList, 0) && testList(whiteList, 255);
+        return testList(blockList, 0) && testList(allowList, 255);
     };
     function verifyDraw(drawNumber, s) {
         gl.clearColor(1.0, 1.0, 1.0, 1.0);
@@ -175,17 +175,17 @@
         gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT);
         gl.drawElements(gl.TRIANGLES, 6, gl.UNSIGNED_INT, 0);
 
-        var blackList = [];
-        var whiteList = [];
+        var blockList = [];
+        var allowList = [];
         var points = [0.0, 0.2, 0.4, 0.6, 0.8, 1.0];
         for (var n = 0; n < points.length; n++) {
             if (points[n] <= s) {
-                blackList.push(points[n]);
+                blockList.push(points[n]);
             } else {
-                whiteList.push(points[n]);
+                allowList.push(points[n]);
             }
         }
-        if (testPixel(blackList, whiteList)) {
+        if (testPixel(blockList, allowList)) {
             testPassed("Draw " + drawNumber + " passed pixel test");
         } else {
             testFailed("Draw " + drawNumber + " failed pixel test");

Modified: trunk/LayoutTests/webgl/2.0.0/resources/webgl_test_files/conformance2/vertex_arrays/vertex-array-object.html (271047 => 271048)


--- trunk/LayoutTests/webgl/2.0.0/resources/webgl_test_files/conformance2/vertex_arrays/vertex-array-object.html	2020-12-22 03:23:54 UTC (rev 271047)
+++ trunk/LayoutTests/webgl/2.0.0/resources/webgl_test_files/conformance2/vertex_arrays/vertex-array-object.html	2020-12-22 05:20:03 UTC (rev 271048)
@@ -333,7 +333,7 @@
         gl.readPixels(x, y, 1, 1, gl.RGBA, gl.UNSIGNED_BYTE, pixels);
         return pixels;
     };
-    function testPixel(blackList, whiteList) {
+    function testPixel(blockList, allowList) {
         function testList(list, expected) {
             for (var n = 0; n < list.length; n++) {
                 var l = list[n];
@@ -346,21 +346,21 @@
             }
             return true;
         }
-        return testList(blackList, 0) && testList(whiteList, 255);
+        return testList(blockList, 0) && testList(allowList, 255);
     };
     function verifyDraw(drawNumber, s) {
         wtu.clearAndDrawUnitQuad(gl);
-        var blackList = [];
-        var whiteList = [];
+        var blockList = [];
+        var allowList = [];
         var points = [0.0, 0.2, 0.4, 0.6, 0.8, 1.0];
         for (var n = 0; n < points.length; n++) {
             if (points[n] <= s) {
-                blackList.push(points[n]);
+                blockList.push(points[n]);
             } else {
-                whiteList.push(points[n]);
+                allowList.push(points[n]);
             }
         }
-        if (testPixel(blackList, whiteList)) {
+        if (testPixel(blockList, allowList)) {
             testPassed("Draw " + drawNumber + " passed pixel test");
         } else {
             testFailed("Draw " + drawNumber + " failed pixel test");

Modified: trunk/LayoutTests/webgl/2.0.0/resources/webgl_test_files/js/tests/no-over-optimizations-on-uniform-array.js (271047 => 271048)


--- trunk/LayoutTests/webgl/2.0.0/resources/webgl_test_files/js/tests/no-over-optimizations-on-uniform-array.js	2020-12-22 03:23:54 UTC (rev 271047)
+++ trunk/LayoutTests/webgl/2.0.0/resources/webgl_test_files/js/tests/no-over-optimizations-on-uniform-array.js	2020-12-22 05:20:03 UTC (rev 271048)
@@ -92,10 +92,10 @@
     // does not get passed down to glUniform so when setting the uniform 'big[3]' they
     // overwrite memory.
     //
-    // If the driver crashes, yea. We found a bug. We can blacklist the driver.
+    // If the driver crashes, yea. We found a bug. We can block the driver.
     // Otherwise we try various combinations so that setting 'little[0]' first
     // and then setting all elements of 'big' we hope it will overwrite 'little[0]'
-    // which will show the bug and again we can blacklist the driver.
+    // which will show the bug and again we can block the driver.
     //
     // We don't know how the driver will order, in memory, the various uniforms
     // or for that matter we don't even know if they will be contiguous in memory
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to