Bug 248067

Summary: REGRESSION (256320@main?): imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage.html and createImageBitmap-flipY.html are flaky failures
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: NEW ---    
Severity: Normal CC: jean-yves.avenard, jer.noble, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=235681

Description Ryan Haddad 2022-11-17 16:30:04 PST
imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage.html and imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/createImageBitmap-flipY.html have become frequent failures at or just before 256320@main

--- /Volumes/Data/worker/Apple-Monterey-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage-expected.txt
+++ /Volumes/Data/worker/Apple-Monterey-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/createImageBitmap-drawImage-actual.txt
@@ -9,11 +9,11 @@
 PASS createImageBitmap from an HTMLVideoElement scaled up, and drawImage on the created ImageBitmap
 PASS createImageBitmap from an HTMLVideoElement resized, and drawImage on the created ImageBitmap
 PASS createImageBitmap from an HTMLVideoElement with negative sw/sh, and drawImage on the created ImageBitmap
-PASS createImageBitmap from an HTMLVideoElement from a data URL, and drawImage on the created ImageBitmap
-PASS createImageBitmap from an HTMLVideoElement from a data URL scaled down, and drawImage on the created ImageBitmap
-PASS createImageBitmap from an HTMLVideoElement from a data URL scaled up, and drawImage on the created ImageBitmap
-PASS createImageBitmap from an HTMLVideoElement from a data URL resized, and drawImage on the created ImageBitmap
-PASS createImageBitmap from an HTMLVideoElement from a data URL with negative sw/sh, and drawImage on the created ImageBitmap
+FAIL createImageBitmap from an HTMLVideoElement from a data URL, and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 5) expected 247 +/- 3 but got 0
+FAIL createImageBitmap from an HTMLVideoElement from a data URL scaled down, and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (2.5, 2.5) expected 247 +/- 3 but got 0
+FAIL createImageBitmap from an HTMLVideoElement from a data URL scaled up, and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (10, 10) expected 247 +/- 3 but got 0
+FAIL createImageBitmap from an HTMLVideoElement from a data URL resized, and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (2.5, 10) expected 247 +/- 3 but got 0
+FAIL createImageBitmap from an HTMLVideoElement from a data URL with negative sw/sh, and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 5) expected 247 +/- 3 but got 0
 PASS createImageBitmap from a bitmap HTMLImageElement, and drawImage on the created ImageBitmap
 PASS createImageBitmap from a bitmap HTMLImageElement scaled down, and drawImage on the created ImageBitmap
 PASS createImageBitmap from a bitmap HTMLImageElement scaled up, and drawImage on the created ImageBitmap

--- /Volumes/Data/worker/Apple-Monterey-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/createImageBitmap-flipY-expected.txt
+++ /Volumes/Data/worker/Apple-Monterey-Release-WK2-Tests/build/layout-test-results/imported/w3c/web-platform-tests/html/canvas/element/manual/imagebitmap/createImageBitmap-flipY-actual.txt
@@ -3,8 +3,8 @@
 PASS createImageBitmap from an HTMLCanvasElement imageOrientation: "flipY", and drawImage on the created ImageBitmap
 PASS createImageBitmap from an HTMLVideoElement imageOrientation: "none", and drawImage on the created ImageBitmap
 PASS createImageBitmap from an HTMLVideoElement imageOrientation: "flipY", and drawImage on the created ImageBitmap
-PASS createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "none", and drawImage on the created ImageBitmap
-PASS createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "flipY", and drawImage on the created ImageBitmap
+FAIL createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "none", and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 5) expected 247 +/- 3 but got 0
+FAIL createImageBitmap from an HTMLVideoElement from a data URL imageOrientation: "flipY", and drawImage on the created ImageBitmap assert_approx_equals: Red channel of the pixel at (5, 5) expected 28 +/- 3 but got 0
 PASS createImageBitmap from a bitmap HTMLImageElement imageOrientation: "none", and drawImage on the created ImageBitmap
 PASS createImageBitmap from a bitmap HTMLImageElement imageOrientation: "flipY", and drawImage on the created ImageBitmap
 PASS createImageBitmap from a vector HTMLImageElement imageOrientation: "none", and drawImage on the created ImageBitmap


https://results.webkit.org/?suite=layout-tests&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcanvas%2Felement%2Fmanual%2Fimagebitmap%2FcreateImageBitmap-drawImage.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcanvas%2Felement%2Fmanual%2Fimagebitmap%2FcreateImageBitmap-flipY.html
Comment 1 Radar WebKit Bug Importer 2022-11-17 16:30:17 PST
<rdar://problem/102491634>
Comment 2 EWS 2022-11-17 16:41:30 PST
Test gardening commit 256811@main (5d88cc97ead9): <https://commits.webkit.org/256811@main>

Reviewed commits have been landed. Closing PR #6616 and removing active labels.
Comment 3 Jean-Yves Avenard [:jya] 2023-08-24 21:06:29 PDT
WK1-only failure
Comment 4 Sam Sneddon [:gsnedders] 2024-03-05 10:08:55 PST
(In reply to Jean-Yves Avenard [:jya] from comment #3)
> WK1-only failure

If this is WK1-only, can we garden this so that the flaky expectation is only applied to WK1?