зеркало из https://github.com/mozilla/gecko-dev.git
b1a4d4c79f
If we hit an OOM or similar when creating a SourceBuffer for an image, we will hit COMPLETE immediately as the next read that goes to the SourceBuffer from a SourceBufferIterator. If the iterator has yet to do a read, that means it will hit COMPLETE right away without giving anything. This patch fixes the WebP decoder to handle this case, as well as adds test cases for all of the current image decoders. Differential Revision: https://phabricator.services.mozilla.com/D77131 |
||
---|---|---|
.. | ||
icon | ||
EXIF.cpp | ||
EXIF.h | ||
GIF2.h | ||
iccjpeg.c | ||
iccjpeg.h | ||
moz.build | ||
nsAVIFDecoder.cpp | ||
nsAVIFDecoder.h | ||
nsBMPDecoder.cpp | ||
nsBMPDecoder.h | ||
nsGIFDecoder2.cpp | ||
nsGIFDecoder2.h | ||
nsICODecoder.cpp | ||
nsICODecoder.h | ||
nsIconDecoder.cpp | ||
nsIconDecoder.h | ||
nsJPEGDecoder.cpp | ||
nsJPEGDecoder.h | ||
nsPNGDecoder.cpp | ||
nsPNGDecoder.h | ||
nsWebPDecoder.cpp | ||
nsWebPDecoder.h |