fune/dom/fetch
Kagami Sascha Rosylight 0c592932f1 Bug 1823429 - Don't try another read from ChunkSteps r=smaug
Having another read request on an empty chunk sounds nice, but I guess it's not worth allowing recursion for this edge case.

Now the next read request will happen asynchronously by the next OnOutputStreamReady callback, which is similar to what Blink does and the spec recommends.

* Blink: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/fetch/readable_stream_bytes_consumer.cc;l=179-186;drc=059796845b1738dbf28ea76f0e9ff4b6f8787d3a (queues a microtask to prevent recursion)
* Spec: https://streams.spec.whatwg.org/#readablestreamdefaultreader-read-all-bytes (See the note below "chunk steps")

Differential Revision: https://phabricator.services.mozilla.com/D173813
2023-04-04 13:35:01 +00:00
..
tests
BodyExtractor.cpp
BodyExtractor.h
ChannelInfo.cpp
ChannelInfo.h
Fetch.cpp Bug 1815431 - Remove BlobBodyStreamHolder r=smaug 2023-02-09 07:01:10 +00:00
Fetch.h Bug 1815431 - Remove BlobBodyStreamHolder r=smaug 2023-02-09 07:01:10 +00:00
FetchChild.cpp Bug 1810816 - P3 Report response timing for PFetch. r=dom-worker-reviewers,asuth 2023-02-23 02:52:54 +00:00
FetchChild.h Bug 1810816 - P3 Report response timing for PFetch. r=dom-worker-reviewers,asuth 2023-02-23 02:52:54 +00:00
FetchDriver.cpp Bug 1823502 - do not drop auth header for HSTS and internal redirects. r=necko-reviewers,valentin 2023-03-28 00:56:23 +00:00
FetchDriver.h Bug 1810816 - P2 Add new interface OnReportPerformanceTiming on FetchDriverObserver. r=dom-worker-reviewers,asuth 2023-02-23 02:52:54 +00:00
FetchIPCTypes.h
FetchLog.h
FetchObserver.cpp
FetchObserver.h
FetchParent.cpp Bug 1819496 - Making FetchParent::mResponsePromises be only accessed on the main thread. r=asuth 2023-03-08 04:57:10 +00:00
FetchParent.h Bug 1810816 - P3 Report response timing for PFetch. r=dom-worker-reviewers,asuth 2023-02-23 02:52:54 +00:00
FetchService.cpp Bug 1810816 - P4 Report the preload response timing for ServiceWorker NavigationPreload. r=dom-worker-reviewers,asuth 2023-02-23 02:52:54 +00:00
FetchService.h Bug 1810816 - P4 Report the preload response timing for ServiceWorker NavigationPreload. r=dom-worker-reviewers,asuth 2023-02-23 02:52:54 +00:00
FetchStreamReader.cpp Bug 1823429 - Don't try another read from ChunkSteps r=smaug 2023-04-04 13:35:01 +00:00
FetchStreamReader.h Bug 1538754 - Consistently watch the nsIAsyncOutputStream for closure, r=asuth,saschanaz 2023-03-30 15:14:00 +00:00
FetchStreamUtils.cpp
FetchStreamUtils.h
FetchTypes.ipdlh Bug 1814686 - Part 1b: Add nullable annotations to refcounted types in ipdl, r=ipc-reviewers,mccr8 2023-03-20 15:40:37 +00:00
FetchUtil.cpp Bug 1823686 - Share URLExtraData between SVG attribute mapping and style attribute. r=smaug 2023-03-22 14:54:43 +00:00
FetchUtil.h
Headers.cpp
Headers.h Bug 1812511 - Implement Headers.prototype.getSetCookie. r=webidl,smaug,sunil 2023-02-13 10:35:59 +00:00
InternalHeaders.cpp Bug 1812511 - Implement Headers.prototype.getSetCookie. r=webidl,smaug,sunil 2023-02-13 10:35:59 +00:00
InternalHeaders.h Bug 1812511 - Implement Headers.prototype.getSetCookie. r=webidl,smaug,sunil 2023-02-13 10:35:59 +00:00
InternalRequest.cpp Bug 1816918 - pass ClientInfo via IPC while creating webtransport session. r=necko-reviewers,jesup 2023-03-31 03:54:20 +00:00
InternalRequest.h
InternalResponse.cpp
InternalResponse.h
moz.build
PFetch.ipdl Bug 1810816 - P3 Report response timing for PFetch. r=dom-worker-reviewers,asuth 2023-02-23 02:52:54 +00:00
Request.cpp Bug 1815431 - Remove BlobBodyStreamHolder r=smaug 2023-02-09 07:01:10 +00:00
Request.h
Response.cpp Bug 1815431 - Remove BlobBodyStreamHolder r=smaug 2023-02-09 07:01:10 +00:00
Response.h