Changeset 189533 in webkit
- Timestamp:
- Sep 8, 2015, 9:59:47 PM (10 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r189521 r189533 1 2015-09-08 Commit Queue <commit-queue@webkit.org> 2 3 Unreviewed, rolling out r189407 and r189424. 4 https://bugs.webkit.org/show_bug.cgi?id=148993 5 6 Broke some tests, and made others flakily time out (Requested 7 by ap on #webkit). 8 9 Reverted changesets: 10 11 "[WebGL] Update WebGL 1.0.3 conformance tests" 12 https://bugs.webkit.org/show_bug.cgi?id=148858 13 http://trac.webkit.org/changeset/189407 14 15 "REGRESSION (r189407): webgl/1.0.3/conformance/extensions 16 /webgl-draw-buffers.html" 17 http://trac.webkit.org/changeset/189424 18 1 19 2015-09-08 Said Abou-Hallawa <sabouhallawa@apple.com> 2 20 -
trunk/LayoutTests/platform/mac/TestExpectations
r189483 r189533 440 440 webkit.org/b/124935 [ Debug ] webgl/1.0.2/conformance/glsl/misc/shader-with-non-reserved-words.html [ Slow ] 441 441 442 # Skip 1.0.3 tests for now, to be unskipped when we get closer to conformance 443 webgl/1.0.3/conformance/attribs [ Skip ] 444 webgl/1.0.3/conformance/buffers [ Skip ] 445 webgl/1.0.3/conformance/canvas [ Skip ] 446 webgl/1.0.3/conformance/context [ Skip ] 447 webgl/1.0.3/conformance/glsl [ Skip ] 448 webgl/1.0.3/conformance/renderbuffers [ Skip ] 449 webgl/1.0.3/conformance/rendering [ Skip ] 450 webgl/1.0.3/conformance/state [ Skip ] 451 webgl/1.0.3/conformance/textures [ Skip ] 452 webgl/1.0.3/conformance/typedarrays [ Skip ] 453 webgl/1.0.3/conformance/uniforms [ Skip ] 454 webgl/1.0.3/conformance/extensions/angle-instanced-arrays.html [ Skip ] 455 webgl/1.0.3/conformance/extensions/oes-texture-half-float.html [ Skip ] 456 webgl/1.0.3/conformance/extensions/webgl-compressed-texture-size-limit.html [ Skip ] 457 webgl/1.0.3/conformance/extensions/webgl-draw-buffers.html [ Skip ] 458 442 459 # Sending the mouse down event to the scrollbar starts a nested run loop which causes a hang. 443 460 fast/events/mousedown-in-subframe-scrollbar.html [ Skip ] … … 445 462 webkit.org/b/96828 fast/canvas/webgl/oes-vertex-array-object.html [ Skip ] 446 463 webkit.org/b/96828 webgl/1.0.2/conformance/extensions/oes-vertex-array-object.html [ Skip ] 447 448 [ Mavericks ] webgl/1.0.3/conformance/extensions/webgl-draw-buffers.html [ Failure ]449 webgl/1.0.3/conformance/rendering/point-no-attributes.html [ Skip ]450 464 451 465 http/tests/misc/willCacheResponse-delegate-callback.html [ Failure ] -
trunk/LayoutTests/webgl/1.0.3/conformance/extensions/oes-texture-half-float-expected.txt
r189407 r189533 2 2 3 3 Test: ../../resources/webgl_test_files/conformance/extensions/oes-texture-half-float.html 4 FAIL 4 PASS 5 5 -
trunk/LayoutTests/webgl/1.0.3/conformance/extensions/webgl-compressed-texture-size-limit-expected.txt
r189407 r189533 2 2 3 3 Test: ../../resources/webgl_test_files/conformance/extensions/webgl-compressed-texture-size-limit.html 4 FAIL 4 PASS 5 5 -
trunk/LayoutTests/webgl/1.0.3/conformance/extensions/webgl-draw-buffers-expected.txt
r189407 r189533 2 2 3 3 Test: ../../resources/webgl_test_files/conformance/extensions/webgl-draw-buffers.html 4 FAIL 4 PASS 5 5 -
trunk/LayoutTests/webgl/1.0.3/conformance/glsl/misc/shader-struct-scope-expected.txt
r189407 r189533 2 2 3 3 Test: ../../../resources/webgl_test_files/conformance/glsl/misc/shader-struct-scope.html 4 FAIL 4 PASS 5 5 -
trunk/LayoutTests/webgl/1.0.3/conformance/glsl/misc/shaders-with-invariance-expected.txt
r189407 r189533 2 2 3 3 Test: ../../../resources/webgl_test_files/conformance/glsl/misc/shaders-with-invariance.html 4 FAIL 4 PASS 5 5 -
trunk/LayoutTests/webgl/1.0.3/conformance/glsl/misc/shaders-with-name-conflicts-expected.txt
r189407 r189533 2 2 3 3 Test: ../../../resources/webgl_test_files/conformance/glsl/misc/shaders-with-name-conflicts.html 4 FAIL 4 PASS 5 5 -
trunk/LayoutTests/webgl/1.0.3/conformance/glsl/misc/struct-nesting-of-variable-names-expected.txt
r189407 r189533 2 2 3 3 Test: ../../../resources/webgl_test_files/conformance/glsl/misc/struct-nesting-of-variable-names.html 4 FAIL 4 PASS 5 5 -
trunk/LayoutTests/webgl/1.0.3/conformance/renderbuffers/feedback-loop-expected.txt
r189407 r189533 2 2 3 3 Test: ../../resources/webgl_test_files/conformance/renderbuffers/feedback-loop.html 4 FAIL 4 PASS 5 5 -
trunk/LayoutTests/webgl/1.0.3/conformance/textures/texture-copying-feedback-loops-expected.txt
r189407 r189533 2 2 3 3 Test: ../../resources/webgl_test_files/conformance/textures/texture-copying-feedback-loops.html 4 FAIL 4 PASS 5 5 -
trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/extensions/angle-instanced-arrays.html
r189407 r189533 78 78 if (!gl) { 79 79 testFailed("WebGL context does not exist"); 80 finishTest();81 80 } else { 82 81 testPassed("WebGL context exists"); … … 90 89 91 90 runSupportedTest(false); 92 finishTest();93 91 } else { 94 92 testPassed("Successfully enabled ANGLE_instanced_arrays extension"); … … 416 414 cycleAndTest(); 417 415 } 416 417 var successfullyParsed = true; 418 418 </script> 419 <script src="../../resources/js-test-post.js"></script> 420 419 421 </body> 420 422 </html> -
trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/glsl/misc/shader-with-for-loop.html
r189407 r189533 49 49 50 50 // Saw-tooth function that is synced with the demo music (128bpm) 51 float gBeat ;51 float gBeat=fract(time*3.2/3.); 52 52 53 53 // Calculate the surface color … … 75 75 void main() 76 76 { 77 gBeat=fract(time*3.2/3.);78 77 // Screen setup 79 78 vec2 p=(2.*gl_FragCoord.xy-resolution)/resolution.y, -
trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/glsl/misc/ternary-operators-in-global-initializers.html
r189407 r189533 39 39 <script id="fragmentShader" type="text/something-not-javascript"> 40 40 precision mediump float; 41 const$(type) green = $(green);42 const$(type) black = $(black);41 $(type) green = $(green); 42 $(type) black = $(black); 43 43 $(type) var = (true) ? green : black; 44 44 void main() { -
trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/misc/bad-arguments-test.html
r189407 r189533 72 72 73 73 for (var i = 0; i < testArguments.length; ++i) { 74 var func, func2 ;74 var func, func2, func3; 75 75 if (testArguments[i].throws) { 76 76 func = shouldThrow; 77 77 func2 = shouldThrow; 78 func3 = shouldThrow; 78 79 } else { 79 80 func = shouldBeUndefined; 80 81 func2 = shouldBeNull; 82 func3 = shouldBeEmptyString; 81 83 } 82 84 argument = testArguments[i].value; … … 100 102 func("context.uniformMatrix2fv(argument, false, new Float32Array([0.0, 0.0, 0.0, 0.0]))"); 101 103 102 func2("context.getProgramInfoLog(argument)");103 104 func2("context.getProgramParameter(argument, 0)"); 104 func2("context.getShaderInfoLog(argument)");105 105 func2("context.getShaderParameter(argument, 0)"); 106 func2("context.getShaderSource(argument)");107 106 func2("context.getUniform(argument, loc)"); 108 107 func2("context.getUniform(program, argument)"); 109 108 func2("context.getUniformLocation(argument, 'u_modelViewProjMatrix')"); 110 109 110 func3("context.getProgramInfoLog(argument)"); 111 func3("context.getShaderInfoLog(argument)"); 112 func3("context.getShaderSource(argument)"); 111 113 } 112 114 -
trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/more/functions/uniformMatrixBadArgs.html
r189407 r189533 121 121 var d = new Uint8Array(4); 122 122 gl.readPixels(0,0,1,1,gl.RGBA, gl.UNSIGNED_BYTE, d); 123 assertArrayEquals WithEpsilon([1,2,3,8], d, [1,1,1,1]);123 assertArrayEquals([1,2,3,8], d); 124 124 sh.destroy(); 125 125 } -
trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/more/unit.js
r189407 r189533 389 389 } 390 390 testPassed("assertArrayEquals", name, v, p); 391 return true;392 }393 394 function assertArrayEqualsWithEpsilon(name, v, p, l) {395 if (l == null) { l = p; p = v; v = name; name = null; }396 if (!v) {397 testFailed("assertArrayEqualsWithEpsilon: first array undefined", name, v, p);398 return false;399 }400 if (!p) {401 testFailed("assertArrayEqualsWithEpsilon: second array undefined", name, v, p);402 return false;403 }404 if (!l) {405 testFailed("assertArrayEqualsWithEpsilon: limit array undefined", name, v, p);406 return false;407 }408 if (v.length != p.length) {409 testFailed("assertArrayEqualsWithEpsilon", name, v, p, l);410 return false;411 }412 if (v.length != l.length) {413 testFailed("assertArrayEqualsWithEpsilon", name, v, p, l);414 return false;415 }416 for (var ii = 0; ii < v.length; ++ii) {417 if (Math.abs(v[ii]- p[ii])>l[ii]) {418 testFailed("assertArrayEqualsWithEpsilon", name, v, p, l);419 return false;420 }421 }422 testPassed("assertArrayEqualsWithEpsilon", name, v, p, l);423 391 return true; 424 392 } -
trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/ogles/ogles-utils.js
r189407 r189533 501 501 for (var name in uniforms) { 502 502 var uniform = uniforms[name]; 503 if (name.indexOf("gl_") == 0) {504 continue;505 }506 503 if (!uniform.used) { 507 504 testFailed("uniform " + name + " never set"); -
trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/textures/tex-image-with-invalid-data.html
r189407 r189533 53 53 function setup() { 54 54 tex = gl.createTexture(); 55 gl.bindTexture(gl.TEXTURE_2D, tex);55 gl.bindTexture(gl.TEXTURE_2D, bug32619_tests.tex); 56 56 gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, 64, 64, 0, gl.RGBA, gl.UNSIGNED_BYTE, null); 57 57 } … … 81 81 } 82 82 } 83 84 test("Calling texImage2D with no WebGLTexture bound generates INVALID_OPERATION",85 function () {86 gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, 64, 64, 0, gl.RGBA, gl.UNSIGNED_BYTE, null);87 },88 gl.INVALID_OPERATION);89 90 test("Calling texSubImage2D with no WebGLTexture bound generates INVALID_OPERATION",91 function () {92 var buffer = new Uint8Array(4);93 gl.texSubImage2D(gl.TEXTURE_2D, 0, 0, 0, 1, 1, gl.RGBA, gl.UNSIGNED_BYTE, buffer);94 },95 gl.INVALID_OPERATION);96 97 setup();98 83 99 84 test("Passing a buffer not large enough to texImage2D should generate an INVALID_OPERATION", … … 134 119 "exception"); 135 120 136 teardown();137 138 121 debug(""); 139 122 var successfullyParsed = true; -
trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/typedarrays/array-unit-tests.html
r189407 r189533 196 196 shouldBe('new Uint8ClampedArray(1) instanceof Uint8Array', 'false'); 197 197 198 if (Object.getPrototypeOf(Int8Array.prototype) == Object.prototype) { 199 // ES5 behavior. 200 shouldBe('Object.getPrototypeOf(Int8Array.prototype)', 'Object.prototype'); 201 shouldBe('Object.getPrototypeOf(Uint8Array.prototype)', 'Object.prototype'); 202 shouldBe('Object.getPrototypeOf(Uint8ClampedArray.prototype)', 'Object.prototype'); 203 shouldBe('Object.getPrototypeOf(Int16Array.prototype)', 'Object.prototype'); 204 shouldBe('Object.getPrototypeOf(Uint16Array.prototype)', 'Object.prototype'); 205 shouldBe('Object.getPrototypeOf(Int32Array.prototype)', 'Object.prototype'); 206 shouldBe('Object.getPrototypeOf(Uint32Array.prototype)', 'Object.prototype'); 207 shouldBe('Object.getPrototypeOf(Float32Array.prototype)', 'Object.prototype'); 208 shouldBe('Object.getPrototypeOf(Float64Array.prototype)', 'Object.prototype'); 209 } else { 210 // As of ES6, the prototypes for typed array constructors point to an intrinsic object whose internal 211 // prototype is Object.prototype. Relevant spec section is 22.2.5.2: TypedArray.prototype. 212 shouldBe('Object.getPrototypeOf(Object.getPrototypeOf(Int8Array.prototype))', 'Object.prototype'); 213 shouldBe('Object.getPrototypeOf(Object.getPrototypeOf(Uint8Array.prototype))', 'Object.prototype'); 214 shouldBe('Object.getPrototypeOf(Object.getPrototypeOf(Uint8ClampedArray.prototype))', 'Object.prototype'); 215 shouldBe('Object.getPrototypeOf(Object.getPrototypeOf(Int16Array.prototype))', 'Object.prototype'); 216 shouldBe('Object.getPrototypeOf(Object.getPrototypeOf(Uint16Array.prototype))', 'Object.prototype'); 217 shouldBe('Object.getPrototypeOf(Object.getPrototypeOf(Int32Array.prototype))', 'Object.prototype'); 218 shouldBe('Object.getPrototypeOf(Object.getPrototypeOf(Uint32Array.prototype))', 'Object.prototype'); 219 shouldBe('Object.getPrototypeOf(Object.getPrototypeOf(Float32Array.prototype))', 'Object.prototype'); 220 shouldBe('Object.getPrototypeOf(Object.getPrototypeOf(Float64Array.prototype))', 'Object.prototype'); 221 } 198 shouldBe('Object.getPrototypeOf(Int8Array.prototype)', 'Object.prototype'); 199 shouldBe('Object.getPrototypeOf(Uint8Array.prototype)', 'Object.prototype'); 200 shouldBe('Object.getPrototypeOf(Uint8ClampedArray.prototype)', 'Object.prototype'); 201 shouldBe('Object.getPrototypeOf(Int16Array.prototype)', 'Object.prototype'); 202 shouldBe('Object.getPrototypeOf(Uint16Array.prototype)', 'Object.prototype'); 203 shouldBe('Object.getPrototypeOf(Int32Array.prototype)', 'Object.prototype'); 204 shouldBe('Object.getPrototypeOf(Uint32Array.prototype)', 'Object.prototype'); 205 shouldBe('Object.getPrototypeOf(Float32Array.prototype)', 'Object.prototype'); 206 shouldBe('Object.getPrototypeOf(Float64Array.prototype)', 'Object.prototype'); 207 shouldBe('Object.getPrototypeOf(DataView.prototype)', 'Object.prototype'); 222 208 } 223 209 -
trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/typedarrays/resources/typed-array-worker.js
r189407 r189533 75 75 valueToSend = view.buffer; 76 76 } 77 var transferablesToSend = undefined;77 var transferablesToSend = null; 78 78 if (message.command == 'transfer' || 79 79 message.command == 'transferBuffer') { -
trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/webgl-conformance-tests.html
r189407 r189533 179 179 window.console.log(msg); 180 180 } 181 }182 183 function createStylesheet() {184 var style = document.createElement("style");185 style.appendChild(document.createTextNode(""));186 document.head.appendChild(style);187 return style.sheet;188 181 } 189 182 … … 934 927 autoScroll = autoScrollEnabled; 935 928 }; 936 937 var hidePassedSheet = createStylesheet();938 var hidePassedCheckbox = document.getElementById("hidePassedCheckbox");939 hidePassedCheckbox.checked = false;940 hidePassedCheckbox.onclick = function() {941 var hidePassedTests = hidePassedCheckbox.checked;942 if (hidePassedTests) {943 hidePassedSheet.insertRule(".testpagesuccess { display: none; }", 0);944 } else {945 hidePassedSheet.deleteRule(0);946 }947 };948 949 929 var textbutton = document.getElementById("showTextSummary"); 950 930 textbutton.onclick = function() { … … 1012 992 <input type="checkbox" id="autoScrollCheckbox"/> 1013 993 <label for="autoScrollCheckbox">auto scroll</label> 1014 <br/>1015 <input type="checkbox" id="hidePassedCheckbox"/>1016 <label for="hidePassedCheckbox">hide passed tests</label>1017 994 <br/> 1018 995 <input type="button" style="visibility: hidden;" value="display text summary" id="showTextSummary"/>
Note:
See TracChangeset
for help on using the changeset viewer.