gecko-dev/dom/file
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
..
ipc 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
tests Bug 1585119 - Re-enable many more mochitests on Android; r=geckoview-reviewers,snorp 2019-10-18 14:35:20 +00:00
uri Backed out 2 changesets (bug 1558915) for causing bustages. CLOSED TREE 2019-08-02 12:17:42 +03:00
BaseBlobImpl.cpp
BaseBlobImpl.h
Blob.cpp Bug 1585284 - Use BlobImpl in MutableBlobStorage instead of Blob, r=smaug 2019-10-21 05:33:33 +00:00
Blob.h Bug 1585284 - Use BlobImpl in MutableBlobStorage instead of Blob, r=smaug 2019-10-21 05:33:33 +00:00
BlobImpl.cpp
BlobImpl.h
BlobSet.cpp
BlobSet.h
EmptyBlobImpl.cpp
EmptyBlobImpl.h
File.cpp Bug 1585284 - Use nsIGlobalObject in any Blob/File CTOR, r=smaug 2019-10-21 05:33:33 +00:00
File.h Bug 1585284 - Use nsIGlobalObject in any Blob/File CTOR, r=smaug 2019-10-21 05:33:33 +00:00
FileBlobImpl.cpp
FileBlobImpl.h
FileCreatorHelper.cpp
FileCreatorHelper.h
FileList.cpp
FileList.h
FileReader.cpp Bug 1590022 - Use union return value for FileReader.result, r=smaug 2019-10-22 11:53:18 +00:00
FileReader.h Bug 1590022 - Use union return value for FileReader.result, r=smaug 2019-10-22 11:53:18 +00:00
FileReaderSync.cpp Bug 1578173 part 6. Remove remaining uses of [Constructor] from bindings. r=edgar 2019-09-12 11:01:17 +00:00
FileReaderSync.h Bug 1578173 part 6. Remove remaining uses of [Constructor] from bindings. r=edgar 2019-09-12 11:01:17 +00:00
MemoryBlobImpl.cpp
MemoryBlobImpl.h
MultipartBlobImpl.cpp Bug 1578341 - MultipartBlobImpl must exclude empty Blobs when creating the inputStream, r=smaug 2019-09-05 15:20:44 +00:00
MultipartBlobImpl.h
MutableBlobStorage.cpp Bug 1585284 - Use BlobImpl in MutableBlobStorage instead of Blob, r=smaug 2019-10-21 05:33:33 +00:00
MutableBlobStorage.h Bug 1585284 - Use BlobImpl in MutableBlobStorage instead of Blob, r=smaug 2019-10-21 05:33:33 +00:00
MutableBlobStreamListener.cpp Bug 1585284 - Use BlobImpl in MutableBlobStorage instead of Blob, r=smaug 2019-10-21 05:33:33 +00:00
MutableBlobStreamListener.h Bug 1585284 - Use BlobImpl in MutableBlobStorage instead of Blob, r=smaug 2019-10-21 05:33:33 +00:00
StreamBlobImpl.cpp
StreamBlobImpl.h
StringBlobImpl.cpp
StringBlobImpl.h
TemporaryFileBlobImpl.cpp
TemporaryFileBlobImpl.h
moz.build Bug 1585284 - Use BlobImpl in MutableBlobStorage instead of Blob, r=smaug 2019-10-21 05:33:33 +00:00