<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[198091] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/198091">198091</a></dd>
<dt>Author</dt> <dd>dino@apple.com</dd>
<dt>Date</dt> <dd>2016-03-13 20:58:26 -0700 (Sun, 13 Mar 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>DRT should enable WebGL by default on Mac
https://bugs.webkit.org/show_bug.cgi?id=155419
&lt;rdar://problem/25136981&gt;

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:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestscompositingbackfacevisibilitybackfacevisibilitywebglhtml">trunk/LayoutTests/compositing/backface-visibility/backface-visibility-webgl.html</a></li>
<li><a href="#trunkLayoutTestscompositingvisibilityvisibilitysimplewebgllayerhtml">trunk/LayoutTests/compositing/visibility/visibility-simple-webgl-layer.html</a></li>
<li><a href="#trunkLayoutTestscompositingwebglwebglbackgroundcolorhtml">trunk/LayoutTests/compositing/webgl/webgl-background-color.html</a></li>
<li><a href="#trunkLayoutTestscompositingwebglwebglnoalphahtml">trunk/LayoutTests/compositing/webgl/webgl-no-alpha.html</a></li>
<li><a href="#trunkLayoutTestscompositingwebglwebglnonpremultipliedblendhtml">trunk/LayoutTests/compositing/webgl/webgl-nonpremultiplied-blend.html</a></li>
<li><a href="#trunkLayoutTestscompositingwebglwebglreflectionhtml">trunk/LayoutTests/compositing/webgl/webgl-reflection.html</a></li>
<li><a href="#trunkLayoutTestscompositingwebglwebglrepainthtml">trunk/LayoutTests/compositing/webgl/webgl-repaint.html</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebglantialiasingenabledhtml">trunk/LayoutTests/fast/canvas/webgl/antialiasing-enabled.html</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebglcanvasresizecrashhtml">trunk/LayoutTests/fast/canvas/webgl/canvas-resize-crash.html</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebglcsswebkitcanvasrepainthtml">trunk/LayoutTests/fast/canvas/webgl/css-webkit-canvas-repaint.html</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebglcsswebkitcanvashtml">trunk/LayoutTests/fast/canvas/webgl/css-webkit-canvas.html</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebgloutofboundssimulatedvertexAttrib0drawArraysexpectedtxt">trunk/LayoutTests/fast/canvas/webgl/out-of-bounds-simulated-vertexAttrib0-drawArrays-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebgloutofboundssimulatedvertexAttrib0drawArrayshtml">trunk/LayoutTests/fast/canvas/webgl/out-of-bounds-simulated-vertexAttrib0-drawArrays.html</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebglpremultiplyalphatesthtml">trunk/LayoutTests/fast/canvas/webgl/premultiplyalpha-test.html</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebglresourceswebgltestjs">trunk/LayoutTests/fast/canvas/webgl/resources/webgl-test.js</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebgltexImage2DImageDataTesthtml">trunk/LayoutTests/fast/canvas/webgl/texImage2DImageDataTest.html</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebgltoDataURLunpremultipliedAlphahtml">trunk/LayoutTests/fast/canvas/webgl/toDataURL-unpremultipliedAlpha.html</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebglunprefixedcontexthtml">trunk/LayoutTests/fast/canvas/webgl/unprefixed-context.html</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebglwebglcompositemodesrepainthtml">trunk/LayoutTests/fast/canvas/webgl/webgl-composite-modes-repaint.html</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebglwebglcompositemodeshtml">trunk/LayoutTests/fast/canvas/webgl/webgl-composite-modes.html</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebglwebgldrawarrayscrashhtml">trunk/LayoutTests/fast/canvas/webgl/webgl-drawarrays-crash.html</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebglwebgllayerupdatehtml">trunk/LayoutTests/fast/canvas/webgl/webgl-layer-update.html</a></li>
<li><a href="#trunkLayoutTestsfastcanvaswebglwebglreloadcrashhtml">trunk/LayoutTests/fast/canvas/webgl/webgl-reload-crash.html</a></li>
<li><a href="#trunkLayoutTestshttptestscanvaswebglorigincleanconformancehtml">trunk/LayoutTests/http/tests/canvas/webgl/origin-clean-conformance.html</a></li>
<li><a href="#trunkLayoutTestshttptestssecuritywebglremotereadremoteimageallowedwithcredentialshtml">trunk/LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials.html</a></li>
<li><a href="#trunkLayoutTestshttptestssecuritywebglremotereadremoteimageallowedhtml">trunk/LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed.html</a></li>
<li><a href="#trunkLayoutTestshttptestssecuritywebglremotereadremoteimageblockednocrossoriginhtml">trunk/LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html</a></li>
<li><a href="#trunkLayoutTestshttptestswebgl102resourceswebgl_test_filesconformancemoreunitjs">trunk/LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/more/unit.js</a></li>
<li><a href="#trunkLayoutTestshttptestswebgl102resourceswebgl_test_filesresourcesjstestprejs">trunk/LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js</a></li>
<li><a href="#trunkLayoutTestshttptestswebgl102resourceswebkitwebgltestharnessjs">trunk/LayoutTests/http/tests/webgl/1.0.2/resources/webkit-webgl-test-harness.js</a></li>
<li><a href="#trunkLayoutTestsimportedblinkcompositingdrawscontentwebglsimplebackgroundhtml">trunk/LayoutTests/imported/blink/compositing/draws-content/webgl-simple-background.html</a></li>
<li><a href="#trunkLayoutTestswebgl102resourceswebgl_test_filesconformancemoreunitjs">trunk/LayoutTests/webgl/1.0.2/resources/webgl_test_files/conformance/more/unit.js</a></li>
<li><a href="#trunkLayoutTestswebgl102resourceswebgl_test_filesresourcesjstestprejs">trunk/LayoutTests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js</a></li>
<li><a href="#trunkLayoutTestswebgl102resourceswebkitwebgltestharnessjs">trunk/LayoutTests/webgl/1.0.2/resources/webkit-webgl-test-harness.js</a></li>
<li><a href="#trunkLayoutTestswebgl103resourceswebgl_test_filesconformancemoreunitjs">trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/more/unit.js</a></li>
<li><a href="#trunkLayoutTestswebgl103resourceswebgl_test_filesresourcesjstestprejs">trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/resources/js-test-pre.js</a></li>
<li><a href="#trunkLayoutTestswebgl103resourceswebkitwebgltestharnessjs">trunk/LayoutTests/webgl/1.0.3/resources/webkit-webgl-test-harness.js</a></li>
<li><a href="#trunkLayoutTestswebglresourceswebkitwebgltestharnessjs">trunk/LayoutTests/webgl/resources/webkit-webgl-test-harness.js</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsDumpRenderTreemacDumpRenderTreemm">trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/ChangeLog        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -1,3 +1,54 @@
</span><ins>+2016-03-13  Dean Jackson  &lt;dino@apple.com&gt;
+
+        DRT should enable WebGL by default on Mac
+        https://bugs.webkit.org/show_bug.cgi?id=155419
+        &lt;rdar://problem/25136981&gt;
+
+        Reviewed by Sam Weinig.
+
+        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:
+
</ins><span class="cx"> 2016-03-13  Ryosuke Niwa  &lt;rniwa@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         REGRESSION (r190840): crash inside details element's slotNameFunction
</span></span></pre></div>
<a id="trunkLayoutTestscompositingbackfacevisibilitybackfacevisibilitywebglhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/backface-visibility/backface-visibility-webgl.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/backface-visibility/backface-visibility-webgl.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/compositing/backface-visibility/backface-visibility-webgl.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -43,17 +43,8 @@
</span><span class="cx"> &lt;/head&gt;
</span><span class="cx"> &lt;body&gt;
</span><span class="cx"> 
</span><del>-&lt;!-- Enable WebGL in the testing framework (without this we will fail to
-     create a GL context) --&gt;
</del><ins>+    &lt;table&gt;&lt;tr&gt;
</ins><span class="cx"> 
</span><del>-&lt;script&gt;
-  if (window.testRunner) {
-    testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
-  }
-&lt;/script&gt;
-
-&lt;table&gt;&lt;tr&gt;
-
</del><span class="cx"> &lt;!-- This test draws a canvas which is facing the screen. --&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;td&gt;
</span></span></pre></div>
<a id="trunkLayoutTestscompositingvisibilityvisibilitysimplewebgllayerhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/visibility/visibility-simple-webgl-layer.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/visibility/visibility-simple-webgl-layer.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/compositing/visibility/visibility-simple-webgl-layer.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -16,10 +16,8 @@
</span><span class="cx">     &lt;/style&gt;
</span><span class="cx"> 
</span><span class="cx">     &lt;script&gt;
</span><del>-      if (window.testRunner) {
</del><ins>+      if (window.testRunner)
</ins><span class="cx">           testRunner.dumpAsText(true);
</span><del>-          testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
-      }
</del><span class="cx"> 
</span><span class="cx">       function drawCanvas(canvasID, clearColor)
</span><span class="cx">       {
</span></span></pre></div>
<a id="trunkLayoutTestscompositingwebglwebglbackgroundcolorhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/webgl/webgl-background-color.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/webgl/webgl-background-color.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/compositing/webgl/webgl-background-color.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -22,9 +22,6 @@
</span><span class="cx">       }
</span><span class="cx">     &lt;/style&gt;
</span><span class="cx">     &lt;script&gt;
</span><del>-        if (window.testRunner)
-            testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
-
</del><span class="cx">         function initWebGL(canvasName, vshader, fshader, attribs, clearColor, clearDepth)
</span><span class="cx">         {
</span><span class="cx">             var canvas = document.getElementById(canvasName);
</span></span></pre></div>
<a id="trunkLayoutTestscompositingwebglwebglnoalphahtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/webgl/webgl-no-alpha.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/webgl/webgl-no-alpha.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/compositing/webgl/webgl-no-alpha.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -21,10 +21,8 @@
</span><span class="cx">       }
</span><span class="cx">     &lt;/style&gt;
</span><span class="cx">     &lt;script&gt;
</span><del>-        if (window.testRunner) {
-            testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><ins>+        if (window.testRunner)
</ins><span class="cx">             testRunner.dumpAsText(true);
</span><del>-        }
</del><span class="cx"> 
</span><span class="cx">         function initWebGL(canvasName, vshader, fshader, attribs, clearColor, clearDepth)
</span><span class="cx">         {
</span></span></pre></div>
<a id="trunkLayoutTestscompositingwebglwebglnonpremultipliedblendhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/webgl/webgl-nonpremultiplied-blend.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/webgl/webgl-nonpremultiplied-blend.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/compositing/webgl/webgl-nonpremultiplied-blend.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -13,9 +13,6 @@
</span><span class="cx">       }
</span><span class="cx">     &lt;/style&gt;
</span><span class="cx">     &lt;script&gt;
</span><del>-        if (window.testRunner)
-            testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
-
</del><span class="cx">         function initWebGL(canvasName, vshader, fshader, attribs, clearColor, clearDepth, premultAlpha)
</span><span class="cx">         {
</span><span class="cx">             var canvas = document.getElementById(canvasName);
</span></span></pre></div>
<a id="trunkLayoutTestscompositingwebglwebglreflectionhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/webgl/webgl-reflection.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/webgl/webgl-reflection.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/compositing/webgl/webgl-reflection.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -27,9 +27,6 @@
</span><span class="cx">       }
</span><span class="cx">     &lt;/script&gt;
</span><span class="cx">     &lt;script&gt;
</span><del>-    if (window.testRunner)
-        testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
-
</del><span class="cx">     var gl = null;
</span><span class="cx"> 
</span><span class="cx">     function draw()
</span></span></pre></div>
<a id="trunkLayoutTestscompositingwebglwebglrepainthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/webgl/webgl-repaint.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/webgl/webgl-repaint.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/compositing/webgl/webgl-repaint.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -13,9 +13,6 @@
</span><span class="cx"> }
</span><span class="cx"> &lt;/style&gt;
</span><span class="cx"> &lt;script&gt;
</span><del>-if (window.testRunner)
-    testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
-
</del><span class="cx"> function initWebGL()
</span><span class="cx"> {
</span><span class="cx">     var canvas = document.getElementById('canvas');
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebglantialiasingenabledhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/antialiasing-enabled.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/antialiasing-enabled.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/fast/canvas/webgl/antialiasing-enabled.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx"> if (window.testRunner) {
</span><span class="cx">     window.testRunner.waitUntilDone();
</span><span class="cx">     window.testRunner.dumpAsText();
</span><del>-    window.testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> function logResult(message) {
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebglcanvasresizecrashhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/canvas-resize-crash.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/canvas-resize-crash.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/fast/canvas/webgl/canvas-resize-crash.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -27,16 +27,7 @@
</span><span class="cx"> &lt;/head&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;body onload=&quot;start()&quot;&gt;
</span><del>-&lt;!-- Enable WebGL in the testing framework (without this we will fail to
-     create a GL context) --&gt;
-
-&lt;script&gt;
-  if (window.testRunner) {
-    testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
-  }
-&lt;/script&gt;
-
-&lt;canvas id=&quot;example&quot;&gt;&lt;/canvas&gt;
</del><ins>+    &lt;canvas id=&quot;example&quot;&gt;&lt;/canvas&gt;
</ins><span class="cx"> &lt;/body&gt;
</span><span class="cx"> &lt;/html&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebglcsswebkitcanvasrepainthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/css-webkit-canvas-repaint.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/css-webkit-canvas-repaint.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/fast/canvas/webgl/css-webkit-canvas-repaint.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -94,10 +94,8 @@
</span><span class="cx">                 gl.drawArrays(gl.TRIANGLES, 0, 3); 
</span><span class="cx">             }
</span><span class="cx">             
</span><del>-            if (window.testRunner) {
</del><ins>+            if (window.testRunner)
</ins><span class="cx">                 testRunner.waitUntilDone();
</span><del>-                testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
-            }
</del><span class="cx">             
</span><span class="cx">             initialize();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebglcsswebkitcanvashtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/css-webkit-canvas.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/css-webkit-canvas.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/fast/canvas/webgl/css-webkit-canvas.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -93,9 +93,6 @@
</span><span class="cx">                 gl.clear(gl.COLOR_BUFFER_BIT);
</span><span class="cx">                 gl.drawArrays(gl.TRIANGLES, 0, 3); 
</span><span class="cx">             }
</span><del>-            
-            if (window.testRunner)
-                testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx"> 
</span><span class="cx">             initialize();
</span><span class="cx">             draw(0, 0.5, 0);
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebgloutofboundssimulatedvertexAttrib0drawArraysexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/out-of-bounds-simulated-vertexAttrib0-drawArrays-expected.txt (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/out-of-bounds-simulated-vertexAttrib0-drawArrays-expected.txt        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/fast/canvas/webgl/out-of-bounds-simulated-vertexAttrib0-drawArrays-expected.txt        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -1,2 +1,2 @@
</span><del>-CONSOLE MESSAGE: line 32: WebGL: INVALID_OPERATION: drawArrays: attempt to access outside the bounds of the simulated vertexAttrib0 array
</del><ins>+CONSOLE MESSAGE: line 30: WebGL: INVALID_OPERATION: drawArrays: attempt to access outside the bounds of the simulated vertexAttrib0 array
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebgloutofboundssimulatedvertexAttrib0drawArrayshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/out-of-bounds-simulated-vertexAttrib0-drawArrays.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/out-of-bounds-simulated-vertexAttrib0-drawArrays.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/fast/canvas/webgl/out-of-bounds-simulated-vertexAttrib0-drawArrays.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -1,9 +1,7 @@
</span><span class="cx"> &lt;script&gt;
</span><span class="cx"> 
</span><del>-if (window.testRunner) {
</del><ins>+if (window.testRunner)
</ins><span class="cx">     window.testRunner.dumpAsText();
</span><del>-    testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
-}
</del><span class="cx"> 
</span><span class="cx"> function createShader(str, type) {
</span><span class="cx">     var shader = gl.createShader(type);
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebglpremultiplyalphatesthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/premultiplyalpha-test.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/premultiplyalpha-test.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/fast/canvas/webgl/premultiplyalpha-test.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -73,8 +73,6 @@
</span><span class="cx"> var premultipledAlpha;
</span><span class="cx"> 
</span><span class="cx"> jsTestIsAsync = true;
</span><del>-if (window.testRunner)
-    testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx"> 
</span><span class="cx"> description(&quot;Test the WebGL premultipledAlpha context creation flag.&quot;);
</span><span class="cx"> doNextTest();
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebglresourceswebgltestjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/resources/webgl-test.js (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/resources/webgl-test.js        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/fast/canvas/webgl/resources/webgl-test.js        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -1,8 +1,5 @@
</span><span class="cx"> //----------------------------------------------------------------------
</span><span class="cx"> // Differences with respect to Khronos version of webgl-test.js
</span><del>-if (window.testRunner)
-    testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
-
</del><span class="cx"> function assertMsg(assertion, msg) {
</span><span class="cx">     if (assertion) {
</span><span class="cx">         testPassed(msg);
</span><span class="lines">@@ -12,8 +9,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> function initNonKhronosFramework(waitUntilDone) {
</span><del>-  if (window.testRunner)
-    testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">   if (waitUntilDone)
</span><span class="cx">     window.jsTestIsAsync = true;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebgltexImage2DImageDataTesthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/texImage2DImageDataTest.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/texImage2DImageDataTest.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/fast/canvas/webgl/texImage2DImageDataTest.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -51,10 +51,8 @@
</span><span class="cx">         
</span><span class="cx">         function init()
</span><span class="cx">         {
</span><del>-            if (window.testRunner) {
-                testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><ins>+            if (window.testRunner)
</ins><span class="cx">                 testRunner.dumpAsText();
</span><del>-            }
</del><span class="cx">             // Set up a canvas to get image data from
</span><span class="cx">             var canvas2d = document.getElementById(&quot;texcanvas&quot;);
</span><span class="cx">             var context2d = canvas2d.getContext(&quot;2d&quot;);
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebgltoDataURLunpremultipliedAlphahtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/toDataURL-unpremultipliedAlpha.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/toDataURL-unpremultipliedAlpha.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/fast/canvas/webgl/toDataURL-unpremultipliedAlpha.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -12,9 +12,6 @@
</span><span class="cx"> &lt;script&gt;
</span><span class="cx"> var wtu = WebGLTestUtils;
</span><span class="cx"> 
</span><del>-if (window.testRunner)
-    testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
-
</del><span class="cx"> description(&quot;Test toDataURL on a non-premultipledAlpha WebGL context.&quot;);
</span><span class="cx"> var canvas = document.createElement(&quot;canvas&quot;);
</span><span class="cx"> var gl = wtu.create3DContext(canvas, { premultipliedAlpha: false, preserveDrawingBuffer: true });
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebglunprefixedcontexthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/unprefixed-context.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/unprefixed-context.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/fast/canvas/webgl/unprefixed-context.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -1,8 +1,6 @@
</span><span class="cx"> &lt;script&gt;
</span><del>-if (window.testRunner) {
-    testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><ins>+if (window.testRunner)
</ins><span class="cx">     testRunner.dumpAsText();
</span><del>-}
</del><span class="cx"> 
</span><span class="cx"> var canvas = document.createElement(&quot;canvas&quot;);
</span><span class="cx"> var context = canvas.getContext(&quot;webgl&quot;);
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebglwebglcompositemodesrepainthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/webgl-composite-modes-repaint.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/webgl-composite-modes-repaint.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/fast/canvas/webgl/webgl-composite-modes-repaint.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -48,7 +48,6 @@
</span><span class="cx"> var ctxs = []
</span><span class="cx"> 
</span><span class="cx"> if (window.testRunner) {
</span><del>-    testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">     testRunner.dumpAsText(true);
</span><span class="cx">     document.getElementById(&quot;description&quot;).style.position = &quot;absolute&quot;;
</span><span class="cx">     document.getElementById(&quot;description&quot;).style.top = &quot;-5000px&quot;;
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebglwebglcompositemodeshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/webgl-composite-modes.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/webgl-composite-modes.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/fast/canvas/webgl/webgl-composite-modes.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -46,7 +46,6 @@
</span><span class="cx"> var ctxs = []
</span><span class="cx"> 
</span><span class="cx"> if (window.testRunner) {
</span><del>-    testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">     testRunner.dumpAsText(true);
</span><span class="cx">     document.getElementById(&quot;description&quot;).style.position = &quot;absolute&quot;;
</span><span class="cx">     document.getElementById(&quot;description&quot;).style.top = &quot;-5000px&quot;;
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebglwebgldrawarrayscrashhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/webgl-drawarrays-crash.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/webgl-drawarrays-crash.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/fast/canvas/webgl/webgl-drawarrays-crash.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -27,8 +27,6 @@
</span><span class="cx"> 
</span><span class="cx">     if (window.testRunner) {
</span><span class="cx">       testRunner.dumpAsText();
</span><del>-      testRunner.overridePreference(&quot;WebKitAcceleratedCompositingEnabled&quot;, &quot;1&quot;);
-      testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">       testRunner.waitUntilDone();
</span><span class="cx">     }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebglwebgllayerupdatehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/webgl-layer-update.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/webgl-layer-update.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/fast/canvas/webgl/webgl-layer-update.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -42,7 +42,6 @@
</span><span class="cx"> &lt;script&gt;
</span><span class="cx"> 
</span><span class="cx"> if (window.testRunner) {
</span><del>-    testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">     testRunner.dumpAsText(true);
</span><span class="cx">     document.getElementById(&quot;description&quot;).style.position = &quot;absolute&quot;;
</span><span class="cx">     document.getElementById(&quot;description&quot;).style.top = &quot;-5000px&quot;; 
</span></span></pre></div>
<a id="trunkLayoutTestsfastcanvaswebglwebglreloadcrashhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/canvas/webgl/webgl-reload-crash.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/canvas/webgl/webgl-reload-crash.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/fast/canvas/webgl/webgl-reload-crash.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -27,8 +27,6 @@
</span><span class="cx">     }
</span><span class="cx">     if (window.testRunner) {
</span><span class="cx">       testRunner.dumpAsText();
</span><del>-      testRunner.overridePreference(&quot;WebKitAcceleratedCompositingEnabled&quot;, &quot;1&quot;);
-      testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">       testRunner.waitUntilDone();
</span><span class="cx">     }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestshttptestscanvaswebglorigincleanconformancehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/canvas/webgl/origin-clean-conformance.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/canvas/webgl/origin-clean-conformance.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/http/tests/canvas/webgl/origin-clean-conformance.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -103,7 +103,6 @@
</span><span class="cx"> 
</span><span class="cx">   if (videoFile) {
</span><span class="cx">     if (window.testRunner) {
</span><del>-      testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">       testRunner.dumpAsText();
</span><span class="cx">       testRunner.waitUntilDone();
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkLayoutTestshttptestssecuritywebglremotereadremoteimageallowedwithcredentialshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed-with-credentials.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -1,7 +1,6 @@
</span><span class="cx"> &lt;pre id=&quot;console&quot;&gt;&lt;/pre&gt;
</span><span class="cx"> &lt;script&gt;
</span><span class="cx"> if (window.testRunner) {
</span><del>-    testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">     testRunner.dumpAsText();
</span><span class="cx">     testRunner.waitUntilDone();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestshttptestssecuritywebglremotereadremoteimageallowedhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -1,7 +1,6 @@
</span><span class="cx"> &lt;pre id=&quot;console&quot;&gt;&lt;/pre&gt;
</span><span class="cx"> &lt;script&gt;
</span><span class="cx"> if (window.testRunner) {
</span><del>-    testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">     testRunner.dumpAsText();
</span><span class="cx">     testRunner.waitUntilDone();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestshttptestssecuritywebglremotereadremoteimageblockednocrossoriginhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -1,7 +1,6 @@
</span><span class="cx"> &lt;pre id=&quot;console&quot;&gt;&lt;/pre&gt;
</span><span class="cx"> &lt;script&gt;
</span><span class="cx"> if (window.testRunner) {
</span><del>-    testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">     testRunner.dumpAsText();
</span><span class="cx">     testRunner.waitUntilDone();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkLayoutTestshttptestswebgl102resourceswebgl_test_filesconformancemoreunitjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/more/unit.js (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/more/unit.js        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/conformance/more/unit.js        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -33,7 +33,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> if (window.layoutTestController) {
</span><del>-  layoutTestController.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">   layoutTestController.dumpAsText();
</span><span class="cx">   layoutTestController.waitUntilDone();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestshttptestswebgl102resourceswebgl_test_filesresourcesjstestprejs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/http/tests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -38,7 +38,6 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (window.layoutTestController) {
</span><del>-      layoutTestController.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">       layoutTestController.dumpAsText();
</span><span class="cx">       layoutTestController.waitUntilDone();
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkLayoutTestshttptestswebgl102resourceswebkitwebgltestharnessjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/webgl/1.0.2/resources/webkit-webgl-test-harness.js (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/webgl/1.0.2/resources/webkit-webgl-test-harness.js        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/http/tests/webgl/1.0.2/resources/webkit-webgl-test-harness.js        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -7,7 +7,6 @@
</span><span class="cx">   }
</span><span class="cx"> 
</span><span class="cx">   if (window.layoutTestController) {
</span><del>-    layoutTestController.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">     layoutTestController.dumpAsText();
</span><span class="cx">     layoutTestController.waitUntilDone();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedblinkcompositingdrawscontentwebglsimplebackgroundhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/blink/compositing/draws-content/webgl-simple-background.html (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/blink/compositing/draws-content/webgl-simple-background.html        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/imported/blink/compositing/draws-content/webgl-simple-background.html        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -13,9 +13,6 @@
</span><span class="cx">       }
</span><span class="cx">     &lt;/style&gt;
</span><span class="cx">     &lt;script&gt;
</span><del>-        if (window.testRunner)
-            testRunner.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
-
</del><span class="cx">         function drawCanvas(canvasID) {
</span><span class="cx">             var canvas = document.getElementById(canvasID);
</span><span class="cx">             var gl = canvas.getContext(&quot;webgl&quot;);
</span></span></pre></div>
<a id="trunkLayoutTestswebgl102resourceswebgl_test_filesconformancemoreunitjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/webgl/1.0.2/resources/webgl_test_files/conformance/more/unit.js (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/webgl/1.0.2/resources/webgl_test_files/conformance/more/unit.js        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/webgl/1.0.2/resources/webgl_test_files/conformance/more/unit.js        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -33,7 +33,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> if (window.layoutTestController) {
</span><del>-  layoutTestController.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">   layoutTestController.dumpAsText();
</span><span class="cx">   layoutTestController.waitUntilDone();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestswebgl102resourceswebgl_test_filesresourcesjstestprejs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -38,7 +38,6 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (window.layoutTestController) {
</span><del>-      layoutTestController.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">       layoutTestController.dumpAsText();
</span><span class="cx">       layoutTestController.waitUntilDone();
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkLayoutTestswebgl102resourceswebkitwebgltestharnessjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/webgl/1.0.2/resources/webkit-webgl-test-harness.js (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/webgl/1.0.2/resources/webkit-webgl-test-harness.js        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/webgl/1.0.2/resources/webkit-webgl-test-harness.js        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -7,7 +7,6 @@
</span><span class="cx">   }
</span><span class="cx"> 
</span><span class="cx">   if (window.layoutTestController) {
</span><del>-    layoutTestController.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">     layoutTestController.dumpAsText();
</span><span class="cx">     layoutTestController.waitUntilDone();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestswebgl103resourceswebgl_test_filesconformancemoreunitjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/more/unit.js (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/more/unit.js        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/conformance/more/unit.js        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -33,7 +33,6 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> if (window.layoutTestController) {
</span><del>-  layoutTestController.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">   layoutTestController.dumpAsText();
</span><span class="cx">   layoutTestController.waitUntilDone();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestswebgl103resourceswebgl_test_filesresourcesjstestprejs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/resources/js-test-pre.js (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/resources/js-test-pre.js        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/webgl/1.0.3/resources/webgl_test_files/resources/js-test-pre.js        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -38,7 +38,6 @@
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (window.layoutTestController) {
</span><del>-      layoutTestController.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">       layoutTestController.dumpAsText();
</span><span class="cx">       layoutTestController.waitUntilDone();
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkLayoutTestswebgl103resourceswebkitwebgltestharnessjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/webgl/1.0.3/resources/webkit-webgl-test-harness.js (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/webgl/1.0.3/resources/webkit-webgl-test-harness.js        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/webgl/1.0.3/resources/webkit-webgl-test-harness.js        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -7,7 +7,6 @@
</span><span class="cx">   }
</span><span class="cx"> 
</span><span class="cx">   if (window.layoutTestController) {
</span><del>-    layoutTestController.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">     layoutTestController.dumpAsText();
</span><span class="cx">     layoutTestController.waitUntilDone();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestswebglresourceswebkitwebgltestharnessjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/webgl/resources/webkit-webgl-test-harness.js (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/webgl/resources/webkit-webgl-test-harness.js        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/LayoutTests/webgl/resources/webkit-webgl-test-harness.js        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -7,7 +7,6 @@
</span><span class="cx">   }
</span><span class="cx"> 
</span><span class="cx">   if (window.layoutTestController) {
</span><del>-    layoutTestController.overridePreference(&quot;WebKitWebGLEnabled&quot;, &quot;1&quot;);
</del><span class="cx">     layoutTestController.dumpAsText();
</span><span class="cx">     layoutTestController.waitUntilDone();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/Tools/ChangeLog        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -1,3 +1,20 @@
</span><ins>+2016-03-13  Dean Jackson  &lt;dino@apple.com&gt;
+
+        DRT should enable WebGL by default on Mac
+        https://bugs.webkit.org/show_bug.cgi?id=155419
+        &lt;rdar://problem/25136981&gt;
+
+        Reviewed by Sam Weinig.
+
+        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.
+
</ins><span class="cx"> 2016-03-13  Konstantin Tokarev  &lt;annulen@yandex.ru&gt;
</span><span class="cx"> 
</span><span class="cx">         Added new port JSCOnly.
</span></span></pre></div>
<a id="trunkToolsDumpRenderTreemacDumpRenderTreemm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm (198090 => 198091)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm        2016-03-14 01:57:17 UTC (rev 198090)
+++ trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm        2016-03-14 03:58:26 UTC (rev 198091)
</span><span class="lines">@@ -964,7 +964,6 @@
</span><span class="cx">     [preferences setCanvasUsesAcceleratedDrawing:YES];
</span><span class="cx">     [preferences setAcceleratedDrawingEnabled:useAcceleratedDrawing];
</span><span class="cx"> #endif
</span><del>-    [preferences setWebGLEnabled:NO];
</del><span class="cx">     [preferences setCSSRegionsEnabled:YES];
</span><span class="cx">     [preferences setUsePreHTML5ParserQuirks:NO];
</span><span class="cx">     [preferences setAsynchronousSpellCheckingEnabled:NO];
</span></span></pre>
</div>
</div>

</body>
</html>