RESOLVED FIXED 198118
[GTK] media/playlist-inherits-user-gesture.html is timing out
https://bugs.webkit.org/show_bug.cgi?id=198118
Summary [GTK] media/playlist-inherits-user-gesture.html is timing out
Alicia Boya García
Reported 2019-05-22 08:01:38 PDT
media/playlist-inherits-user-gesture.html Timing out since r245462:r245467 --- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/media/playlist-inherits-user-gesture-expected.txt +++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/media/playlist-inherits-user-gesture-actual.txt @@ -1,27 +1,3 @@ -** Start first video with user gesture. -RUN(window.internals.settings.setVideoPlaybackRequiresUserGesture(true);) -RUN(video1 = document.createElement("video")) -RUN(video1.src = findMediaFile("video", "content/test")) -RUN(document.body.appendChild(video1)) -EXPECTED (window.internals.pageMediaState().includes('HasUserInteractedWithMediaElement') == 'false') OK -RUN(video1.play()) -EXPECTED (window.internals.pageMediaState().includes('HasUserInteractedWithMediaElement') == 'true') OK -EVENT(playing) -RUN(video1.currentTime = video1.duration - 0.2) -EVENT(ended) +CONSOLE MESSAGE: line 35: Unhandled Promise Rejection: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. +FAIL: Timed out waiting for notifyDone to be called -** Start second video without user gesture but within inheritance window, should succeed. -RUN(video2 = document.createElement("video")) -RUN(video2.src = findMediaFile("video", "content/test")) -RUN(document.body.appendChild(video2)) -Promise resolved OK -RUN(video2.currentTime = video2.duration - 0.2) -EVENT(ended) - -** Start third video without user gesture but after inheritance window, should fail. -RUN(video3 = document.createElement("video")) -RUN(video3.src = findMediaFile("video", "content/test")) -RUN(document.body.appendChild(video3)) -Promise rejected correctly OK -END OF TEST -
Attachments
Patch (1.42 KB, patch)
2021-07-12 08:05 PDT, Arcady Goldmints-Orlov
no flags
Arcady Goldmints-Orlov
Comment 1 2021-07-12 08:02:02 PDT
This appears to be fixed by r279289.
Arcady Goldmints-Orlov
Comment 2 2021-07-12 08:05:15 PDT
Philippe Normand
Comment 3 2021-07-12 08:13:47 PDT
(In reply to Arcady Goldmints-Orlov from comment #1) > This appears to be fixed by r279289. Yes, good catch.
EWS
Comment 4 2021-07-12 08:41:59 PDT
Committed r279828 (239589@main): <https://commits.webkit.org/239589@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 433318 [details].
Note You need to log in before you can comment on or make changes to this bug.