Title: [120999] trunk/LayoutTests
Revision
120999
Author
[email protected]
Date
2012-06-21 19:55:29 -0700 (Thu, 21 Jun 2012)

Log Message

[Chromium][Win] Missing trailing newlines in one text test expectation, debug only
https://bugs.webkit.org/show_bug.cgi?id=89534

Reviewed by Tony Gentilcore.

* fast/canvas/resize-while-save-active-expected.txt:
* fast/canvas/resize-while-save-active.html: Make test deterministic by running script after load and fix line endings.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (120998 => 120999)


--- trunk/LayoutTests/ChangeLog	2012-06-22 02:50:52 UTC (rev 120998)
+++ trunk/LayoutTests/ChangeLog	2012-06-22 02:55:29 UTC (rev 120999)
@@ -1,3 +1,13 @@
+2012-06-21  Tony Gentilcore  <[email protected]>
+
+        [Chromium][Win] Missing trailing newlines in one text test expectation, debug only
+        https://bugs.webkit.org/show_bug.cgi?id=89534
+
+        Reviewed by Tony Gentilcore.
+
+        * fast/canvas/resize-while-save-active-expected.txt:
+        * fast/canvas/resize-while-save-active.html: Make test deterministic by running script after load and fix line endings.
+
 2012-06-21  Shinya Kawanaka  <[email protected]>
 
         [Shadow][Editing] Assertion in VisibleSelection::adjuseSelectionToAvoidCrossingBoundaries() is triggered.

Modified: trunk/LayoutTests/fast/canvas/resize-while-save-active-expected.txt (120998 => 120999)


--- trunk/LayoutTests/fast/canvas/resize-while-save-active-expected.txt	2012-06-22 02:50:52 UTC (rev 120998)
+++ trunk/LayoutTests/fast/canvas/resize-while-save-active-expected.txt	2012-06-22 02:55:29 UTC (rev 120999)
@@ -1,3 +1 @@
 If we got this far without an assertion, this test passed.
-
-

Modified: trunk/LayoutTests/fast/canvas/resize-while-save-active.html (120998 => 120999)


--- trunk/LayoutTests/fast/canvas/resize-while-save-active.html	2012-06-22 02:50:52 UTC (rev 120998)
+++ trunk/LayoutTests/fast/canvas/resize-while-save-active.html	2012-06-22 02:55:29 UTC (rev 120999)
@@ -7,15 +7,18 @@
 <script>
 if (window.testRunner)
     testRunner.dumpAsText()
-var canvas = document.getElementById('mycanvas');
-var ctx = canvas.getContext('2d');
-ctx.fillStyle = "rgb(255,165,0)";
-ctx.fillRect(0, 0, 512, 512);
-ctx.save();
-canvas.width = 256;
-ctx.fillStyle = "rgb(255,165,0)";
-ctx.fillRect(0, 0, 256, 512);
-document.body.appendChild(document.createElement("p")).appendChild(document.createTextNode("If we got this far without an assertion, this test passed."));
+_onload_ = function()
+{
+    var canvas = document.getElementById('mycanvas');
+    var ctx = canvas.getContext('2d');
+    ctx.fillStyle = "rgb(255,165,0)";
+    ctx.fillRect(0, 0, 512, 512);
+    ctx.save();
+    canvas.width = 256;
+    ctx.fillStyle = "rgb(255,165,0)";
+    ctx.fillRect(0, 0, 256, 512);
+    document.body.appendChild(document.createElement("p")).appendChild(document.createTextNode("If we got this far without an assertion, this test passed."));
+};
 </script>
 </body>
 </html>

Modified: trunk/LayoutTests/platform/chromium/TestExpectations (120998 => 120999)


--- trunk/LayoutTests/platform/chromium/TestExpectations	2012-06-22 02:50:52 UTC (rev 120998)
+++ trunk/LayoutTests/platform/chromium/TestExpectations	2012-06-22 02:55:29 UTC (rev 120999)
@@ -3733,8 +3733,6 @@
 
 BUGWK89529 MAC LEOPARD DEBUG : fast/canvas/webgl/tex-image-and-sub-image-2d-with-video.html = PASS CRASH
 
-BUGWK89534 XP DEBUG : platform/chromium/virtual/gpu/fast/canvas/resize-while-save-active.html = TEXT
-
 BUGWK89702 : compositing/geometry/fixed-position-transform-composited-page-scale-down.html = PASS IMAGE
 BUGWK89702 : compositing/scaling/tiled-layer-recursion.html = PASS IMAGE
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to