WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
202455
w3c/web-platform-tests/2dcontext/drawing-images-to-the-canvas/2d.drawImage.broken.html fails on Mac and iOS
https://bugs.webkit.org/show_bug.cgi?id=202455
Summary
w3c/web-platform-tests/2dcontext/drawing-images-to-the-canvas/2d.drawImage.br...
Chris Lord
Reported
2019-10-02 05:53:26 PDT
This test fails on both MacOS and iOS with: FAIL Canvas test: 2d.drawImage.broken assert_approx_equals: Green channel of the pixel at (50, 25) expected 255 +/- 2 but got 0
Attachments
Add attachment
proposed patch, testcase, etc.
Karl Dubost
Comment 1
2023-01-12 23:42:27 PST
The test should throw, but it doesn't currently. Firefox returns Uncaught DOMException: CanvasRenderingContext2D.drawImage: Passed-in image is "broken" while Safari is completely silent and seems to just go with it. Probably something to explore around
https://searchfox.org/wubkat/rev/12fc92585a259a29b2522e7e902492be45a57b6a/Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp#1468-1492
Karl Dubost
Comment 2
2023-01-12 23:46:04 PST
In addition to
https://wpt.fyi/results/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.broken.html
Probably this failure is very similar and could be fixed at the same time.
https://wpt.fyi/results/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.nonexistent.html
Radar WebKit Bug Importer
Comment 3
2024-02-08 15:14:53 PST
<
rdar://problem/122586368
>
Karl Dubost
Comment 4
2024-05-22 22:48:37 PDT
This now PASS.
https://wpt.fyi/results/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.broken.html?label=experimental&label=master&aligned
But this one needs to be fixed. Probably in a separate bug.
https://wpt.fyi/results/html/canvas/element/drawing-images-to-the-canvas/2d.drawImage.nonexistent.html
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug