Split aData into smaller chunks to avoid going over the IPC message size limit (1335989).

This commit is contained in:
Fedor 2021-07-30 17:05:04 +03:00 committed by roytam1
commit e84c7ab0c3
6 changed files with 32 additions and 4 deletions

View file

@ -213,7 +213,7 @@ WyciwygChannelParent::RecvAsyncOpen(const URIParams& aOriginal,
}
bool
WyciwygChannelParent::RecvWriteToCacheEntry(const nsString& data)
WyciwygChannelParent::RecvWriteToCacheEntry(const nsDependentSubstring& data)
{
if (!mReceivedAppData) {
printf_stderr("WyciwygChannelParent::RecvWriteToCacheEntry: FATAL ERROR: didn't receive app data\n");