Bug 249630

Summary: OffscreenCanvas should use the same buffer size checks as HTMLCanvasElement
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: CanvasAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.