Title: [231851] trunk/LayoutTests
- Revision
- 231851
- Author
- grao...@webkit.org
- Date
- 2018-05-16 10:25:13 -0700 (Wed, 16 May 2018)
Log Message
[Web Animations] Turn Web Animations with CSS integration on for test runners
https://bugs.webkit.org/show_bug.cgi?id=184819
Unreviewed. Another attempt to make this test more robust.
* transitions/interrupted-transition-hardware.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (231850 => 231851)
--- trunk/LayoutTests/ChangeLog 2018-05-16 17:19:17 UTC (rev 231850)
+++ trunk/LayoutTests/ChangeLog 2018-05-16 17:25:13 UTC (rev 231851)
@@ -1,3 +1,12 @@
+2018-05-16 Antoine Quint <grao...@apple.com>
+
+ [Web Animations] Turn Web Animations with CSS integration on for test runners
+ https://bugs.webkit.org/show_bug.cgi?id=184819
+
+ Unreviewed. Another attempt to make this test more robust.
+
+ * transitions/interrupted-transition-hardware.html:
+
2018-05-16 Chris Nardi <cna...@chromium.org>
Remove Document#selectedStylesheetSet/preferredStylesheetSet
Modified: trunk/LayoutTests/transitions/interrupted-transition-hardware.html (231850 => 231851)
--- trunk/LayoutTests/transitions/interrupted-transition-hardware.html 2018-05-16 17:19:17 UTC (rev 231850)
+++ trunk/LayoutTests/transitions/interrupted-transition-hardware.html 2018-05-16 17:25:13 UTC (rev 231851)
@@ -42,14 +42,19 @@
const test = document.getElementById("test");
+ function waitForCompositedAnimationUpdate(callback)
+ {
+ setTimeout(callback, 500);
+ }
+
setTimeout(() => {
test.classList.add("transitions");
- setTimeout(() => {
+ waitForCompositedAnimationUpdate(() => {
test.classList.remove("transitions");
- setTimeout(() => {
+ waitForCompositedAnimationUpdate(() => {
if (window.testRunner)
testRunner.notifyDone();
- }, 500);
+ });
});
});
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes