Open diracdeltas opened 7 years ago
not sure I understand. ipcRenderer.send works, but not webContents.send? That seems very odd because the same converters will apply in both directions. Where are you trying to send from?
@bridiver no, ipcMain.send (ex: in browser-laptop app/index.js) doesn't work with Uint8Arrays
ipcMain.send doesn't go anywhere. What are you trying to send to?
my bad, i meant evt.sender.send in an ipcMain.on handler. see https://github.com/brave/browser-laptop/blob/feature/syncing/app/sync.js#L38 for instance; if you change any of the sent params to a Uint8Array, the send doesn't seem to happen.
if the message contains a Uint8Array, it never gets sent for some reason. sending Uint8Arrays from webview to browser-laptop works fine though.