Title: [268881] trunk/LayoutTests
Revision
268881
Author
[email protected]
Date
2020-10-22 12:12:00 -0700 (Thu, 22 Oct 2020)

Log Message

[GTK] Add media/context-menu-actions baseline after r268865.

Unreviewed test gardening.

r268865 changed this test to use set isChangingPresentationMode, which
is not yet supported in GTK. Instead of skipping all test, update the
baseline to keep testing the other assertions.

* platform/gtk/media/context-menu-actions-expected.txt: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (268880 => 268881)


--- trunk/LayoutTests/ChangeLog	2020-10-22 18:51:09 UTC (rev 268880)
+++ trunk/LayoutTests/ChangeLog	2020-10-22 19:12:00 UTC (rev 268881)
@@ -1,3 +1,15 @@
+2020-10-22  Lauro Moura  <[email protected]>
+
+        [GTK] Add media/context-menu-actions baseline after r268865.
+
+        Unreviewed test gardening.
+
+        r268865 changed this test to use set isChangingPresentationMode, which
+        is not yet supported in GTK. Instead of skipping all test, update the
+        baseline to keep testing the other assertions.
+
+        * platform/gtk/media/context-menu-actions-expected.txt: Added.
+
 2020-10-22  Youenn Fablet  <[email protected]>
 
         Introduce worklet destinations and allow to fetch modules with CORS based on destination

Added: trunk/LayoutTests/platform/gtk/media/context-menu-actions-expected.txt (0 => 268881)


--- trunk/LayoutTests/platform/gtk/media/context-menu-actions-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/gtk/media/context-menu-actions-expected.txt	2020-10-22 19:12:00 UTC (rev 268881)
@@ -0,0 +1,28 @@
+Test the various actions available in the HTML5 media element context-menu.
+
+
+RUN(video.src = '')
+EVENT(play)
+EXPECTED (video.paused == 'false') OK
+Toggling play state
+EXPECTED (video.paused == 'true') OK
+
+EXPECTED (video.muted == 'false') OK
+Toggling mute state
+EXPECTED (video.muted == 'true') OK
+
+EXPECTED (video.controls == 'true') OK
+Toggling media controls
+EXPECTED (video.controls == 'false') OK
+
+EXPECTED (video.loop == 'false') OK
+Toggling loop state
+EXPECTED (video.loop == 'true') OK
+
+EXPECTED (video.webkitDisplayingFullscreen == 'false') OK
+Toggling fullscreen state
+TypeError: internals.isChangingPresentationMode is not a function. (In 'internals.isChangingPresentationMode(video)', 'internals.isChangingPresentationMode' is undefined)
+EXPECTED (video.webkitDisplayingFullscreen == 'true'), OBSERVED 'false' FAIL
+
+END OF TEST
+
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to