| Summary: | media/video-pause-while-seeking.html is a flaky failure. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ben Schwartz <ben_schwartz> | ||||
| Component: | Media | Assignee: | Enrique Ocaña <eocanha> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | eocanha, eric.carlson, philn, webkit-bot-watchers-bugzilla, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=252063 | ||||||
| Attachments: |
|
||||||
|
Description
Ben Schwartz
2023-09-21 16:30:11 PDT
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.
|