Title: [260835] trunk/LayoutTests
Revision
260835
Author
[email protected]
Date
2020-04-28 11:57:06 -0700 (Tue, 28 Apr 2020)

Log Message

REGRESSION(r260822): Broke media/track/track-in-band-metadata-display-order.html on Mac
https://bugs.webkit.org/show_bug.cgi?id=211133

Patch by Philippe Normand <[email protected]> on 2020-04-28
Reviewed by Eric Carlson.

* media/track/track-in-band-metadata-display-order.html: Ensure the caption
display mode is set to forced-only, this is a requirement for the
test.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (260834 => 260835)


--- trunk/LayoutTests/ChangeLog	2020-04-28 18:04:53 UTC (rev 260834)
+++ trunk/LayoutTests/ChangeLog	2020-04-28 18:57:06 UTC (rev 260835)
@@ -1,3 +1,14 @@
+2020-04-28  Philippe Normand  <[email protected]>
+
+        REGRESSION(r260822): Broke media/track/track-in-band-metadata-display-order.html on Mac
+        https://bugs.webkit.org/show_bug.cgi?id=211133
+
+        Reviewed by Eric Carlson.
+
+        * media/track/track-in-band-metadata-display-order.html: Ensure the caption
+        display mode is set to forced-only, this is a requirement for the
+        test.
+
 2020-04-28  Jack Lee  <[email protected]>
 
         Nullptr crash in EditCommand::EditCommand via CompositeEditCommand::removeNode

Modified: trunk/LayoutTests/media/track/track-in-band-metadata-display-order-expected.txt (260834 => 260835)


--- trunk/LayoutTests/media/track/track-in-band-metadata-display-order-expected.txt	2020-04-28 18:04:53 UTC (rev 260834)
+++ trunk/LayoutTests/media/track/track-in-band-metadata-display-order-expected.txt	2020-04-28 18:57:06 UTC (rev 260835)
@@ -1,4 +1,5 @@
 
+RUN(internals.setCaptionDisplayMode('ForcedOnly'))
 RUN(video.src = "" "../content/test"))
 EVENT(canplaythrough)
 RUN(captionTrack = video.addTextTrack("captions"))

Modified: trunk/LayoutTests/media/track/track-in-band-metadata-display-order.html (260834 => 260835)


--- trunk/LayoutTests/media/track/track-in-band-metadata-display-order.html	2020-04-28 18:04:53 UTC (rev 260834)
+++ trunk/LayoutTests/media/track/track-in-band-metadata-display-order.html	2020-04-28 18:57:06 UTC (rev 260835)
@@ -7,6 +7,8 @@
     <script src=""
     <script>
         window.addEventListener('load', async event => {
+            if (window.internals)
+                run("internals.setCaptionDisplayMode('ForcedOnly')");
             window.video = document.querySelector('video');
             run('video.src = "" "../content/test")');
 
@@ -38,4 +40,4 @@
 <body>
     <video controls></video>
 </body>
-</html>
\ No newline at end of file
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to