Sierra WK1: compositing/masks/compositing-clip-path-change-no-repaint.html failing
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 Aug 2016 21:22:23 +0000 (21:22 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 Aug 2016 21:22:23 +0000 (21:22 +0000)
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@204193 268f45cc-cd09-0410-ab3c-d52691b4dbfc

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

index 9d19c46..bb1848f 100644 (file)
@@ -1,3 +1,14 @@
+2016-08-05  Simon Fraser  <simon.fraser@apple.com>
+
+        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  <commit-queue@webkit.org>
 
         Unreviewed, rolling out r204128.
index bbe4f18..9d15f43 100644 (file)
@@ -27,6 +27,9 @@ Only the second box should have a repaint.
             (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)
index 390c7fc..84166ef 100644 (file)
     </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>
index 835cedd..d93e586 100644 (file)
@@ -234,9 +234,6 @@ webkit.org/b/158585 webgl/webgl-backing-store-size-update.html [ Pass Timeout ]
 # 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 ]