Open
Description
Hey,
When sending a message to the plugin from the WebView using window.postMessage a Promise is returned (as documented). It works great when the event handler on the plugin side finishes as expected, but when an error is thrown on the plugin side the postMessage received error seems to be an empty object.
I tried passing browserWindow.webContents.on with event handlers that are both synchronous and asynchronous functions and both behave that way.
Is that the actual behavior or am I missing something? If it is, it would be great to get the full error information on the WebView side.
Thanks,
Barak
Metadata
Metadata
Assignees
Labels
No labels