Bug 249630
| Summary: | OffscreenCanvas should use the same buffer size checks as HTMLCanvasElement | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Woodrow <mattwoodrow> |
| Component: | Canvas | Assignee: | 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
<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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Matt Woodrow
Pull request: https://github.com/WebKit/WebKit/pull/7895
EWS
Committed 258237@main (d21c61e18c6f): <https://commits.webkit.org/258237@main>
Reviewed commits have been landed. Closing PR #7895 and removing active labels.