You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for an issue that matches the one I want to file, without success.
Issue Details
Electron Version:
9.3.2
Operating System:
macOS 10.15.7
Last Known Working Electron version:
Unknown
Expected Behavior
An ImageBitmap object can be sent over ipc, since it supports structured clone, and all objects supporting structured clone can be sent over ipc as per electron docs.
Actual Behavior
Sending an ImageBitmap over ipc results in error "An object could not be cloned".
The main process doesn't have DOM support—it's closer to a vanilla Node.js environment, which doesn't have ImageBitmap. So unfortunately we can't support sending those DOM objects to the main process as the main process has no way to manipulate them.
Preflight Checklist
Issue Details
Expected Behavior
An
ImageBitmap
object can be sent over ipc, since it supports structured clone, and all objects supporting structured clone can be sent over ipc as per electron docs.Actual Behavior
Sending an
ImageBitmap
over ipc results in error "An object could not be cloned".To Reproduce
https://gist.github.com/25479aa8f0b21401d19ae4642557bfe3
Screenshots
Additional Information
The text was updated successfully, but these errors were encountered: