Title: [236884] trunk/LayoutTests
Revision
236884
Author
[email protected]
Date
2018-10-05 13:08:13 -0700 (Fri, 05 Oct 2018)

Log Message

Try to unflake inspector/layers/layerTreeDidChange.html

Unreviewed. Test gardening.

* inspector/layers/layerTreeDidChange.html:
Force a layout early in the test to try to force layout tree
update events in the expected sequence.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (236883 => 236884)


--- trunk/LayoutTests/ChangeLog	2018-10-05 19:59:04 UTC (rev 236883)
+++ trunk/LayoutTests/ChangeLog	2018-10-05 20:08:13 UTC (rev 236884)
@@ -1,3 +1,13 @@
+2018-10-05  Joseph Pecoraro  <[email protected]>
+
+        Try to unflake inspector/layers/layerTreeDidChange.html
+
+        Unreviewed. Test gardening.
+
+        * inspector/layers/layerTreeDidChange.html:
+        Force a layout early in the test to try to force layout tree
+        update events in the expected sequence.
+
 2018-10-05  Antoine Quint  <[email protected]>
 
         [Web Animations] REGRESSION (r236809): crash under AnimationTimeline::updateCSSAnimationsForElement()

Modified: trunk/LayoutTests/inspector/layers/layerTreeDidChange.html (236883 => 236884)


--- trunk/LayoutTests/inspector/layers/layerTreeDidChange.html	2018-10-05 19:59:04 UTC (rev 236883)
+++ trunk/LayoutTests/inspector/layers/layerTreeDidChange.html	2018-10-05 20:08:13 UTC (rev 236884)
@@ -10,6 +10,9 @@
     element.className = "composited";
     element.id = "last-element";
     document.body.appendChild(element);
+    
+    // Force layout to trigger a layer update.
+    document.body.offsetWidth;
 
     requestAnimationFrame(() => {
         TestPage.dispatchEventToFrontend("TestPageDidAppendChild");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to