Title: [204193] trunk/LayoutTests
Revision
204193
Author
[email protected]
Date
2016-08-05 14:22:23 -0700 (Fri, 05 Aug 2016)

Log Message

Sierra WK1: compositing/masks/compositing-clip-path-change-no-repaint.html failing
rdar://problem/26789221

Make this test less sensitive to platform repaint differences.

* compositing/masks/compositing-clip-path-change-no-repaint-expected.txt:
* compositing/masks/compositing-clip-path-change-no-repaint.html:
* platform/mac-wk1/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (204192 => 204193)


--- trunk/LayoutTests/ChangeLog	2016-08-05 21:19:43 UTC (rev 204192)
+++ trunk/LayoutTests/ChangeLog	2016-08-05 21:22:23 UTC (rev 204193)
@@ -1,3 +1,14 @@
+2016-08-05  Simon Fraser  <[email protected]>
+
+        Sierra WK1: compositing/masks/compositing-clip-path-change-no-repaint.html failing
+        rdar://problem/26789221
+
+        Make this test less sensitive to platform repaint differences.
+
+        * compositing/masks/compositing-clip-path-change-no-repaint-expected.txt:
+        * compositing/masks/compositing-clip-path-change-no-repaint.html:
+        * platform/mac-wk1/TestExpectations:
+
 2016-08-05  Commit Queue  <[email protected]>
 
         Unreviewed, rolling out r204128.

Modified: trunk/LayoutTests/compositing/masks/compositing-clip-path-change-no-repaint-expected.txt (204192 => 204193)


--- trunk/LayoutTests/compositing/masks/compositing-clip-path-change-no-repaint-expected.txt	2016-08-05 21:19:43 UTC (rev 204192)
+++ trunk/LayoutTests/compositing/masks/compositing-clip-path-change-no-repaint-expected.txt	2016-08-05 21:22:23 UTC (rev 204193)
@@ -27,6 +27,9 @@
             (GraphicsLayer
               (bounds 300.00 300.00)
               (drawsContent 1)
+              (repaint rects
+                (rect 0.00 0.00 300.00 300.00)
+              )
             )
           (repaint rects
             (rect 0.00 0.00 300.00 300.00)

Modified: trunk/LayoutTests/compositing/masks/compositing-clip-path-change-no-repaint.html (204192 => 204193)


--- trunk/LayoutTests/compositing/masks/compositing-clip-path-change-no-repaint.html	2016-08-05 21:19:43 UTC (rev 204192)
+++ trunk/LayoutTests/compositing/masks/compositing-clip-path-change-no-repaint.html	2016-08-05 21:22:23 UTC (rev 204193)
@@ -27,21 +27,26 @@
     </style>
     <script>
         if (window.testRunner) {
+            testRunner.waitUntilDone();
             testRunner.dumpAsText();
         }
 
         function doTest()
         {
-            document.body.offsetWidth;
+            window.setTimeout(function() {
+                window.setTimeout(function() {
+                    if (window.internals)
+                        window.internals.startTrackingRepaints();
 
-            if (window.internals)
-                window.internals.startTrackingRepaints();
+                    document.body.classList.add('changed');
 
-            document.body.classList.add('changed');
+                    if (window.internals)
+                        document.getElementById('repaintRects').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
 
-            if (window.internals)
-                document.getElementById('repaintRects').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
-
+                    if (window.testRunner)
+                        testRunner.notifyDone();
+                }, 0)
+            }, 0)
         }
         window.addEventListener('load', doTest, false);
     </script>

Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (204192 => 204193)


--- trunk/LayoutTests/platform/mac-wk1/TestExpectations	2016-08-05 21:19:43 UTC (rev 204192)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations	2016-08-05 21:22:23 UTC (rev 204193)
@@ -234,9 +234,6 @@
 # rdar://problem/26478296
 [ Sierra+ ] svg/hixie/text/003.html [ Failure ]
 
-# rdar://problem/26789221
-[ Sierra+ ] compositing/masks/compositing-clip-path-change-no-repaint.html [ Failure ]
-
 # rdar://problem/26422407
 [ Sierra+ ] imported/blink/compositing/child-transform-with-anchor-point.html  [ ImageOnlyFailure ]
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to