media/video-pause-while-seeking.html This test is a flaky failure on all platforms. HISTORY: https://results.webkit.org/?suite=layout-tests&test=media%2Fvideo-pause-while-seeking.html TEXT DIFF: +CONSOLE MESSAGE: Unhandled Promise Rejection: AbortError: The operation was aborted. Test pause while seeking by: DIFF URL: https://build.webkit.org/results/Apple-Ventura-Release-AppleSilicon-WK2-Tests/268273@main%20(5054)/media/video-pause-while-seeking-pretty-diff.html REPRODUCTION: I was able to reproduce this issue on macOS Ventura (13.5, 22G74/arm64) ToT using the following command: run-webkit-tests --clobber-old-results --verbose --iterations 500 --exit-after-n-failures 1 --child-processes 10 -f media/video-pause-while-seeking.html REGRESSION: As this issue extends past the history shown on the flakiness dashboard, I was unable to bisect a regression point.
<rdar://problem/115866903>
Test gardening commit 268284@main (562a85017214): <https://commits.webkit.org/268284@main> Reviewed commits have been landed. Closing PR #18053 and removing active labels.
Pull request: https://github.com/WebKit/WebKit/pull/18072
I don't have a proper Mac test environment available here right now, but I suspect that the unhandled promise rejection may happen in the promise that the video.play() call returns. I'm submitting a tentative fix that protects that call with a catch().
Created attachment 468609 [details] video-pause-while-seeking-pretty-diff.html With the pull request above, the issue progresses to the following text diff: ``` ++ Video started to play, seeking RUN(video.currentTime = 10) +EVENT(seeked) + +++ Video seeked + ++ Pausing video before seek finishes RUN(video.pause()) -EVENT(seeked) - -++ Video seeked - ++ Checking if it was actually paused (time not marching on) ``` Attaching pretty diff.