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
@issacgerges hm.. i'm not sure how that change could result in an error in 6.x since it was introduced in Chrome 66?
I think the right way to handle this would be to add something like ipcRenderer.sendBuffer('channel', args, buf) that uses the mojo_base.mojom.BigBuffer data type under the hood, rather than trying to make send support arbitrarily large data. @issacgerges I'd be happy to help you out getting a PR up for that :)
Preflight Checklist
Issue Details
7.0.0-nightly.20190611
MacOS 10.14.5
v5.0.3
Expected Behavior
With the merge of https://chromium.googlesource.com/chromium/src/+/4c5bd80e, legacy
ipc
internally uses BigBuffer and should support large messages.Actual Behavior
Electron crashes when
ipc.send
is called with a large arg (~134mb)To Reproduce
The following can be opened in electron-fiddle to reproduce the issue
https://gist.github.com/issacgerges/370a76335fd699930c43bde5cbeb41b7
The text was updated successfully, but these errors were encountered: