Title: [268036] trunk/LayoutTests
Revision
268036
Author
peng.l...@apple.com
Date
2020-10-05 22:33:48 -0700 (Mon, 05 Oct 2020)

Log Message

[Media in GPU Process] Enable some fullscreen and picture-in-picture tests
https://bugs.webkit.org/show_bug.cgi?id=217360

Unreviewed test gardening.


* gpu-process/TestExpectations:
* media/navigate-with-pip-should-not-crash.html:
* media/pip-video-going-into-fullscreen.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (268035 => 268036)


--- trunk/LayoutTests/ChangeLog	2020-10-06 05:32:15 UTC (rev 268035)
+++ trunk/LayoutTests/ChangeLog	2020-10-06 05:33:48 UTC (rev 268036)
@@ -1,3 +1,14 @@
+2020-10-05  Peng Liu  <peng.l...@apple.com>
+
+        [Media in GPU Process] Enable some fullscreen and picture-in-picture tests
+        https://bugs.webkit.org/show_bug.cgi?id=217360
+
+        Unreviewed test gardening.
+
+        * gpu-process/TestExpectations:
+        * media/navigate-with-pip-should-not-crash.html:
+        * media/pip-video-going-into-fullscreen.html:
+
 2020-10-05  Lauro Moura  <lmo...@igalia.com>
 
         [GLIB] Gardening some flaky crashes related to NetworkProcess

Modified: trunk/LayoutTests/gpu-process/TestExpectations (268035 => 268036)


--- trunk/LayoutTests/gpu-process/TestExpectations	2020-10-06 05:32:15 UTC (rev 268035)
+++ trunk/LayoutTests/gpu-process/TestExpectations	2020-10-06 05:33:48 UTC (rev 268036)
@@ -178,6 +178,9 @@
 imported/blink/compositing [ Skip ]
 inspector/layers/layers-compositing-reasons.html [ Skip ]
 
+media/controls [ Skip ]
+media/media-source [ Skip ]
+
 media/airplay-allows-buffering.html [ Skip ]
 media/airplay-autoplay.html [ Skip ]
 media/audio-background-playback-playlist.html [ Skip ]
@@ -189,10 +192,6 @@
 media/controls-strict.html [ Skip ]
 media/controls-styling-strict.html [ Skip ]
 media/controls-without-preload.html [ Skip ]
-media/controls/airplay-controls.html [ Skip ]
-media/controls/inline-elements-dropoff-order.html [ Skip ]
-media/controls/picture-in-picture.html [ Skip ]
-media/controls/pip-placeholder-without-video-controls.html [ Skip ]
 media/deactivate-audio-session.html [ Skip ]
 media/element-containing-pip-video-going-into-fullscreen.html [ Skip ]
 media/fullscreen-api-enabled-media-with-presentation-mode.html [ Skip ]
@@ -204,11 +203,7 @@
 media/media-can-play-ogg.html [ Skip ]
 media/media-controls-invalid-url.html [ Skip ]
 media/media-controls-play-button-updates.html [ Skip ]
-media/media-fullscreen-loop-inline.html [ Skip ]
-media/media-fullscreen-pause-inline.html [ Skip ]
-media/media-fullscreen-return-to-inline.html [ Skip ]
 media/media-higher-prio-audio-stream.html [ Skip ]
-media/media-source [ Skip ]
 media/media-volume-slider-rendered-below.html [ Skip ]
 media/media-volume-slider-rendered-normal.html [ Skip ]
 media/modern-media-controls/airplay-support/airplay-support.html [ Skip ]
@@ -244,20 +239,9 @@
 media/modern-media-controls/scrubber-support/ipad/scrubber-support-drag.html [ Skip ]
 media/modern-media-controls/start-support/start-support-fullscreen.html [ Skip ]
 media/modern-media-controls/tracks-support/tracks-support-off-text-track.html [ Skip ]
-media/muted-video-is-playing-audio.html [ Skip ]
-media/navigate-with-pip-should-not-crash.html [ Skip ]
 media/now-playing-status-without-media.html [ Skip ]
-media/picture-in-picture/picture-in-picture-api-css-selector.html [ Skip ]
-media/picture-in-picture/picture-in-picture-api-enter-pip-4.html [ Skip ]
-media/picture-in-picture/picture-in-picture-api-events.html [ Skip ]
-media/picture-in-picture/picture-in-picture-api-exit-pip-1.html [ Skip ]
-media/picture-in-picture/picture-in-picture-api-pip-window.html [ Skip ]
-media/picture-in-picture/picture-in-picture-interruption.html [ Skip ]
-media/pip-video-going-into-fullscreen.html [ Skip ]
-media/presentationmodechanged-fired-once.html [ Skip ]
 media/progress-events-generated-correctly.html [ Skip ]
 media/remoteplayback-prompt.html [ Skip ]
-media/suspend-video-element-will-close-pip.html [ Skip ]
 media/track/audio-track-add-remove.html [ Skip ]
 media/track/audio/audio-track-mkv-vorbis-addtrack.html [ Skip ]
 media/track/audio/audio-track-mkv-vorbis-enabled.html [ Skip ]
@@ -322,7 +306,6 @@
 media/video-duration-seekable.html [ Skip ]
 media/video-error-does-not-exist.html [ Skip ]
 media/video-fullscreen-only-playback.html [ Skip ]
-media/video-fullscreen-stress.html [ Skip ]
 media/video-inactive-playback.html [ Skip ]
 media/video-isplayingtoautomotiveheadunit.html [ Skip ]
 media/video-main-content-allow-then-deny.html [ Skip ]

Modified: trunk/LayoutTests/media/navigate-with-pip-should-not-crash.html (268035 => 268036)


--- trunk/LayoutTests/media/navigate-with-pip-should-not-crash.html	2020-10-06 05:32:15 UTC (rev 268035)
+++ trunk/LayoutTests/media/navigate-with-pip-should-not-crash.html	2020-10-06 05:33:48 UTC (rev 268036)
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html>
 <head>
     <title>Navigate to another page while video is playing in pip should not crash</title>
@@ -7,8 +8,10 @@
         var mediaElement;
         var videoframe;
 
-        if (window.internals)
-            window.internals.settings.setAllowsPictureInPictureMediaPlayback(true);
+        if (window.internals) {
+            internals.settings.setAllowsPictureInPictureMediaPlayback(true);
+            internals.setMockVideoPresentationModeEnabled(true);
+        }
 
         function init()
         {

Modified: trunk/LayoutTests/media/pip-video-going-into-fullscreen.html (268035 => 268036)


--- trunk/LayoutTests/media/pip-video-going-into-fullscreen.html	2020-10-06 05:32:15 UTC (rev 268035)
+++ trunk/LayoutTests/media/pip-video-going-into-fullscreen.html	2020-10-06 05:33:48 UTC (rev 268036)
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html>
 <head>
     <title>Test pip video going into fullscreen should exit pip</title>
@@ -4,8 +5,10 @@
     <script src=""
     <script src=""
     <script>
-        if (window.internals)
-            window.internals.settings.setAllowsPictureInPictureMediaPlayback(true);
+        if (window.internals) {
+            internals.settings.setAllowsPictureInPictureMediaPlayback(true);
+            internals.setMockVideoPresentationModeEnabled(true);
+        }
 
         var enteredFullscreen = false;
         var exitedPIP = false;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to