mirror of
https://github.com/servo/servo
synced 2026-05-10 09:02:30 +02:00
<!-- Please describe your changes on the following line: --> Fix ImageData constructor to take a Uint8ClampedArray instead of js_object --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #31320 <!-- Either: --> - [x] These changes do not require tests because there is not behavior change. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> --------- Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>