RESOLVED FIXED 249630
OffscreenCanvas should use the same buffer size checks as HTMLCanvasElement
https://bugs.webkit.org/show_bug.cgi?id=249630
Summary OffscreenCanvas should use the same buffer size checks as HTMLCanvasElement
Matt Woodrow
Reported 2022-12-19 19:36:39 PST
<rdar://103177223> HTMLCanvasElement has a lot of checks to determine if the specified size is within an acceptable range, whereas OffscreenCanvas will just allocate giant buffers if requested. We should share the logic in CanvasBase so that we have consistent behaviour.
Attachments
Matt Woodrow
Comment 1 2022-12-19 19:39:24 PST
EWS
Comment 2 2022-12-22 01:00:31 PST
Committed 258237@main (d21c61e18c6f): <https://commits.webkit.org/258237@main> Reviewed commits have been landed. Closing PR #7895 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.