RESOLVED FIXED 251130
OffscreenCanvas::transferToImageBitmap doesn't restrict enforce size restrictions
https://bugs.webkit.org/show_bug.cgi?id=251130
Summary OffscreenCanvas::transferToImageBitmap doesn't restrict enforce size restrict...
Matt Woodrow
Reported 2023-01-24 20:27:58 PST
We share code with HTMLCanvasElement via CanvasBase for allocating the backing store, with max size restrictions. transferToImageBitmap can sometimes allocate a new buffer (if there isn't one already), and it currently isn't using the same code, so doesn't have the same restrictions.
Attachments
Matt Woodrow
Comment 1 2023-01-24 20:28:18 PST
Matt Woodrow
Comment 2 2023-01-24 20:30:34 PST
EWS
Comment 3 2023-02-08 14:16:04 PST
Committed 260035@main (e4c57c810933): <https://commits.webkit.org/260035@main> Reviewed commits have been landed. Closing PR #9088 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.