[High Sierra/Sierra Release] Layout Test media/track/track-cue-css.html is a flaky...
authorpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Oct 2018 17:44:38 +0000 (17:44 +0000)
committerpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Oct 2018 17:44:38 +0000 (17:44 +0000)
https://bugs.webkit.org/show_bug.cgi?id=190876

Reviewed by Alexey Proskuryakov.

This is a speculative fix; avoid an unnecessary video seek step in test.

* media/track/track-cue-css-expected.html:
* media/track/track-cue-css.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237420 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/media/track/track-cue-css-expected.html
LayoutTests/media/track/track-cue-css.html

index 8dd0788..1009560 100644 (file)
@@ -1,3 +1,15 @@
+2018-10-25  Per Arne Vollan  <pvollan@apple.com>
+
+        [High Sierra/Sierra Release] Layout Test media/track/track-cue-css.html is a flaky image failure
+        https://bugs.webkit.org/show_bug.cgi?id=190876
+
+        Reviewed by Alexey Proskuryakov.
+
+        This is a speculative fix; avoid an unnecessary video seek step in test.
+
+        * media/track/track-cue-css-expected.html:
+        * media/track/track-cue-css.html:
+
 2018-10-25  Chris Dumez  <cdumez@apple.com>
 
         REGRESSION (236779) scandinaviandesigns.com product pages auto redirect to product image
index 58f62eb..75593cd 100644 (file)
@@ -21,8 +21,7 @@
             consoleWrite("Test that CSS in VTT file is applied correctly.");
             findMediaElement();
             video.src = findMediaFile('video', '../content/test');
-            waitForEvent('seeked', endTest);
-            waitForEvent('canplaythrough', function() { video.currentTime = .5; });
+            waitForEvent('canplaythrough', endTest);
         }
 
         setCaptionDisplayMode('Automatic');
index f6ea405..18944fb 100644 (file)
@@ -11,8 +11,7 @@
             consoleWrite("Test that CSS in VTT file is applied correctly.");
             findMediaElement();
             video.src = findMediaFile('video', '../content/test');
-            waitForEvent('seeked', endTest);
-            waitForEvent('canplaythrough', function() { video.currentTime = .5; });
+            waitForEvent('canplaythrough', endTest);
         }
 
         setCaptionDisplayMode('Automatic');