NEW 215929
[ macOS iOS ] compositing/video/poster.html is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=215929
Summary [ macOS iOS ] compositing/video/poster.html is a flaky failure
Hector Lopez
Reported 2020-08-28 08:58:39 PDT
compositing/video/poster.html Test is a flaky failure according to history on macOS and iOS. First occurrence of failure on macOS is at r250985. There was no failures on macOS between r255329 and r261664 but there were a group of crashes and timeouts in this period which may be unrelated. First occurrence of failure on iOS is at r261698. Possible related cases: https://bugs.webkit.org/show_bug.cgi?id=206678 https://bugs.webkit.org/show_bug.cgi?id=206916 History: https://results.webkit.org/?suite=layout-tests&test=compositing%2Fvideo%2Fposter.html&platform=mac&platform=ios&limit=50000 Diff: https://build.webkit.org/results/Apple%20iOS%2013%20Simulator%20Release%20WK2%20(Tests)/r266275%20(6433)/compositing/video/poster-diffs.html or see attachments
Attachments
Expected image (56.07 KB, image/png)
2020-08-28 09:00 PDT, Hector Lopez
no flags
Actual image (164.23 KB, image/png)
2020-08-28 09:01 PDT, Hector Lopez
no flags
Diff image (64.71 KB, image/png)
2020-08-28 09:01 PDT, Hector Lopez
no flags
Radar WebKit Bug Importer
Comment 1 2020-08-28 08:59:02 PDT
Hector Lopez
Comment 2 2020-08-28 09:00:56 PDT
Created attachment 407472 [details] Expected image
Hector Lopez
Comment 3 2020-08-28 09:01:35 PDT
Created attachment 407473 [details] Actual image
Hector Lopez
Comment 4 2020-08-28 09:01:55 PDT
Created attachment 407474 [details] Diff image
Hector Lopez
Comment 5 2020-08-28 09:10:15 PDT
Test expectation while investigated: https://trac.webkit.org/changeset/266279/webkit Test expectation for macOS and iOS wk1 already in place.
Ahmad Saleem
Comment 6 2023-12-31 22:44:29 PST
If I understand the images correctly, it seems that we fail to load 'poster' and we have different aspect ratio. So it has two issue: 1) Flaky 2) Wrong aspect ratio. I stumbled across because I was looking into one of Blink commit: https://chromium.googlesource.com/chromium/blink/+/4553a07a51b9a38011642f5ccd194c1c059f20e6 In which following was modified: (WebKit function) https://searchfox.org/wubkat/rev/af9971e796398c1d012ef5df9a09ed580d19bd17/Source/WebCore/rendering/RenderImage.cpp#425 bool RenderImage::shouldDisplayBrokenImageIcon() const { return imageResource().errorOccurred(); } to bool RenderImage::shouldDisplayBrokenImageIcon() const { return imageResource().errorOccurred() && !isVideo(); } and then it will leads to: https://searchfox.org/wubkat/rev/af9971e796398c1d012ef5df9a09ed580d19bd17/Source/WebCore/rendering/RenderImage.cpp#889 to maintain aspect ratio. Just documenting here.
Note You need to log in before you can comment on or make changes to this bug.