Title: [255124] trunk/LayoutTests
- Revision
- 255124
- Author
- [email protected]
- Date
- 2020-01-25 12:07:20 -0800 (Sat, 25 Jan 2020)
Log Message
REGRESSION: [ Mac WK2 ] animations/suspend-resume-animation-events.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=206615
Reviewed by Alexey Proskuryakov.
* animations/suspend-resume-animation-events.html: Make test slightly less timing
dependent.
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (255123 => 255124)
--- trunk/LayoutTests/ChangeLog 2020-01-25 20:02:02 UTC (rev 255123)
+++ trunk/LayoutTests/ChangeLog 2020-01-25 20:07:20 UTC (rev 255124)
@@ -1,3 +1,13 @@
+2020-01-25 Darin Adler <[email protected]>
+
+ REGRESSION: [ Mac WK2 ] animations/suspend-resume-animation-events.html is a flaky failure
+ https://bugs.webkit.org/show_bug.cgi?id=206615
+
+ Reviewed by Alexey Proskuryakov.
+
+ * animations/suspend-resume-animation-events.html: Make test slightly less timing
+ dependent.
+
2020-01-25 Jer Noble <[email protected]>
Regression (r255103): media/modern-media-controls/placard-support/placard-support-airplay-fullscreen-no-controls.html
Modified: trunk/LayoutTests/animations/suspend-resume-animation-events.html (255123 => 255124)
--- trunk/LayoutTests/animations/suspend-resume-animation-events.html 2020-01-25 20:02:02 UTC (rev 255123)
+++ trunk/LayoutTests/animations/suspend-resume-animation-events.html 2020-01-25 20:07:20 UTC (rev 255124)
@@ -27,19 +27,27 @@
}
</style>
<script type="text/_javascript_" charset="utf-8">
-
+
function suspend()
{
if (window.internals)
internals.suspendAnimations();
+
+ setTimeout(resume, 60);
}
-
+
function resume()
{
if (window.internals)
internals.resumeAnimations();
+
+ setTimeout(function()
+ {
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }, 250);
}
-
+
function startTest()
{
if (window.testRunner) {
@@ -46,22 +54,15 @@
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
-
+
setTimeout(suspend, 40);
- setTimeout(resume, 100);
- setTimeout(function()
- {
- if (window.testRunner)
- testRunner.notifyDone();
- }, 350);
}
-
+
function logEvent(e, phase)
{
var log = document.getElementById('log');
log.innerHTML = log.innerHTML + phase + ' animation ' + e.animationName + '<br>';
}
-
</script>
</head>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes