Bug 169622
| Summary: | Upcoming changes to CanvasContext2D getImageData() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Fernando Serboncini <fserb> |
| Component: | Canvas | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | annevk, dino, graouts, jonlee, sabouhallawa, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | FromImplementor, InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Fernando Serboncini
This is a heads up that we are considering changing the spec of getImageData() to improve interoperability.
The gist of it is we are changing the IDL signature of the function from double to long, removing edge cases (dimensions in (0,1) range) and adding web platform tests.
This is the relevant issue: https://github.com/whatwg/html/issues/2433
I'll update this with the spec and web-platform change when appropriate.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/31080906>
Fernando Serboncini
Just FYI, the spec and web-platform changes are in:
https://github.com/whatwg/html/commit/362c9315971af63dbba49ef171644312c721444f
https://github.com/w3c/web-platform-tests/commit/28c13b6ab36f44faf4612d017666ab95aca5dc1b
Anne van Kesteren
This change was made at some point.