Title: [251412] trunk/LayoutTests
Revision
251412
Author
[email protected]
Date
2019-10-21 20:56:37 -0700 (Mon, 21 Oct 2019)

Log Message

[WK1] Layout Test legacy-animation-engine/compositing/backing/transform-transition-from-outside-view.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=184611

Reviewed by Zalan Bujtas.

In WebKit1, the transform on the layer is not consistent, so filter it out of the layer tree dump (it's not the important part).

* legacy-animation-engine/compositing/backing/transform-transition-from-outside-view-expected.txt:
* legacy-animation-engine/compositing/backing/transform-transition-from-outside-view.html:
* platform/mac-wk1/TestExpectations:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (251411 => 251412)


--- trunk/LayoutTests/ChangeLog	2019-10-22 01:55:20 UTC (rev 251411)
+++ trunk/LayoutTests/ChangeLog	2019-10-22 03:56:37 UTC (rev 251412)
@@ -1,3 +1,16 @@
+2019-10-21  Simon Fraser  <[email protected]>
+
+        [WK1] Layout Test legacy-animation-engine/compositing/backing/transform-transition-from-outside-view.html is a flaky failure
+        https://bugs.webkit.org/show_bug.cgi?id=184611
+
+        Reviewed by Zalan Bujtas.
+        
+        In WebKit1, the transform on the layer is not consistent, so filter it out of the layer tree dump (it's not the important part).
+
+        * legacy-animation-engine/compositing/backing/transform-transition-from-outside-view-expected.txt:
+        * legacy-animation-engine/compositing/backing/transform-transition-from-outside-view.html:
+        * platform/mac-wk1/TestExpectations:
+
 2019-10-21  Myles C. Maxfield  <[email protected]>
 
         Update Web Platform Test css/css-lists/content-property/marker-text-matches-armenian.html

Modified: trunk/LayoutTests/legacy-animation-engine/compositing/backing/transform-transition-from-outside-view-expected.txt (251411 => 251412)


--- trunk/LayoutTests/legacy-animation-engine/compositing/backing/transform-transition-from-outside-view-expected.txt	2019-10-22 01:55:20 UTC (rev 251411)
+++ trunk/LayoutTests/legacy-animation-engine/compositing/backing/transform-transition-from-outside-view-expected.txt	2019-10-22 03:56:37 UTC (rev 251412)
@@ -14,7 +14,6 @@
           (bounds 148.00 128.00)
           (drawsContent 1)
           (backingStoreAttached 1)
-          (transform [1.00 0.00 0.00 0.00] [0.00 1.00 0.00 0.00] [0.00 0.00 1.00 0.00] [-400.00 0.00 0.00 1.00])
           (children 1
             (GraphicsLayer
               (offsetFromRenderer width=-14 height=-14)

Modified: trunk/LayoutTests/legacy-animation-engine/compositing/backing/transform-transition-from-outside-view.html (251411 => 251412)


--- trunk/LayoutTests/legacy-animation-engine/compositing/backing/transform-transition-from-outside-view.html	2019-10-22 01:55:20 UTC (rev 251411)
+++ trunk/LayoutTests/legacy-animation-engine/compositing/backing/transform-transition-from-outside-view.html	2019-10-22 03:56:37 UTC (rev 251412)
@@ -32,11 +32,18 @@
             testRunner.dumpAsText();
             testRunner.waitUntilDone();
         }
+        
+        function filterString(inputString, skippedLinesRegexp)
+        {
+            var lines = inputString.split("\n");
+            var filtered = lines.filter(function (str) { return !skippedLinesRegexp.test(str); });
+            return filtered.join("\n");
+        }
 
         function dumpLayers()
         {
             if (window.testRunner) {
-                output.innerText = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_BACKING_STORE_ATTACHED);
+                output.innerText = filterString(window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_BACKING_STORE_ATTACHED), /transform/);
                 testRunner.notifyDone();
             }
         }
@@ -43,7 +50,7 @@
 
         window.addEventListener("load", function() {
             document.body.classList.add('changed');
-            window.setTimeout(dumpLayers, 0);
+            setTimeout(dumpLayers, 0);
         });
     </script>
 </head>

Modified: trunk/LayoutTests/platform/mac-wk1/TestExpectations (251411 => 251412)


--- trunk/LayoutTests/platform/mac-wk1/TestExpectations	2019-10-22 01:55:20 UTC (rev 251411)
+++ trunk/LayoutTests/platform/mac-wk1/TestExpectations	2019-10-22 03:56:37 UTC (rev 251412)
@@ -724,8 +724,6 @@
 [ Mojave+ ] displaylists/layer-dispay-list.html [ Failure ]
 [ Mojave+ ] displaylists/replay-skip-clipped-rect.html [ Failure ]
 
-webkit.org/b/188357 legacy-animation-engine/compositing/backing/transform-transition-from-outside-view.html [ Pass Failure ]
-
 webkit.org/b/184611 compositing/layer-creation/fixed-overlap-extent.html [ Pass Failure ]
 
 # <rdar://problem/42904780>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to