DRT should enable WebGL by default on Mac
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Mar 2016 03:58:26 +0000 (03:58 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Mar 2016 03:58:26 +0000 (03:58 +0000)
commitba3e6a208e170f0a85cb976d3f239f2738094287
tree5e09730e2116554af11806d78f61fc1e01bb4191
parent221aa4386017256f2abc2432d4aae0be4bddfb4e
DRT should enable WebGL by default on Mac
https://bugs.webkit.org/show_bug.cgi?id=155419
<rdar://problem/25136981>

Reviewed by Sam Weinig.

Tools:

For some reason, lost in time, WebGL was enabled
by default on trunk, but disabled by default
in DumpRenderTree when using WebKit 1. This
was very annoying, because each test had
an explicit command to enable it.

* DumpRenderTree/mac/DumpRenderTree.mm:
(resetWebPreferencesToConsistentValues): Deleted WebGL line.

LayoutTests:

Update all the tests that no longer have to explicitly
turn WebGL on.

* compositing/backface-visibility/backface-visibility-webgl.html:
* compositing/visibility/visibility-simple-webgl-layer.html:
* compositing/webgl/webgl-background-color.html:
* compositing/webgl/webgl-no-alpha.html:
* compositing/webgl/webgl-nonpremultiplied-blend.html:
* compositing/webgl/webgl-reflection.html:
* compositing/webgl/webgl-repaint.html:
* fast/canvas/webgl/antialiasing-enabled.html:
* fast/canvas/webgl/canvas-resize-crash.html:
* fast/canvas/webgl/css-webkit-canvas-repaint.html:
* fast/canvas/webgl/css-webkit-canvas.html:
* fast/canvas/webgl/out-of-bounds-simulated-vertexAttrib0-drawArrays-expected.txt:
* fast/canvas/webgl/out-of-bounds-simulated-vertexAttrib0-drawArrays.html:
* fast/canvas/webgl/premultiplyalpha-test.html:
* fast/canvas/webgl/resources/webgl-test.js:
(initNonKhronosFramework): Deleted.
* fast/canvas/webgl/texImage2DImageDataTest.html:
* fast/canvas/webgl/toDataURL-unpremultipliedAlpha.html:
* fast/canvas/webgl/unprefixed-context.html:
* fast/canvas/webgl/webgl-composite-modes-repaint.html:
* fast/canvas/webgl/webgl-composite-modes.html:
* fast/canvas/webgl/webgl-drawarrays-crash.html:
* fast/canvas/webgl/webgl-layer-update.html:
* fast/canvas/webgl/webgl-reload-crash.html:
* http/tests/canvas/webgl/origin-clean-conformance.html:
* http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials.html:
* http/tests/security/webgl-remote-read-remote-image-allowed.html:
* http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html:
* http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/more/unit.js:
* http/tests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js:
* http/tests/webgl/1.0.2/resources/webkit-webgl-test-harness.js:
* imported/blink/compositing/draws-content/webgl-simple-background.html:
* webgl/1.0.2/resources/webgl_test_files/conformance/more/unit.js:
* webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js:
* webgl/1.0.2/resources/webkit-webgl-test-harness.js:
* webgl/1.0.3/resources/webgl_test_files/conformance/more/unit.js:
* webgl/1.0.3/resources/webgl_test_files/resources/js-test-pre.js:
* webgl/1.0.3/resources/webkit-webgl-test-harness.js:
* webgl/resources/webkit-webgl-test-harness.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
41 files changed:
LayoutTests/ChangeLog
LayoutTests/compositing/backface-visibility/backface-visibility-webgl.html
LayoutTests/compositing/visibility/visibility-simple-webgl-layer.html
LayoutTests/compositing/webgl/webgl-background-color.html
LayoutTests/compositing/webgl/webgl-no-alpha.html
LayoutTests/compositing/webgl/webgl-nonpremultiplied-blend.html
LayoutTests/compositing/webgl/webgl-reflection.html
LayoutTests/compositing/webgl/webgl-repaint.html
LayoutTests/fast/canvas/webgl/antialiasing-enabled.html
LayoutTests/fast/canvas/webgl/canvas-resize-crash.html
LayoutTests/fast/canvas/webgl/css-webkit-canvas-repaint.html
LayoutTests/fast/canvas/webgl/css-webkit-canvas.html
LayoutTests/fast/canvas/webgl/out-of-bounds-simulated-vertexAttrib0-drawArrays-expected.txt
LayoutTests/fast/canvas/webgl/out-of-bounds-simulated-vertexAttrib0-drawArrays.html
LayoutTests/fast/canvas/webgl/premultiplyalpha-test.html
LayoutTests/fast/canvas/webgl/resources/webgl-test.js
LayoutTests/fast/canvas/webgl/texImage2DImageDataTest.html
LayoutTests/fast/canvas/webgl/toDataURL-unpremultipliedAlpha.html
LayoutTests/fast/canvas/webgl/unprefixed-context.html
LayoutTests/fast/canvas/webgl/webgl-composite-modes-repaint.html
LayoutTests/fast/canvas/webgl/webgl-composite-modes.html
LayoutTests/fast/canvas/webgl/webgl-drawarrays-crash.html
LayoutTests/fast/canvas/webgl/webgl-layer-update.html
LayoutTests/fast/canvas/webgl/webgl-reload-crash.html
LayoutTests/http/tests/canvas/webgl/origin-clean-conformance.html
LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials.html
LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed.html
LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html
LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/more/unit.js
LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js
LayoutTests/http/tests/webgl/1.0.2/resources/webkit-webgl-test-harness.js
LayoutTests/imported/blink/compositing/draws-content/webgl-simple-background.html
LayoutTests/webgl/1.0.2/resources/webgl_test_files/conformance/more/unit.js
LayoutTests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js
LayoutTests/webgl/1.0.2/resources/webkit-webgl-test-harness.js
LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/more/unit.js
LayoutTests/webgl/1.0.3/resources/webgl_test_files/resources/js-test-pre.js
LayoutTests/webgl/1.0.3/resources/webkit-webgl-test-harness.js
LayoutTests/webgl/resources/webkit-webgl-test-harness.js
Tools/ChangeLog
Tools/DumpRenderTree/mac/DumpRenderTree.mm