Title: [249734] trunk/LayoutTests
- Revision
- 249734
- Author
- simon.fra...@apple.com
- Date
- 2019-09-10 14:59:48 -0700 (Tue, 10 Sep 2019)
Log Message
Attempt to make this test not flakey.
https://bugs.webkit.org/show_bug.cgi?id=201482
* legacy-animation-engine/compositing/transitions/add-remove-transition.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (249733 => 249734)
--- trunk/LayoutTests/ChangeLog 2019-09-10 21:43:41 UTC (rev 249733)
+++ trunk/LayoutTests/ChangeLog 2019-09-10 21:59:48 UTC (rev 249734)
@@ -247,6 +247,13 @@
* TestExpectations:
+2019-09-10 Simon Fraser <simon.fra...@apple.com>
+
+ Attempt to make this test not flakey.
+ https://bugs.webkit.org/show_bug.cgi?id=201482
+
+ * legacy-animation-engine/compositing/transitions/add-remove-transition.html:
+
2019-09-09 Jiewen Tan <jiewen_...@apple.com>
Layout Test http/wpt/webauthn/public-key-credential-create-failure-u2f-silent.https.html is flaky
Modified: trunk/LayoutTests/legacy-animation-engine/compositing/transitions/add-remove-transition.html (249733 => 249734)
--- trunk/LayoutTests/legacy-animation-engine/compositing/transitions/add-remove-transition.html 2019-09-10 21:43:41 UTC (rev 249733)
+++ trunk/LayoutTests/legacy-animation-engine/compositing/transitions/add-remove-transition.html 2019-09-10 21:59:48 UTC (rev 249734)
@@ -23,18 +23,20 @@
transform: translateZ(0);
}
</style>
+ <script src=""
<script>
if (window.testRunner)
testRunner.waitUntilDone();
- window.addEventListener('load', () => {
+ window.addEventListener('load', async () => {
target.classList.add('transitioning');
document.body.offsetWidth;
target.classList.add('no-transition');
- setTimeout(() => {
- if (window.testRunner)
- testRunner.notifyDone();
- }, 20);
+
+ await UIHelper.ensurePresentationUpdate();
+
+ if (window.testRunner)
+ testRunner.notifyDone();
}, false);
</script>
</head>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes