Is a flaky image failure on iOS (both iOS 14 and iOS 15). The test failure is mainly seen on Release, but it also seen on Debug.
Result page: https://build.webkit.org/results/Apple-iOS-14-Simulator-Release-WK2-Tests/r283111%20(3394)/results.html
Created attachment 439394 [details]
Marked test expectations: https://trac.webkit.org/changeset/283133/webkit
I was not able to reproduce the image failure locally on iOS 14 simulator using run-webkit-tests --force --ios-simulator --iterations 100 --exit-after-n-failures 1 fast/images/image-subsampling.html.
(The revision I tested was r281967. The failure has been seen for a while according to the history, so I should be able to reproduce with that revision if it was reproducible.)
Actual image is missing the red square.
This seems almost impossible. Why would these work
ctx.fillStyle = "green"
ctx.fillStyle = "blue"
and ctx.fillStyle = "red" right before them not work?