gecko-dev/dom/fetch
Andrew Sutherland 8244fa6b69 Bug 1416879 - Part 5: FetchStreamReader needs to cancel its reader when it encounters write errors. r=baku, f=bkelly
Currently, FetchStreamReader never signals to the JS stream code that
the reader has been closed.  This means that when a ServiceWorker
passes a ReadableStream to respondWith and the HTTP Channel gets
canceled, the JS code will keep generating the stream without ever
realizing the data's not going anywhere.  It's necessary to cancel
the reader.  Or do something like that, this seems to work!

--HG--
extra : rebase_source : 88952a917c48b9fa7e421f640b7fb57b15cf7d4d
extra : source : 994dc643a2ab62f03fef780a58971b476a4b6f4a
2018-01-04 18:09:32 -05:00
..
BodyExtractor.cpp Bug 1396300 - Use fallible allocation in GetAsStream. r=bkelly 2017-09-08 11:59:46 +08:00
BodyExtractor.h Bug 1128959 - Implement the WHATWG Streams spec - part 7 - Response.body, r=bkelly 2017-08-10 18:04:55 -07:00
ChannelInfo.cpp
ChannelInfo.h
ChannelInfo.ipdlh
Fetch.cpp Bug 1418074 - Introducing a WorkerHolder to release AbortSignal on the correct thread, r=bkelly 2017-12-22 10:06:47 +01:00
Fetch.h Bug 1390717 - FetchStream should not have an extra JS::Heap<ReadableStream>, r=jonco 2017-08-31 16:29:02 +02:00
FetchConsumer.cpp Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 3 - NS_NewInputStreamPump, r=smaug 2017-11-22 11:18:57 +01:00
FetchConsumer.h Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 3 - NS_NewInputStreamPump, r=smaug 2017-11-22 11:18:57 +01:00
FetchDriver.cpp Bug 1416879 - Part 4: FetchDriver needs to propagate write failures. r=baku 2018-01-04 18:04:55 -05:00
FetchDriver.h Bug 1350359 - Part 2: Fetch and save alterntative data to InternalResponse. r=bkelly 2017-12-04 14:39:15 +08:00
FetchIPCTypes.h
FetchObserver.cpp Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 18 - FetchObserver API enabled, r=asuth 2018-01-08 14:05:05 +01:00
FetchObserver.h Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 18 - FetchObserver API enabled, r=asuth 2018-01-08 14:05:05 +01:00
FetchStream.cpp Bug 1405290 - Improve logging of workers when shutting down - part 3 - WorkerHolder with names, r=asuth 2017-11-15 07:58:38 +01:00
FetchStream.h Bug 1390717 - FetchStream should not have an extra JS::Heap<ReadableStream>, r=jonco 2017-08-31 16:29:02 +02:00
FetchStreamReader.cpp Bug 1416879 - Part 5: FetchStreamReader needs to cancel its reader when it encounters write errors. r=baku, f=bkelly 2018-01-04 18:09:32 -05:00
FetchStreamReader.h Bug 1416879 - Part 5: FetchStreamReader needs to cancel its reader when it encounters write errors. r=baku, f=bkelly 2018-01-04 18:09:32 -05:00
FetchTypes.ipdlh Bug 1416842 - Allow fetch to reject with nsresult in chrome code. r=bkelly 2017-11-15 14:53:42 -05:00
FetchUtil.cpp Bug 1405290 - Improve logging of workers when shutting down - part 3 - WorkerHolder with names, r=asuth 2017-11-15 07:58:38 +01:00
FetchUtil.h Bug 1412125, part 1 - Manually add mode lines and MPL to files that were missing them entirely. r=qdot 2017-10-26 14:54:59 -07:00
Headers.cpp
Headers.h
InternalHeaders.cpp Bug 1396848 - Iterating a Header object returns sorted and combined values, r=qdot 2017-09-17 11:18:20 +02:00
InternalHeaders.h Bug 1396848 - Iterating a Header object returns sorted and combined values, r=qdot 2017-09-17 11:18:20 +02:00
InternalRequest.cpp Bug 1350359 - Part 1: Set alternative data type from InterceptedChannel to InternalRequest. r=bkelly 2017-12-04 14:39:10 +08:00
InternalRequest.h Bug 1350359 - Part 1: Set alternative data type from InterceptedChannel to InternalRequest. r=bkelly 2017-12-04 14:39:10 +08:00
InternalResponse.cpp Bug 1416842 - Allow fetch to reject with nsresult in chrome code. r=bkelly 2017-11-15 14:53:42 -05:00
InternalResponse.h Bug 1350359 - Part 6: Make sure releasing nsICacheInfoChannel of InternalResponse on the main thread. r=bkelly 2017-12-06 01:13:54 +08:00
Request.cpp Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 14 - Request Context enabled, r=asuth 2018-01-08 14:05:05 +01:00
Request.h Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 14 - Request Context enabled, r=asuth 2018-01-08 14:05:05 +01:00
Response.cpp Bug 1416842 - Allow fetch to reject with nsresult in chrome code. r=bkelly 2017-11-15 14:53:42 -05:00
Response.h Bug 1397627 - Fetch API and other components should pass the length of the stream to necko when known, r=smaug 2017-09-08 16:06:26 +02:00
moz.build Bug 1378342 - AbortSignal/AbortController - part 1 - Moving FetchController/FetchSignal into dom/abort, r=bkelly 2017-08-29 11:31:05 +02:00