putImageData: Invalid width or height
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
People
(Reporter: jakobgebler, Unassigned)
Details
Steps to reproduce:
I ran some wasm rust code with wasm bindings. The code should manipulate the canvas with the CanvasRendercontext2d with puImageData.
The Issue was already tracked on the wasm-binding github repo but it looks like a bug in firefox since 2021.
https://github.com/rustwasm/wasm-bindgen/issues/2439
Actual results:
Memory error with the wasm memory buffer.
ctx.puImageData results in:
Uncaught (in promise) DOMException: CanvasRenderingContext2D.putImageData: Invalid width or height.
The error is already well reproduced in the linked Github repo.
Expected results:
Same as in Chrome. It should work.
Comment 1•11 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics: Canvas2D' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•11 months ago
|
||
I don't think this is a Firefox issue, see https://github.com/rustwasm/wasm-bindgen/issues/2439#issuecomment-808237585.
Please attach a minimal reproducible example to this bug if you think otherwise.
Updated•10 months ago
|
Comment 3•5 months ago
|
||
A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Given that the bug is still UNCONFIRMED
, closing the bug as incomplete.
For more information, please visit BugBot documentation.
Description
•