| Summary: | Canvas memory limit of 4096 × 4096 pixels when calling ctx.getImageData | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Bramus <bramus> |
| Component: | Canvas | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | daniel, dino, ik, kevin_neal, lwarlow, mmaxfield, sabouhallawa, simon.fraser, thorton, vepomoc, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | macOS 11 | ||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=230887 https://bugs.webkit.org/show_bug.cgi?id=144335 |
||
|
Description
Bramus
2021-09-27 13:21:35 PDT
I read in https://bugs.webkit.org/show_bug.cgi?id=229237 that the “2D memory limit” test got marked as expected to Crash, so I guess that that explains why this went undetected? Update: Creating a canvas of 16384 x 16384 on macOS and drawing on it still works. It's only when calling `ctx.getImageData` that Safari fails to cooperate. Thank you for filing. The appropriate engineers have been notified. static const float MaxClampedLength = 4096; static const float MaxClampedArea = MaxClampedLength * MaxClampedLength; Might have been caused by https://bugs.webkit.org/show_bug.cgi?id=144335? Or by the GPU Process? |