gecko-dev/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 Bug 1792229 - Make Origin-Trial COEP:Credentialless works on process selection r=emilio,necko-reviewers,valentin 2022-10-17 15:20:51 +00:00
BodyExtractor.cpp
BodyExtractor.h Bug 1768189 - Part 10: Apply modernize-concat-nested-namespaces to dom/events/PaintRequest.h ... r=andi 2022-05-09 20:41:07 +00:00
ChannelInfo.cpp Bug 1790451 - make nsIChannel.securityInfo concrete as nsITransportSecurityInfo r=kershaw,necko-reviewers,valentin,geckoview-reviewers,owlish 2022-09-20 03:58:49 +00:00
ChannelInfo.h Bug 1789494 - use the concrete type nsITransportSecurityInfo instead of IPCChannelInfo r=mccr8 2022-09-09 22:14:18 +00:00
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 Bug 1765777 - Resolve FetchEvent.preloadResponse when the response is available not the response end. r=dom-worker-reviewers,jesup. 2022-05-11 19:40:47 +00:00
FetchLog.h Bug 1753025 - Adding debugging log for FetchSerivce/FetchInstance. r=dom-worker-reviewers,jesup 2022-02-09 07:14:25 +00:00
FetchObserver.cpp Bug 1751453 - Part 1: Remove AbortFollower::Unlink() r=smaug 2022-01-24 13:18:33 +00:00
FetchObserver.h Bug 1768189 - Part 10: Apply modernize-concat-nested-namespaces to dom/events/PaintRequest.h ... r=andi 2022-05-09 20:41:07 +00:00
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 Bug 1351231 - FetchService integration for PFetch. r=dom-worker-reviewers,jesup 2023-01-20 09:09:17 +00:00
FetchStreamUtils.h Bug 1351231 - FetchService integration for PFetch. r=dom-worker-reviewers,jesup 2023-01-20 09:09:17 +00:00
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 Bug 1790311 - update handling of request headers in Fetch/XHR. r=necko-reviewers,valentin 2022-10-24 09:17:22 +00:00
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 Bug 1351231 - Support conversation between InternalRequest and IPCInternalRequest. r=dom-worker-reviewers,jesup 2023-01-20 09:09:17 +00:00
InternalResponse.cpp Bug 1351231 - FetchService integration for PFetch. r=dom-worker-reviewers,jesup 2023-01-20 09:09:17 +00:00
InternalResponse.h Bug 1351231 - FetchService integration for PFetch. r=dom-worker-reviewers,jesup 2023-01-20 09:09:17 +00:00
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 Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
Response.cpp Bug 1815431 - Remove BlobBodyStreamHolder r=smaug 2023-02-09 07:01:10 +00:00
Response.h Bug 1750543 - Don't abort by signal if consuming request body by DOM methods r=smaug 2022-01-21 11:18:17 +00:00
moz.build Bug 1351231 - PFetch protocol declaration and implementation. r=dom-worker-reviewers,jesup 2023-01-20 09:09:17 +00:00