gecko-dev/dom/file/ipc
Matt Woodrow ce8ef982e6 Bug 1593560 - Make sure IPCBlobInputStream::ReadSegments is always supported, regardless of which inner async stream type gets created. r=baku
When ReadSegments is called before the stream is ready, we return NS_BASE_STREAM_WOULD_BLOCK, not NS_ERROR_NOT_IMPLEMENTED.
If callers use AsyncWait for the IPCBlobInputStream to be ready, and then call ReadSegments again we can end up returning NS_ERROR_NOT_IMPLEMENTED, depending on what the inner type is.

Differential Revision: https://phabricator.services.mozilla.com/D51781

--HG--
extra : moz-landing-system : lando
2019-11-07 19:02:21 +00:00
..
tests
BlobTypes.ipdlh
FileCreatorChild.cpp Bug 1585284 - Force global in Blob CTOR, r=smaug 2019-10-21 05:33:19 +00:00
FileCreatorChild.h
FileCreatorParent.cpp
FileCreatorParent.h
IPCBlob.ipdlh
IPCBlobInputStream.cpp Bug 1593560 - Make sure IPCBlobInputStream::ReadSegments is always supported, regardless of which inner async stream type gets created. r=baku 2019-11-07 19:02:21 +00:00
IPCBlobInputStream.h
IPCBlobInputStreamChild.cpp
IPCBlobInputStreamChild.h Bug 1570369 - Part 11: Use IPDL refcounted for PIPCBlobInputStream, r=baku 2019-08-08 16:46:46 +00:00
IPCBlobInputStreamParent.cpp
IPCBlobInputStreamParent.h Bug 1570369 - Part 11: Use IPDL refcounted for PIPCBlobInputStream, r=baku 2019-08-08 16:46:46 +00:00
IPCBlobInputStreamStorage.cpp
IPCBlobInputStreamStorage.h
IPCBlobInputStreamThread.cpp Bug 1570369 - Part 11: Use IPDL refcounted for PIPCBlobInputStream, r=baku 2019-08-08 16:46:46 +00:00
IPCBlobInputStreamThread.h
IPCBlobUtils.cpp Bug 1570369 - Part 11: Use IPDL refcounted for PIPCBlobInputStream, r=baku 2019-08-08 16:46:46 +00:00
IPCBlobUtils.h
PFileCreator.ipdl
PIPCBlobInputStream.ipdl Bug 1570369 - Part 11: Use IPDL refcounted for PIPCBlobInputStream, r=baku 2019-08-08 16:46:46 +00:00
PPendingIPCBlob.ipdl
PTemporaryIPCBlob.ipdl
PendingIPCBlobChild.cpp
PendingIPCBlobChild.h
PendingIPCBlobParent.cpp
PendingIPCBlobParent.h
TemporaryIPCBlobChild.cpp
TemporaryIPCBlobChild.h
TemporaryIPCBlobParent.cpp
TemporaryIPCBlobParent.h
moz.build Bug 1499041 - Remove libFuzzer flags from ipc/chromium/. r=froydnj 2019-07-24 14:13:30 +00:00
mozIIPCBlobInputStream.idl