Bug 211569 - [GTK] media/video-presentation-mode.html is failing since added in r261242
Summary: [GTK] media/video-presentation-mode.html is failing since added in r261242
Status: RESOLVED DUPLICATE of bug 202756
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-07 07:08 PDT by Diego Pino
Modified: 2020-05-20 07:41 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Pino 2020-05-07 07:08:36 PDT
The test returns a timeout:

  media/video-presentation-mode.html [ Timeout ]

See: https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r261273%20(13650)/media/video-presentation-mode-diff.txt

Diff

--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/media/video-presentation-mode-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/media/video-presentation-mode-actual.txt
@@ -1,32 +1,3 @@
+CONSOLE MESSAGE: TypeError: window.internals.setMockVideoPresentationModeEnabled is not a function. (In 'window.internals.setMockVideoPresentationModeEnabled(true)', 'window.internals.setMockVideoPresentationModeEnabled' is undefined)
+FAIL: Timed out waiting for notifyDone to be called
 
-Test the video presentation mode (video fullscreen and picture-in-picture) API.
-
-
-EVENT(canplaythrough)
-EXPECTED (video.webkitSupportsFullscreen == 'true') OK
-EXPECTED (video.webkitDisplayingFullscreen == 'false') OK
-
-** Try to enter fullscreen
-RUN(video.webkitSetPresentationMode('fullscreen'))
-EVENT(webkitpresentationmodechanged)
-
-** Entered fullscreen
-EXPECTED (video.webkitPresentationMode == 'fullscreen') OK
-
-** Try to enter picture-in-picture
-RUN(video.webkitSetPresentationMode('picture-in-picture'))
-EVENT(webkitpresentationmodechanged)
-
-** Entered picture-in-picture
-EXPECTED (video.webkitPresentationMode == 'picture-in-picture') OK
-
-** Try to return to inline
-RUN(video.webkitSetPresentationMode('inline'))
-EVENT(webkitpresentationmodechanged)
-
-** Returned to inline
-EXPECTED (video.webkitPresentationMode == 'inline') OK
-
-** Test Completed
-END OF TEST
-

It seems to be a new feature lacking WebKitGTK implementation. Marking as Skip in test expectations.
Comment 1 Philippe Normand 2020-05-20 07:41:34 PDT

*** This bug has been marked as a duplicate of bug 202756 ***