Why can’t this object be cloned?
The Electron WebView supports a executeJavascript()
method which supposedly executes the provided snippet within the render process of the guest content. However, the example provided below fails with the generic error message Error invoking remote method 'GUEST_VIEW_MANAGER_CALL': Error: An object could not be cloned.
and for the life of me, can’t work out what I’m doing wrong.