gecko-dev/dom/fetch
Andrea Marchesini 223d7172bf Bug 1486698 - Update Fetch+Stream implementation to throw when the stream is disturbed or locked, r=bz
In this patch, I went through any place in DOM fetch code, where there are
ReadableStreams and update the locked, disturbed, readable checks.

Because we expose streams more often, we need an extra care in the use of
ErrorResult objects. JS streams can now throw exceptions and we need to handle
them.

This patch also fixes a bug in FileStreamReader::CloseAndRelease() which could
be called in case mReader creation fails.
2018-10-31 18:30:18 +01:00
..
tests Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop 2018-10-24 19:11:17 +00:00
BodyExtractor.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
BodyExtractor.h
ChannelInfo.cpp
ChannelInfo.h
ChannelInfo.ipdlh
Fetch.cpp Bug 1486698 - Update Fetch+Stream implementation to throw when the stream is disturbed or locked, r=bz 2018-10-31 18:30:18 +01:00
Fetch.h Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff 2018-10-11 14:18:43 -05:00
FetchConsumer.cpp Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff 2018-10-11 14:18:43 -05:00
FetchConsumer.h Bug 1491504 - shortcut blob responses from XHR and fetch when the URL is a blob URL; r=baku 2018-10-06 17:34:24 +00:00
FetchDriver.cpp Bug 1501354 - Fetch() should not block the loadgroup from completing, r=bz 2018-10-27 08:55:20 +02:00
FetchDriver.h Bug 1498510 - Move nsICSPEventListener out of CSP object, r=ckerschb 2018-10-23 08:17:13 +02:00
FetchIPCTypes.h
FetchObserver.cpp Bug 1488427 - AbortSignal::Unfollow() must be called when unlinked, r=smaug 2018-09-07 11:05:47 +02:00
FetchObserver.h Bug 1478101 - Split AbortSignal in 2 classes: AbortSignal and AbortSignalImpl, r=bz 2018-08-26 14:16:21 +02:00
FetchStream.cpp Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff 2018-10-11 14:18:43 -05:00
FetchStream.h Bug 1445587 - Port Fetch to WorkerRef - part 2 - FetchStream, r=smaug 2018-03-16 16:52:29 +01:00
FetchStreamReader.cpp Bug 1486698 - Update Fetch+Stream implementation to throw when the stream is disturbed or locked, r=bz 2018-10-31 18:30:18 +01:00
FetchStreamReader.h Bug 1445587 - Port Fetch to WorkerRef - part 3 - FetchStreamReader, r=smaug 2018-03-16 16:52:29 +01:00
FetchTypes.ipdlh
FetchUtil.cpp Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff 2018-10-11 14:18:43 -05:00
FetchUtil.h
Headers.cpp Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
Headers.h
InternalHeaders.cpp
InternalHeaders.h
InternalRequest.cpp Bug 1453795 - DOM - Initialize member fields in classes/ structures. r=peterv 2018-06-16 17:21:46 +03:00
InternalRequest.h Bug 1491504 - shortcut blob responses from XHR and fetch when the URL is a blob URL; r=baku 2018-10-06 17:34:24 +00:00
InternalResponse.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
InternalResponse.h Bug 1491504 - shortcut blob responses from XHR and fetch when the URL is a blob URL; r=baku 2018-10-06 17:34:24 +00:00
moz.build Bug 1482752 - Have Fetch bodies use File blobs for local files instead of regular blobs. r=baku 2018-09-11 19:13:15 +00:00
Request.cpp Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff 2018-10-11 14:18:43 -05:00
Request.h Bug 1491504 - shortcut blob responses from XHR and fetch when the URL is a blob URL; r=baku 2018-10-06 17:34:24 +00:00
Response.cpp Bug 1486698 - Update Fetch+Stream implementation to throw when the stream is disturbed or locked, r=bz 2018-10-31 18:30:18 +01:00
Response.h Bug 1491504 - shortcut blob responses from XHR and fetch when the URL is a blob URL; r=baku 2018-10-06 17:34:24 +00:00