Title: [188020] trunk/LayoutTests
Revision
188020
Author
simon.fra...@apple.com
Date
2015-08-05 21:49:26 -0700 (Wed, 05 Aug 2015)

Log Message

Make platform/mac/compositing/canvas/accelerated-canvas-compositing.html a cross-platform test.

* compositing/canvas/accelerated-canvas-compositing-expected.txt: Added.
* compositing/canvas/accelerated-canvas-compositing.html: Renamed from LayoutTests/platform/mac/compositing/canvas/accelerated-canvas-compositing.html.

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (188019 => 188020)


--- trunk/LayoutTests/ChangeLog	2015-08-06 04:36:04 UTC (rev 188019)
+++ trunk/LayoutTests/ChangeLog	2015-08-06 04:49:26 UTC (rev 188020)
@@ -1,3 +1,10 @@
+2015-08-05  Simon Fraser  <simon.fra...@apple.com>
+
+        Make platform/mac/compositing/canvas/accelerated-canvas-compositing.html a cross-platform test.
+
+        * compositing/canvas/accelerated-canvas-compositing-expected.txt: Added.
+        * compositing/canvas/accelerated-canvas-compositing.html: Renamed from LayoutTests/platform/mac/compositing/canvas/accelerated-canvas-compositing.html.
+
 2015-08-05  Brian Burg  <bb...@apple.com>
 
         Web Inspector: rewrite protocol test for console messages from X-Frame-Options

Added: trunk/LayoutTests/compositing/canvas/accelerated-canvas-compositing-expected.txt (0 => 188020)


--- trunk/LayoutTests/compositing/canvas/accelerated-canvas-compositing-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/compositing/canvas/accelerated-canvas-compositing-expected.txt	2015-08-06 04:49:26 UTC (rev 188020)
@@ -0,0 +1,3 @@
+Tests whether an accelerated canvas creates a compositing layer.
+
+

Copied: trunk/LayoutTests/compositing/canvas/accelerated-canvas-compositing.html (from rev 188019, trunk/LayoutTests/platform/mac/compositing/canvas/accelerated-canvas-compositing.html) (0 => 188020)


--- trunk/LayoutTests/compositing/canvas/accelerated-canvas-compositing.html	                        (rev 0)
+++ trunk/LayoutTests/compositing/canvas/accelerated-canvas-compositing.html	2015-08-06 04:49:26 UTC (rev 188020)
@@ -0,0 +1,29 @@
+<!DOCTYPE html><html>
+<head>
+<script>
+    if (window.testRunner) {
+      testRunner.dumpAsText();
+      testRunner.waitUntilDone();
+    }
+
+    function doTest() {
+        var c = document.getElementById('cvs_img2');
+        var ctx = c.getContext('2d');
+        ctx.fillStyle = 'rgba(255,0,0,1)';
+        ctx.fillRect(0,0,c.width, c.height);
+
+        if (window.testRunner) {
+            document.getElementById('layers').innerText = window.internals.layerTreeAsText(document);
+            testRunner.notifyDone();
+        }
+    }
+
+    window.addEventListener('load', doTest, false);
+</script>
+</head>
+<body>
+<p>Tests whether an accelerated canvas creates a compositing layer.</p>
+<canvas id="cvs_img2" width="174" height="131"></canvas>
+<pre id="layers">Layer tree goes here in DRT</pre>
+</body>
+</html>

Deleted: trunk/LayoutTests/platform/mac/compositing/canvas/accelerated-canvas-compositing.html (188019 => 188020)


--- trunk/LayoutTests/platform/mac/compositing/canvas/accelerated-canvas-compositing.html	2015-08-06 04:36:04 UTC (rev 188019)
+++ trunk/LayoutTests/platform/mac/compositing/canvas/accelerated-canvas-compositing.html	2015-08-06 04:49:26 UTC (rev 188020)
@@ -1,29 +0,0 @@
-<!DOCTYPE html><html>
-<head>
-<script>
-    if (window.testRunner) {
-      testRunner.dumpAsText();
-      testRunner.waitUntilDone();
-    }
-
-    function doTest() {
-        var c = document.getElementById('cvs_img2');
-        var ctx = c.getContext('2d');
-        ctx.fillStyle = 'rgba(255,0,0,1)';
-        ctx.fillRect(0,0,c.width, c.height);
-
-        if (window.testRunner) {
-            document.getElementById('layers').innerText = window.internals.layerTreeAsText(document);
-            testRunner.notifyDone();
-        }
-    }
-
-    window.addEventListener('load', doTest, false);
-</script>
-</head>
-<body>
-<p>Tests whether an accelerated canvas creates a compositing layer.</p>
-<canvas id="cvs_img2" width="174" height="131"></canvas>
-<pre id="layers">Layer tree goes here in DRT</pre>
-</body>
-</html>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to